Nathan Martinez wrote:
I have tried this method, but for some reason it is still delivering the
mail to the user even though the sending email address is in the BLACKLIST
file. Below is a snippet from my procmail log file. Can anyone offer some
suggestions? Thanks a lot.
Yes. The posted recipe sets BOUNCE_NOUSER_EXITCODE but does not
deliver the mail message -- hence processing continues to eventually
(implicitly or explicitly) deliver the message to $DEFAULT.
You need a recipe something like this (UNTESTED) near the bottom of
your .procmailrc:
:0
* BOUNCE_NOUSER_EXITCODE ?? 1
{
# EX_NOUSER is my favorite
EXITCODE=67
# The stout-hearted may prefer to send this to /dev/null
:0
spam/.
}
hth
--
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information. Sorry.
Collin Park Not a statement of my employer.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail