MailScanner + Zimbra...done :)

James Gray james at gray.net.au
Mon Feb 22 05:58:41 GMT 2010


On 21/02/2010, at 10:11 PM, --[ UxBoD ]-- wrote:

>> 
>> Hi Phil,
>> 
>> Basically just used zmprov to turn off all the virus/spam/attachment
>> scanning in zimbra.  Now amavis doesn't even start :)  Next was just
>> install MailScanner and Julian's clamav/spamassassin installer as I've
>> had problems with the Zimbra-ised versions of these during upgrades of
>> Zimbra.
> 
> Personally I would leave AV on within Zimbra; rationale is that if a users machine does become infected then they could spread it via email.

I still virus check outbound mail via MailScanner so same result, just different implementation.  I just didn't want to run amavis AND MailScanner...seems like a waste of RAM.

>> I still use all the zimbra LDAP/Postfix/IMAP/POP3 fru-fru, but I
>> haven't found an elegant way yet to pick up the mail users identify as
>> ham/spam.  All I've done is told them to forward it to ham/spam at .... 
>> Plug in a quick-and-dirty shell script that uses fetchmail and
>> sa-learn, add it to a cron job and voila.  Fit for purpose, but damn
>> ugly.
> 
> Simplest way is to migrate the SA bayes into a database.  You can then create a custom .cf under /opt/zimbra/conf/spamassassin that uses the database.  Adopting this approach allows the AS break out from Zimbra into MailScanner while still allowing your users to train Spam/Ham. This all provides a double whammy due to if you introduce additional mailstores and MTA in the future, using Zimbra, they can all share a common bayes.

Yep - did that :)  Exported the Zimbra bayes/awl then once it was set up in the new SA on SQL, did a simple import.  The result:
... dbg: bayes: corpus size: nspam = 4607, nham = 22069

Quiet server for home, so not a massive volume, but it is a test bed for some of the systems I maintain ;)  Always nice when I can write off tax on test systems I use myself.

Cheers,

James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3826 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20100222/997ca60f/smime.bin


More information about the MailScanner mailing list