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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th June 2013, 17:09
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 201
Thanks: 68
Thanked 13 Times in 11 Posts
Default Are spamfilter policies applied to sending emails?

Hello,

today our client sent 5000 mails and mailqueue was full about 4 hours. It leads to delay in delivering and receiving mails for every other clients. It seems the most slow part of sending process is amavis.

Is possible to avoid use of amavis when I set spamfilter policy (for example non-paying) with Bypass virus checks set to "Yes"?

Are spamfilter policy applied to sending emails too?

Is there some other settings which can speed up sending of emails when I want keep spamfilter active?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 17th June 2013, 18:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,460
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Quote:
Are spamfilter policy applied to sending emails too?
Policys are applied to the recipient domains or email addresses which are defined in the Spamfilter > user / domain list. The irection of the mail does not matter for amavis. The problem that you get now is that you would have to add the recipient domains in this list for outgoing emails if you want to apply a policy on them which is not a really usable solution.

I guess the following options might work better:

- Do the settings to disable some amavis functions in the global amavis configuration file so they get applied to all emails except the ones you set policys for in ispconfig. So spam filtering will work as usual for the domains and addresses you configured in ispconfig but will be disabled for all non configured domains, so this will get applied to outgoing emails.

- As alternative you can configure an additional port in postfix which skips spam filtering with amavis. If you configure your newsletter software to use thsi port then, emails will not go trough amavisd. If I remember correctly, there are some instructions for such setups in the amavisd-new readme files on their homepage.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th June 2013, 21:00
SupuS SupuS is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 201
Thanks: 68
Thanked 13 Times in 11 Posts
Default

Hello Till,

this solution is probably what I need:

Quote:
Originally Posted by till View Post
Do the settings to disable some amavis functions in the global amavis configuration file so they get applied to all emails except the ones you set policys for in ispconfig. So spam filtering will work as usual for the domains and addresses you configured in ispconfig but will be disabled for all non configured domains, so this will get applied to outgoing emails.
but I am not too familiar with amavis settings .. can you specify settings to disable amavis functions please? Do you mean something like you described here?

Thank you
Reply With Quote
  #4  
Old 18th June 2013, 09:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,460
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
 
Default

Yes, this should disable the antivirus checks in amavis for all domains were no policy exists for. Additionally you might want to add this line:

@bypass_spam_checks_maps = (1);

right below the @bypass_virus_checks_maps line.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Tried to compile a kernel but: bryzf Kernel Questions 0 19th January 2013 23:48
Apache2 FCGID locking up the box? crypted General 6 12th April 2011 16:16
Stange mail problem The-Ghost Installation/Configuration 6 25th April 2010 19:59
Fedora 12 - Strage problem - Freezes K_meleonu Installation/Configuration 6 3rd March 2010 18:42
Apche hangs ever few minutes after an update rslinks Server Operation 2 12th December 2009 18:57


All times are GMT +2. The time now is 12:29.


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