procmail
[Top] [All Lists]

Re: How to filter aldready delivered email

2004-12-08 09:03:47
Toen wij Jan Banan kietelden, kwam er dit uit:

SHELL=/bin/sh
PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin

There normally is no good reason to set PATH in your .procmailrc.


MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/

DEFAULT = $MAILDIR/there-are-problems.mbx  :)


 :0
 * ^Sender: (_dot_)*thelist-list-bounces(_at_)list(_dot_)com
 $MAILDIR/.thelist/

Since 'MAILDIR=foldername' sets the PWD, there is no good reason 
to use '$MAILDIR/foldername/', just use 'foldername/'.


I get this error message (is it possible to avoid?):
procmail: Couldn't create "/var/spool/mail/myuser"

See procmail -v


1. the new filename is "1102514170.7652_2.mymailhost" and I would
prefer to keep the same old filename if possible

See man procmail, the -m option.

-- 
Grtz, Ruud

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail