Hi all, Can someone point me to a guide for how to set up postfix using spamassassin? I have postfix running (default suse) but never got around to setting up spamassassin. Do I need to use procmail with this setup? So far I have postfix running, accessing it with kmail and squirrelmail thru uw-imap. I'm running suse 8.2 with KDE 3.2.3 Many thanks, -- Jim Flanagan linuxjim@jjfiii.com
On Tue, 2005-03-15 at 10:16, Jim Flanagan wrote:
Hi all,
Can someone point me to a guide for how to set up postfix using spamassassin? I have postfix running (default suse) but never got around to setting up spamassassin. Do I need to use procmail with this setup? So far I have postfix running, accessing it with kmail and squirrelmail thru uw-imap. I'm running suse 8.2 with KDE 3.2.3
It has been a couple of years but I believe there are docs under /usr/share/docs/packages for spamassassin with instructions for installing into postfix. If not there either on the spamassassin site or the postfix site. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
Quoting Jim Flanagan <linuxjim@jjfiii.com>:
Hi all,
Can someone point me to a guide for how to set up postfix using spamassassin? I have postfix running (default suse) but never got around to setting up spamassassin. Do I need to use procmail with this setup? So far I have postfix running, accessing it with kmail and squirrelmail thru uw-imap. I'm running suse 8.2 with KDE 3.2.3
Many thanks,
If you also want to run a virus-scanner (or maybe even if you don't) look into amavis-new. It is glue logic between Postfix (and other MTAs) and virus-scanners, Spam Assassin, etc. Amavis-new calls Spam Assassin directly as a library, so Perl startup costs are only paid once instead of every e-mail. You can use Maildrop as well as Procmail. Maildrop's configuration file is much more readable, IMHO. AFAIK, you can run Spam Assassin from the .forward file if you don't need a fancy MDA like Procmail or Maildrop. HTH, Jeffrey
On Tue, Mar 15, 2005 at 09:16:20AM -0600, Jim Flanagan wrote:
Hi all,
Can someone point me to a guide for how to set up postfix using spamassassin? I have postfix running (default suse) but never got around to setting up spamassassin. Do I need to use procmail with this setup? So far I have postfix running, accessing it with kmail and squirrelmail thru uw-imap. I'm running suse 8.2 with KDE 3.2.3
I use SpamAssassin, as follows: anthony@catfish:~> cat .forward | /usr/local/bin/maildrop anthony@catfish:~> cat .mailfilter DEFAULT="Mail/inbox" logfile ".maildroplog" `reformail -D 8192 .duplicate.cache` if ( $RETURNCODE == 0 ) exit if ($SIZE < 100000) xfilter "spamc" if (/^X-Spam-Flag: YES/) to Mail/junk [...] Maildrop is not provided as part of recent SuSE versions, however: http://www.courier-mta.org/maildrop/ Download, then the usual ./configure, make, su to root then run checkinstall which will create an RPM which can then be installed in the usual way (rpm -i). Maildrop's configuration syntax is simple and straightforward. RPMs for SpamAssassin 3.0.2 (the latest version) are available from: http://ftp.suse.com/pub/people/choeger/spamassassin/i386/ I haven't used these (I installed SpamAssassin using CPAN) but presume that they work. Once installed, configure spamd (daemonised SpamAssassin) to start at boot time in runlevels 3 & 5 using the YaST Runlevel Editor if you want to run SpamAssassin by calling spamc in the .mailfilter configuration example shown above. -- Anthony Edwards anthony.edwards@uk.easynet.net
participants (4)
-
Anthony Edwards
-
Jeffrey L. Taylor
-
Jim Flanagan
-
Ken Schneider