OT: Procmail Recipe Help - Pleeeeease.....

Joe Marcus Clarke marcus at marcuscom.com
Wed Oct 15 13:48:50 PDT 2003


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 use
> Postfix with Maildir, my /usr/local/etc/procmailrc file contains:
> 
> DEFAULT="$HOME/Maildir/"
> 
> so that messages that don't match any rule get delivered to the normal
> "inbox".
> 
> But for one person, I want to have all his mail scanned by SpamAssassin and
> then forwarded to a non-local email address.  Here is his ~/.procmailrc
> file:
> 
> # Forward all mail to SpamAssassin
> :0 fw
> | /usr/local/bin/spamc
> 
> :0 fw
> ! user at otherdomain.com
> 
> The forwarding works but then procmail goes on to deliver a blank email in
> $HOME/Maildir/new.
> 
> 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
> 
> 
> 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".
> 
> What am I missing?
> 
> Thanks,
> 
> Drew
> 
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20031015/777b1323/attachment.bin


More information about the freebsd-gnome mailing list