From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 22:30:03 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6427137B401 for ; Mon, 31 Mar 2003 22:30:03 -0800 (PST) Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4107043F93 for ; Mon, 31 Mar 2003 22:30:02 -0800 (PST) (envelope-from flynn@energyhq.homeip.net) Received: from christine.energyhq.tk (christine.energyhq.tk [192.168.100.1]) by energyhq.homeip.net (Postfix) with SMTP id 883112AC27; Tue, 1 Apr 2003 08:30:11 +0200 (CEST) Date: Tue, 1 Apr 2003 08:30:42 +0200 From: Miguel Mendez To: Kirk Strauser Message-Id: <20030401083042.35dceb2f.flynn@energyhq.homeip.net> In-Reply-To: <87k7eeyc57.fsf@pooh.honeypot.net> References: <87k7eeyc57.fsf@pooh.honeypot.net> X-Mailer: Sylpheed version 0.8.11claws (GTK+ 1.2.10; i386--netbsdelf) X-Face: 1j}k*2E>Y\+C~E|/wehi[:dCM,{N7/uE3o# P,{t7gA/qnovFDDuyQV.1hdT7&#d)q"xY33}{_GS>kk'S{O]nE$A`T|\4&p\&mQyexOLb8}FO List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 06:30:03 -0000 --=.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 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--