On Sunday, July 31, 2005 2:46 PM
<jonathangf(_at_)gmail(_dot_)com> wrote:
watch for email with subject [SPAM?] in the inbox (maildir format). If
found check for the existence of a SPAM folder. If exists then move
the checked email to that folder. If the folder don't exist create it
and then move the email there.
Something like this Procmail recipe will work. If the folder doesn't exist,
it will be created automatically. My REGEX isn't too good, but suck it and
see.
:0
* ^Subject:.*\[SPAM\?\]
spam
Steve :)
____________________________________________________________
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