[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[3]: [vps-mail] Dramatic increase of SPAM during last days



MC> At 4:01 PM -0700 5/26/04, Abigail Marshall said something about:
>>I have configured so that if email is blocked, the bounce
>>message is something like this:
>>
>>Refused, Sender on Spamhaus Combined Block List see:
>>http://www.abuse.net/sbl.phtml?IP="$&{client_addr} See
>>http://nospam.mydomain.com/

MC> Abigail,  how does one configure the message that goes back?  I know 
MC> how to do it using /etc/access, but not using sendmail.

MC> I understand i need to add

MC> FEATURE(`dnsbl', `bl.spamcop.net')dnl

MC> to my .mc file and rebuild the .cf file, but what else do i change in 
MC> that file to configure the reject message.

OK, Matt - I don't block using spamcop because I have had
way too many false positives with spamcop - so I can't tell
you how to set it up for that. I do use spamcop, but rather
than blocking mail I use it with Spamassassin.

Here is the specification for the two RBL's I use; of course
the lines should not wrap:

FEATURE(`dnsbl', `list.dsbl.org', `"Open relay blocked see:
http://dsbl.org/listing?ip="$&{client_addr} See
http://nospam.mydomain.com/')dnl

FEATURE(`dnsbl', `sbl-xbl.spamhaus.org', `"Refused, Sender
on Spamhaus Combined Block List see:
http://www.abuse.net/sbl.phtml?IP="$&{client_addr} See
http://nospam.mydomain.com/')dnl


nospam.mydomain.com is just the CNAME I configured to point
to a page that has the spam policy + contact form.

The tricky part is the line above that will search for the
listing - easy RBL will be different, so unless there are
instructions in site FAQs, you have to go to the site form
for URL checking & see what the specific string is to do a
search. With Spamcop I think it would be:

http://www.spamcop.net/w3m?action=checkblock&ip="$&{client_addr}

-Abigail

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: