MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/
DEFAULT = $MAILDIR/there-are-problems.mbx :)
Hmm... I didn't get that joke. If I don't set "DEFAULT" then all emails
that doesnt get filtered by a rule seem to disapear.
This is my new .procmailrc - what do you think? :)
SHELL=/bin/sh
MAILDIR=$HOME/Maildir
DEFAULT=$MAILDIR/
:0
* ^From: (_dot_)*thelist-list-bounces(_at_)list(_dot_)com
.thelist/
I get this error message (is it possible to avoid?):
procmail: Couldn't create "/var/spool/mail/myuser"
See procmail -v
"procmail -v" tells me "Your system mailbox: /var/spool/mail/myuser".
But my environment $MAIL is set to "/home/myuser/Maildir". Shouldn't
that be enough?
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.
I've checked the man-page for -m but am still a bit confused. You mean
it is possible to keep the same filename if I use "-m" with apropriate
parameters?
If not maybe there is a way to have procmail just tell what it was about
to do without doing anything, e.g. "Filter to Maildir/.thelist/". Then I
could just run procmail from within a script and move the mail to that
folder that procmail tells me it would have. Then the filename och
date+time would be preserved.
Btw, I saw that it seem not neccesary to do "cat themail | formail -ds
procmail". It seem to be enough to do (as myuser) "cat themail | procmail".
Best regards,
Jan
____________________________________________________________
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