From owner-freebsd-questions@FreeBSD.ORG Tue Apr 1 07:22:41 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 F35D337B401 for ; Tue, 1 Apr 2003 07:22:40 -0800 (PST) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7CC043F3F for ; Tue, 1 Apr 2003 07:22:39 -0800 (PST) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net.strauser.com (kirk@pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.8/8.12.7) with ESMTP id h31FMcPk004211 for ; Tue, 1 Apr 2003 09:22:38 -0600 (CST) (envelope-from kirk@strauser.com) To: freebsd-questions@freebsd.org From: Kirk Strauser Date: Tue, 01 Apr 2003 09:22:37 -0600 In-Reply-To: <200304010130.57161.rick@rptn.net> (Rick Fournier's message of "Tue, 1 Apr 2003 01:30:53 -0500") Message-ID: <87brzqxmwy.fsf@pooh.honeypot.net> Lines: 32 X-Mailer: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux) References: <87k7eeyc57.fsf@pooh.honeypot.net> <200304010130.57161.rick@rptn.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: Sendmail + Cyrus + Procmail(?) + SpamAssassin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 15:22:41 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable At 2003-04-01T06:30:53Z, Rick Fournier writes: > Well for the worth of it, I use Sendmail, Procmail, SpamAssassin and > IMAP-UW but with my setup the IMAP software used, is totaly irrelevant. Almost, but not quite. You have to call Cyrus' "deliver" program to actually deliver the mail; you can't just write it to the end of a particular file. > My setup is as follows: > > $ tail /usr/local/etc/procmailrc > DROPPRIVS=3Dyes > :0fw: /var/run/spamassassin.lock > * < 256000 > | /usr/local/bin/spamc That looks similar to what I tried to do, which the exception of calling "deliver" as the final step. I'm not sure why that didn't work - the mail just silently disappeared (wasn't in Cyrus' spools, wasn't in /var/mail/username) although /var/log/maillog didn't show any errors. > $ tail $HOME/.forward > "|IFS=3D' '&&exec /usr/local/bin/procmail -f-||exit 75 $USER" I may be showing my ignorance here, but what is "IFS"? Googling for "sendmail forward ifs" returned over 3000 hits, none of them actually explaining it. =2D-=20 Kirk Strauser In Googlis non est, ergo non est. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+ia6+5sRg+Y0CpvERAtnBAJ9Hj3jGcSUGCv9dYTwipChbH7oIGgCfd0qw eGDF08UrWp4v36Su/HA1fxI= =Qy3T -----END PGP SIGNATURE----- --=-=-=--