DELIVER="/usr/sbin/cyrdeliver -q -a spam "
I have a .procmailrc file for a domain with multiple addresses. One
(spam(_at_)spam(_dot_)spam) is only getting spam mails. So basiclly I'd like to
report the spam mail and move the mail into a folder and stop the procmailrc
file...
it's seems that formail doesn't get any input. Perhaps I'm just a lame procmail
novice...
:0 H
* ^Delivered-To: spam(_at_)spam(_dot_)spam
{
:0 fw
| spamassassin -r
:0
| formail -I "From " -s $DELIVER -m user.spam.spam
}
# how do I stop mail sent to spam(_at_)spam(_dot_)spam getting here?
:0 fw
| spamassassin -P
:0
* ^X-Spam-Status: Yes
| formail -I "From " -s $DELIVER -m user.spam.realspam
PSE-L(_at_)mail(_dot_)professional(_dot_)org wrote:
At 18:26 2002-05-03 +0200, spamreg(_at_)mail(_dot_)dk did say:
| formail -I "From " -s $DELIVER -m user.spam.spam
but the mail doesn't get delived with formail. Does anybody
know what's wrong?
What is $DELIVER set to? That's not a procmail variable,
and if you don't
tell us what you have it set to while also not telling us
what your VERBOSE
log says about this line, we're left to guessing for you.
Does the overall
recipe get invoked, just doesn't act the way you want it to?
What does
VERBOSE logging tell you?
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail