Innovators in Mail server, Webmail and appliance solutions

 

January 1, 2009

 Disable SpamAssassin filtering for some users or d

Should you want to disable SpamAssassin for some domains or users, just do the following:- open up your /usr/local/atmail/mailserver/configure
- find the following lines:

domains = ${lookup mysql {MYSQL_CHECKSPAM}{$value}}

- replace this with:

domains = lsearch;/usr/local/atmail/mailserver/domains

- create a file /usr/local/atmail/mailserver/domains, and put your desired domains to enable SpamAssassin with, in the following format:

domain1.com
domain2.com

- restart Exim:

% /etc/init.d/atmailserver restart

This will then limit the SpamAssassin filtering to the users in the domains listed.


Filed under: Anti-Virus — info @ 12:00 am

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment