Link to home
Create AccountLog in
Avatar of Mark
Mark

asked on

need help getting spamassassin working

Are there any spamassassin experts out there? I've just installed spamassassin 3.3.2 on my slackware 13.37.0 Linux host (kernel 2.6.36.6). That was quite a chore since apparently a lot of bits and pieces are missing for the Slackware distro. I installed spamassassin 3.1.5 back in 2006 and it was a breeze. Not so 3.3.2! Special thanks to roberto puzzanghera for his detailed howto on installing for slackware: http://notes.sagredo.eu/node/37

Anyway, I now appear to have spamassassin running. a 'ps ax' shows:

 3823 ?        S      0:00 spamd child
 3824 ?        S      0:00 spamd child

but I don't think it is actually checking email spam. I do plan on reading *ALL* the howto documentation on this, but I need some quick tips on getting the big chunks dealt with ASAP in order to stem a current flood of spam in the office.

We have a linux host that has recently (today) been promoted to a mail server for the office SBS 2008 domain. The office firewall/router send all email to this linux host (i.e. forwards port 25) which, in turn, has the domain Exchange Server configured as a smart host and the Exchage server also configured in /etc/mail/access.db as a relay. This all works fine: mail comes from the internet, arrives at the Linux mail server and is passed onto the Exchange Server.

Now, I'd like spamassassin to check the mail destined for the Exchange server and do its thing marking the spam. I thought there was something more I had to do with sendmail or spamassassin to make it check the mail, but what? Please advise.

the Linux host is running sendmail 8.14.4.
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Take a look of the following, if that doesn't resolve your issue. Post your conf file SA.

http://www.castellan.net/spamfilter.asp
Avatar of Mark
Mark

ASKER

Mazdajai - thanks for the response. I've checked out your link. I'm installing on a Slackware distro, not Redhat, but I don't think that matters. I've already got mail flowing to the Exchange Server (on SBS 2008 host) and I have spamassassin installed and running as a daemon. That takes me all the way down to his "Steps for a Typical Install" section, more than half-way down the page. Starting in this section section he references various scripts and packages that appear to do the job of setting things up. Of particular interest is the package system-switch-mail, which might be where the setup for the mail filter is described/implemented. Unfortunately, unless I'm just missing it, I cannot find anyway on this page to actually view or download any of these scripts or packages.

I've done a bit of googling and it appears that I have to configure a "milter" to interact with sendmail. That's probably what the package(s) in this link reference set up.

Creating a milter looks a bit daunting. Does anyone have or know of a pre-built milter for sendmail and spamassassin?
SOLUTION
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of Mark

ASKER

I ultimately found the solution I needed