Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st July 2014, 11:46
richelieu richelieu is offline
Junior Member
 
Join Date: Jul 2014
Posts: 6
Thanks: 0
Thanked 5 Times in 4 Posts
Default Ispconfig - Relay recipients SPAM tagging

Hello,

I have following scenario with ISPConfig platform:
1. ispconfig server is responsible for several domains (email ends on this server)
2. ispconfig acts as a gateway for other domains and email should be cleaned up and relied to target email server

In case 1 amavis together with spamassassin tags SPAM email messages and add X tag within email´s header

In case 2 amavis just process antivirus check (X tag in email´s header) but not spam test and no SPAM tag and SPAM score is processed

Can you help me how to do it?

Thank you
marek
Reply With Quote
The Following User Says Thank You to richelieu For This Useful Post:
Williamsl (12th July 2014)
Sponsored Links
  #2  
Old 1st July 2014, 12:09
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,774
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Add the addresses or email domains that you want to scan under spamfilter users in ispconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Williamsl (8th July 2014)
  #3  
Old 1st July 2014, 13:59
richelieu richelieu is offline
Junior Member
 
Join Date: Jul 2014
Posts: 6
Thanks: 0
Thanked 5 Times in 4 Posts
Default Correct way

Hi,
thank you for answer.

I have put there a string @domain.com and set LOCAL to NO

Is it correct?

marek
Reply With Quote
  #4  
Old 1st July 2014, 14:07
richelieu richelieu is offline
Junior Member
 
Join Date: Jul 2014
Posts: 6
Thanks: 0
Thanked 5 Times in 4 Posts
Default Update

Hi again,

I set amavis to more logging details and see that clamd and spamassassin are handling message now.

What is problem that the subject of the email is not filled by my configured sequence from "normal" policy settings

AND X tag is not put into email header even spamassassin's result is

Jul 1 13:55:54 mail amavis[7298]: (07298-10) spam_scan: score=6.084 autolearn=no tests=[BAYES_50=0.8,HTML_FONT_LOW_CONTRAST=0.001,HTML_FON T_SIZE_LARGE=0.001,HTML_MESSAGE=0.001,MIME_HTML_ON LY=0.723,RAZOR2_CF_RANGE_51_100=0.5,RAZOR2_CF_RANG E_E8_51_100=1.886,RAZOR2_CHECK=0.922,URIBL_JP_SURB L=1.25] recips=0
Jul 1 13:55:54 mail amavis[7298]: (07298-10) bounce unverifiable, <mailer@domain_a.org> -> <recipient@domain_b.org>
Jul 1 13:55:54 mail amavis[7298]: (07298-10) do_notify_and_quar: ccat=Spammy (5,0) ("5":Spammy, "1,1":CleanTag, "1":Clean, "0":CatchAll) ccat_block=(), qar_mth=


Do you know why?

thanks so much
marek
Reply With Quote
The Following User Says Thank You to richelieu For This Useful Post:
robertoshulze2257 (6th July 2014)
  #5  
Old 1st July 2014, 14:09
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,774
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Locaal has to be yes. Local no means no spam tagging.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 1st July 2014, 14:44
richelieu richelieu is offline
Junior Member
 
Join Date: Jul 2014
Posts: 6
Thanks: 0
Thanked 5 Times in 4 Posts
Default X tag

Hi there,
thank you for your reply.

I have tested the behaviour and now it is working.

There is only one difference:
- when the domain is local one, the X-Spam-Flag is set to YES
- when the domain is remote (relied emails), the X-Spam-Flag is set to NO

Why is this difference in place?

thank you
marek
Reply With Quote
The Following User Says Thank You to richelieu For This Useful Post:
Williamsl (8th July 2014)
  #7  
Old 1st July 2014, 16:44
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,774
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Remote (local = no) means outgoing email. outgoing email is never tagged as this might influence the receiver. so all emails that you want to filter must have set local = yes.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 1st July 2014, 17:34
richelieu richelieu is offline
Junior Member
 
Join Date: Jul 2014
Posts: 6
Thanks: 0
Thanked 5 Times in 4 Posts
Default Uff

Hi,

so I am confused now...

How to tag as a spam message what doesn´t stored locally? I mean - set the X-Spam-Flag to YES even it is remote domain?

Thank you,
marek
Reply With Quote
The Following 2 Users Say Thank You to richelieu For This Useful Post:
robertoshulze2257 (6th July 2014), Williamsl (8th July 2014)
  #9  
Old 1st July 2014, 17:40
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,774
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Quote:
I mean - set the X-Spam-Flag to YES even it is remote domain?
Yes, thats what I explained already twice above. A domain for incoming email is always local, if you forward, store or delete that email afterwards does not matter for spam scanning.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 3rd July 2014, 21:34
richelieu richelieu is offline
Junior Member
 
Join Date: Jul 2014
Posts: 6
Thanks: 0
Thanked 5 Times in 4 Posts
 
Default Great

Hi there,

it is working well and header is tagged with X description (even not set as YES).

I have additional question how to do antivirus and spamcheck for users who are authenticated over submission port.

Thanks in advance

marek
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 18:10
about 150 mysql connection topedge Installation/Configuration 3 24th January 2014 09:14
ISPConfig Spam before relaying to other mailserver ferryvdijk General 1 26th September 2012 10:01
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 18:17
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47


All times are GMT +2. The time now is 10:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.