I'm stuck thus far on my /etc/procmailrc file. I've managed the following thus far:
Code:
# learn spam
:0
* ^To:.*spam@jrbowman
* < 256000
{
:0c: spamassassin.spamlock
| sa-learn --spam
}
# learn ham
:0
* ^To:.*ham@jrbowman
* < 256000
{
:0c: spamassassin.hamlock
| sa-learn --ham
}
# pipe through spamassassin
:0 fw
* < 256000
| /usr/bin/spamc -f
I'm looking to redirect any spam that spamc flags into a folder entiteld "Spam" located in the recipients home mail directory. Is it possible to do this from the /etc/procmailrc global scope? If so, any advice? In addition, per my config, are the spam/ham@mydomain messages gone after they are piped through sa-learn due to the brackets?
In addition, very shortly (after resolving this issue), I will be implementing clamvirus scanner into procmail and I will want to redirect any virii that clamd flags into a folder entitled "Virii" located in the recipients home mail directory? Is this also possible?
Thanks!