bts8(_at_)netcom(_dot_)com wrote,
| I have been using the EXITCODE = 67 and HOST to bounce unwanted messages
| from Cyberpromo. I've tested this with another account and it works
| fine. I have noticed two things that I'm wondering about:
| 2. Mailstat doesn't report these bounces since they don't end up in any
| folder (naturally). Is there an easy way to have procmail log something
| similar to "Cyberpromo bounce" so that when I run mailstat it shows how
| many total bounces were sent back?
Something like this might help, using the LOG variable to write to the
logfile:
:0
* conditions to identify Cyberpromo mail
{
LOG="Cyberpromo bounce
"
# Closing quotation mark should be alone and flush against left margin.
EXITCODE=67
HOST
}