Date: Wed, 15 Oct 2003 16:48:46 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Drew Tomlinson <drew@mykitchentable.net> Cc: FreeBSD Gnome <freebsd-gnome@freebsd.org> Subject: Re: OT: Procmail Recipe Help - Pleeeeease..... Message-ID: <1066250926.721.69.camel@gyros> In-Reply-To: <010701c3935c$ae9d13f0$6e2a6ba5@l035522> References: <010701c3935c$ae9d13f0$6e2a6ba5@l035522>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-2DgxoeFxIfN1mu3x4dun Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Indeed off-topic. Have you tried questions@ with this? Joe On Wed, 2003-10-15 at 16:40, Drew Tomlinson wrote: > I'm trying to use procmail to feed incoming mail to SpamAssassin and then > forward the email to another address for one of my accounts. Because I u= se > Postfix with Maildir, my /usr/local/etc/procmailrc file contains: >=20 > DEFAULT=3D"$HOME/Maildir/" >=20 > so that messages that don't match any rule get delivered to the normal > "inbox". >=20 > But for one person, I want to have all his mail scanned by SpamAssassin a= nd > then forwarded to a non-local email address. Here is his ~/.procmailrc > file: >=20 > # Forward all mail to SpamAssassin > :0 fw > | /usr/local/bin/spamc >=20 > :0 fw > ! user@otherdomain.com >=20 > The forwarding works but then procmail goes on to deliver a blank email i= n > $HOME/Maildir/new. >=20 > blacklamb# ll Maildir/new > total 0 > -rw------- 1 user user 0 Oct 15 11:30 > 1066242632.35780_0.blacklamb.mykitchentable.net > -rw------- 1 user user 0 Oct 15 11:33 > 1066242826.35812_0.blacklamb.mykitchentable.net >=20 >=20 > I assume this is because of the "DEFAULT" setting in the site-wide > procmailrc. However, it is my understanding that since all mail matches = the > second rule, mail processing should stop at that point and nothing should= be > delivered to "DEFAULT". >=20 > What am I missing? >=20 > Thanks, >=20 > Drew >=20 > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-2DgxoeFxIfN1mu3x4dun Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/jbKub2iPiv4Uz4cRAqvRAKCmsXQhPlzGMrRZ0ui1Gcx+JxCzTwCbBzJw krJvIjeqycuPQl0hnLMJXYI= =eYYm -----END PGP SIGNATURE----- --=-2DgxoeFxIfN1mu3x4dun--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1066250926.721.69.camel>