How to I can pack every incoming mail to separate file ?
# Here all mail is saved to mymailsavedir
:0
mymailsavedir
# Or if you want to copy all messages to mymailsavedir and than continue
# filtering on incomming messages.
:0 c
mymailsavedir
# NOTE:
# If the directory mymailsavedir does not exist, than
# a file with the name mymailsavedir is created and all
# of your messages will be appended.
# Or if you just want to save the last 25 messages.
:0 c
| cd mymailsavedir && rm -f NOTHING `ls -1t msg.*
| tail +25`
# Or if you just want to pack messages larger than 1mb to a separate file.
:0 :
* > 1000000
gzip -9 >> mymailsavedir
# Or if you just want to save messages that have no text in the body.
# So that you can later check the headers on who that guy is who is
# bombing your ass.
# you...
:0 B
* ! ...
gzip -9 >> mymailsavedir
# Or you could send them directly to /dev/null
:0 B
* ! ...
/dev/null
--
#------------------------------------------------#
# (:- -:) | J.Reynders #
# /Debian\ | hans(_dot_)reynders(_at_)icu(_dot_)nl
#
# GNU GNU | winnetou90(_at_)hotmail(_dot_)com #
#------------------------------------------------#
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail