Mailarchiva and Zimbra... Plus Spam Filter Ok... I hate to open this thing up again, but I am having a problem that I just cannot solve!
I can get Zimbra 5.05 to work with MailArchiva no problem. But, the issue is, by adding in the smtpd_milters line into the main.cf file on the zimbra box, it sends the messages to MailArchiva before it gets processed for spam and viruses. Clearly thats a problem, since about 90% of the stuff we get is junk that I'd hate to archive.
So, my bright idea is to put in place a mail filter in front of the zimbra box, then relay the mail from that to zimbra. Then, when zimbra gets the mail, it will forward the mail to MailArchiva (having already been filtered by the new mail filter, not zimbra).
In theory this will work beautifully. In practice.... I am getting an error on my mail filter, which runs Postfix 2.5. The error is located in the /var/log/maillog file and reads:
warning: milter inet:ipaddressofzimbra:25: unexpected reply "m" in initial handshake
On the zimbra server, if I check the zimbra.log file, I see the following entries:
postfix/smtpd[25086]: connect from mailfilter.domain.com[192.168.1.3]
postfix/smtpd[25086]: lost connection after CONNECT from mailfilter.domain.com[192.168.1.3]
postfix/smtpd[25086]: disconnect from mailfilter.domain.com[192.168.1.3]
Again, if instead of inputting the ip address of zimbra, I put the ip address of mailarchiva, it works beautifully. So, I am curious if there is some restriction in zimbra's postfix that would stop me from sending the mail from my filter to the zimbra server.
Any ideas/thoughts/suggestions? |