Mailinglist Archive: opensuse (1702 mails)

< Previous Next >
Re: [opensuse] Where to find openSuSE/Spamassassin how-to
On Tue, 2009-09-08 at 22:16 +0200, Verner Kjærsgaard wrote:
I followed the former SPAMASSASSIN discussion with great interest.
- underfortunately, the thread wasn't exactly what I was looking for.

It really doesn't matter what distro you are on; if you are using
Postfix then that is what you are configuring.

- I've got one machine that receives mail for 15 users. I use postfix.
I'd like to setup SA on that machine so that it performs an (albeit)
very basic spam filtering using procmail/spamassassin.
As I understand, postfix recieves the mail quite as usual. It's
delivered to procmail which then - trough the use of certain rules -
decides what to do with it. For example, it may send it to SA.
Which then will mark spam with an altered header for filtering by the
individual users mailprogramme (kmail etc.).


Now, does SA send the mail back to procmail - or does SA deliver it to
the user?

My advice is to forget about procmail. You don't need it.

Install SPAMAssassin
Modify /etc/postfix/ adding SPAMAssassin
smtp inet n - n - - smtpd -o
spamassassin unix - n n - - pipe
user=nobody argv=/usr/bin/spamc -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}
--- possibly you may need to adjust paths slightly.
Start spamd, HUP postfix, and away you go.

My setup/macine is a rather plain vanilla openSuSE11.1.
I've looked - and read - a number of SA documents, but those I found
seemed to be outdated or delt with SA being setup by a single user?
Any hints and links?

Agree, most of the HOWTOs are rubbish.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups