HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   ISPConfig 3 Priority Support (http://www.howtoforge.com/forums/forumdisplay.php?f=35)
-   -   Are spamfilter policies applied to sending emails? (http://www.howtoforge.com/forums/showthread.php?t=62260)

SupuS 17th June 2013 17:09

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.

till 17th June 2013 18:01

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.

SupuS 17th June 2013 21:00

Hello Till,

this solution is probably what I need:

Quote:

Originally Posted by till (Post 298741)
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

till 18th June 2013 09:02

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.


All times are GMT +2. The time now is 09:31.

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