I keep backups of each message that comes in... if the message is to/cc
$ME then it goes to one folder, but if it isn't it goes to a maildir in
a TEMP folder
If for some reason the sub-folder within TEMP doesn't exist I want it to
try a file in TEMP and if that fails I'll save it at $HOME
Is this the proper recipe?
# If message is to me
:0c:
* $ ^(To|Cc):.*$ME
$HOME/mail/zbackup
# message is NOT to me
:0Ec:
$HOME/TEMP/zbackup.not2me/
# can't save in TEMP/zbackup.not2me, then
:0ec:
$HOME/TEMP/zbackup.not2me.failed
# worst case scenario:
# can't save in TEMP/, save to $HOME
:0ec:
$HOME/zbackup.not2me.failed
# carbon copy continues in .procmailrc
(note $DEFAULT is $HOME/.mail so if $HOME doesn't exist I'm entirely
screwed anyway)
TjL
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail