use spamcop and bounce with spamcop response help.

Scott Silva ssilva at
Mon Nov 27 18:25:26 GMT 2006

Chuck Rock spake the following on 11/27/2006 7:47 AM:
> Scott Silva <ssilva <at>> writes:
>> Chuck Rock spake the following on 11/26/2006 4:41 PM:
>>> I am bouncing messages with MailScanner that match the Spamcop list.
>>> I see in the latest version I'm using 4.56.8 you can modify message 
> headers 
>>> with actions.
>>> Is there a way to modify the message header to the spamcop address is 
> listed 
>>> with the proper IP like if you just used Sendmail to bounce it?
>>> This is what Spamcop tells you to di if you run Sendmail.
>>> FEATURE(`enhdnsbl', `', `"Spam blocked see: 
>>>"$&{client_addr}', `t')dnl 
>>> I was thinking of adding the message header in MailScanner similar to this.
>>> Spam Actions = bounce header "X-Spam-Status: 
>>> Yes : ''(flagged_IP)
>>> Is there a syntax in Mailscanner to provide that IP to that header line so 
> a 
>>> person could get to the spamcop site with their IP address information?
>>> Thanks,
>>> Chuck
>> If you want that "feature", and are dropping the message anyway, why not just
>> drop it at the MTA. You will save yourself the load, and get the desired
>> result. You really should never bounce messages after you receive them. If
>> they are dropped during the connection phase, you get the rejection to the
>> proper server, but if you have received it, then all you have is the possibly
>> forged sender address to rely on.
> So basically, if I can have MailScanner skip the spam lists check altogether 
> and just put the spamcop config in the proper sendmail config file for my 
> inbound sendmail process?
> Is there another benefit of having MailScanner check the rbl's instead of or 
> in addition to Sendmail?
> Thanks,
> Chuck
The only benefit I know of is if you want to store the bad stuff in
quarantine. The best in order are ;

If you have no problem dropping every message that hits spamcop, then dropping
at the MTA is the safest and least processor intensive. After that, you have
the message on your server, and bouncing it will make you many enemies, and
maybe get you listed on a blacklist yourself. I am using sbl-xbl and at the mta with no complaints. You should open up your
abuse and postmaster addresses, but spamassassin and mailscanner can catch a
lot of the garbage there.


MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

More information about the MailScanner mailing list