Apache/2.2.17 (Linux/SUSE) |
Spamassassin & PostfixSometime mid- to late-2002, we converted from Sendmail to Postfix (what a relief) and then decided to have a look at SpamAssassin - not that we have a major spam problem, but it might just make life a bit easier. This is a brief description of how we installed SpamAssassin with Postfix - only published because it seems slightly different to the other few methods we've seen on the web. Postfix FILTER_READMEWhat I am about to describe is almost straight from Postfix' FILTER_README. This README suggests 2 fairly different methods for integrating various filters with Postfix. I found method no. 2 to be the most desirable, although it did cause a headache or two getting it to work. UpdateBy now, mid-october 2003, the setup described has been in operation for about a year, and it has been improved on more than once. I wrote an addendum a few months back, in which I changed the setup quite significantly, and as I have recently also been able simplify the setup by eliminating smtpclient, I thought it was a good time to consolidate the two articles into one. This is the updated article and/or howto. What people sayCommentsTo me, any comment on this article is incredibly encouraging. Even if you write to tell me it doesn't work, and that I'm full of s... (I might be tempted not to respond to the latter, but still). To you who have written already - your comments are much appreciated. What people sayI'm not one to blow my own trumpet - much better to leave that to others. Here are a few select comments I have received:
Postfix setupI won't go into all of our Postfix setup in detail. Suffice to say that our Postfix server serves a small company with a mixture of Windows and UNIX workstations and/or laptops. Volume-wise, we probably process 500-600 emails per day. And that traffic includes quite a few mailing-list subscriptions. Main objectivesIt will probably be easier to understand the setup if you first understand what our objectives were: Our Postfix installation does a few different things:
OverviewAll external mail, including mail polled by fetchmail, is delivered to external-mail:25 which resolves to the virtual address we assigned. The postfix smtp daemon listening at externalmail:25 applies the spamassassin content-filter to all mail. Internal mail is not spam-checked. ConfigurationContinue here to go over the actual configuration td#changed2 { font-size: 80%; font-style: italic; border-style: solid none none none; border-width: 1px; vertical-align: top; } table#changed1 { clear: both; width: 100%; } |
Stop spam&virus for good - www.spamchek.com (International), www.spamchek.co.uk (United Kingdom), www.spamchek.ch (Switzerland) and www.spamchek.dk (Denmark).