Toen wij Jan Banan kietelden, kwam er dit uit:
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.
I supposed from your earlier question that you wanted to handle
all messages. So if one would end up on $DEFAULT, you would
have missed one.
But of course you can set DEFAULT to the filename to which
you want to have the message delivered. Even directly from
* ^From: (_dot_)*thelist-list-bounces(_at_)list(_dot_)com
The dot before com can be any character, so
would also match.
But even when fixed, it would still match
"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?
I don't know.
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
No, and my suggestion of looking into -m is not really useful here,
You can also create a shell-script that loops file-by-file, calling
to filter your file from 101405463.M... to the same name in a different
directory, and then transfer date & time & any other attributes.
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 |
They are both useless uses of cat.
procmail ./special.rc < themail
procmail -a 'themail' ./special.rc < themail
procmail DEFAULT='../newer/themail' ./special.rc < themail
procmail mailing list Procmail homepage: http://www.procmail.org/