Re: DNSBL - including descriptive text in sendmail error message

2004-03-03 Thread Cordula's Web
John Fox wrote on Tue, 2 Mar 2004 10:14:57 -0800:
> I'm running sendmail 8.12.11, and have successfully configured the
> 'dnsbl' feature to reject mail from hosts in the black lists, but
> spamhaus.org has requested that MTA error messages contain the
> descriptive text corresponding to the blacklisted host (e.g.
> "http://www.spamhaus.org/SBL/sbl.lasso?query=SBL14030";).

This should happen automatically, when an MTA uses the DNSBL feature.
I don't know about sendmail, but with postfix, all you need to do
is to add the following lines to the smtpd_recipient_restrictions
field in /usr/local/etc/postfix/main.cf:

smtpd_recipient_restrictions =
  # . more restrictions here .
  reject_rbl_client bl.spamcop.net,
  reject_rbl_client sbl-xbl.spamhaus.org,
  reject_rbl_client list.dsbl.org,
  reject_rbl_client dnsbl.njabl.org,
  reject_rbl_client relays.ordb.org,
  reject_rbl_client opm.blitzed.org,
  reject_rbl_client dnsbl.sorbs.net,
  # . more restrictions here .

The descriptive text, if provided by the blacklist as a TXT DNS
record, is then always included in the bounce message.

G'luck!

-- 
Cordula's Web. http://www.cordula.ws/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


DNSBL - including descriptive text in sendmail error message

2004-03-02 Thread John Fox
I am configuring a mail server to make use of the DNS-based black lists
supplied by spamhaus.org, and have run into a bit of a snag.

I'm running sendmail 8.12.11, and have successfully configured the
'dnsbl' feature to reject mail from hosts in the black lists, but
spamhaus.org has requested that MTA error messages contain the
descriptive text corresponding to the blacklisted host (e.g.
"http://www.spamhaus.org/SBL/sbl.lasso?query=SBL14030";).

I've checked sendmail docs for information on how to do this, and
come up with nothing.  I've also looked for the information on the
spamhaus site itself, but to no avail.  Likewise for Google searches.

The black lists themselves are quite helpful, and so I would like to
be in compliance with spamhaus' request.  Any clues would be much
appreciated.

BTW, I hope it's not inappropriate to have posted this to both
-isp and -questions.  Please let me know if I should not have
done so.

Thank you much,

-John
--
+---+
| John Fox |   System Administrator   | InfoStructure   |
+---+
| I used to trust the media to tell me the truth, tell us the truth |
| But now I've seen the payoffs everywhere I look   |
| Who can you trust when everyone's a crook?|
| -- Queensryche, "Revolution Calling"  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"