Thanks for you post Stephen.
I understand thant in order to fit 100% my case i will need to put a
.procmailrc file in the home of the user and then adpat your code to
show something like this, because i have maildir folders:
<snip from /var/vmail/domain/user>
:0
* ^Subject:.*\[SPAM\?\]
Maildir/.SPAM/new
</snip>
Is it correct?
TIA,
jonathan
Stephen Allen wrote:
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
____________________________________________________________
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