Date: Tue, 1 Apr 2003 08:30:42 +0200 From: Miguel Mendez <flynn@energyhq.homeip.net> To: Kirk Strauser <kirk@strauser.com> Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail + Cyrus + Procmail(?) + SpamAssassin Message-ID: <20030401083042.35dceb2f.flynn@energyhq.homeip.net> In-Reply-To: <87k7eeyc57.fsf@pooh.honeypot.net> References: <87k7eeyc57.fsf@pooh.honeypot.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=.y(L?ALxLLK.an9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 01 Apr 2003 00:17:40 -0600 Kirk Strauser <kirk@strauser.com> wrote: Howdy, > It's now well past my bed time, my brain is all muzzy, and I'm "this > close" to giving up on the whole project. Before I do, I have to ask: > has *anyone* made Sendmail+Cyrus+Procmail+SpamAssassin work? In order > of most undesirable to least: Almost, my setup is a bit different, but perhaps I can give you some ideas. My mailserver goes like this: postfix -> spamassassin -> deliver -> sieve Now, how does one accomplish this? postfix pipes mail through a shell script instead of feeding it directly to Cyrus' deliver. This shell script pipes mail through spamassassin, and then finally to deliver, which uses my .sieve to automagically bounce all Spam to trustic's database and move messages to the appropriate folders. What you could do is something like have sendmail pipe you email to a shell script that would pipe it to procmail, and finally to Cyrus' deliver. Note that you can't have procmail deliver the mail becuase Cyrus uses its own storage method (a Maildir lookalike combined with some BerkeleyDB stuff) If you want to have a look at the shell script I'm using, I got it from here: http://www.tml.hut.fi/~pnr/spam.html 2 remarks: Newer versions of SA don't support the -F0 and -P options, and , you'll have to modify it, since it was made for postfix, but I hope it will help as a starter. Also, if you have time, I'd recommend playing with sieve, it's quite powerful and yet easy to use tool to do server side mail filtering/sorting. HTH, -- Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk Tired of Spam? -> http://www.trustic.com --=.y(L?ALxLLK.an9 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (NetBSD) iD8DBQE+iTIWnLctrNyFFPERAnENAKDLS40ySSzeijopaVijrvQnpJjeJQCeKkE7 dcDBaWWrmSxLp79KCiTPeOI= =ek+W -----END PGP SIGNATURE----- --=.y(L?ALxLLK.an9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030401083042.35dceb2f.flynn>