From a77b865277e416510e8fbcc7afadcf640c01ef72 Mon Sep 17 00:00:00 2001 From: Gregory Neil Shapiro Date: Wed, 28 Feb 2001 02:06:46 +0000 Subject: [PATCH] Fixup some of the commented out examples: 1) blackholes.mail-abuse.org is the same as FEATURE(dnsbl), so specifying it in the "Other DNS based black hole lists" section leads to confusion of specifying it twice. 2) Formatting issues. If error diagnostic not enclosed in double quotes, varius visual artefacts appearse like 1) no space after ; and 2) redundant space after ? (in CGI request), so I add quotes where needed. 3) FEATURE(dnsbl) directly use error code 550 by default, so I made other dnsbl variants use the same error code too. 4) Comment relays.* list as "open relays" list, just "other" word is not explain enough. Submitted by: ache --- etc/sendmail/freebsd.mc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/etc/sendmail/freebsd.mc b/etc/sendmail/freebsd.mc index 9802ae0c3bb..7f91abeb5b5 100644 --- a/etc/sendmail/freebsd.mc +++ b/etc/sendmail/freebsd.mc @@ -58,14 +58,16 @@ FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl Uncomment to activate Realtime Blackhole List (recommended!) dnl information available at http://maps.vix.com/rbl/ dnl FEATURE(dnsbl) +dnl Alternatively, you can provide your own rejection message for the RBL: +dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}') dnl Other DNS based black hole lists -dnl FEATURE(dnsbl,`blackholes.mail-abuse.org',` Mail from $&{client_addr} rejected, see http://mail-abuse.org/cgi-bin/lookup?$&{client_addr}')dnl -dnl FEATURE(dnsbl,`relays.mail-abuse.org',` Mail from $&{client_addr} rejected; see http://mail-abuse.org/cgi-bin/nph-rss?$&{client_addr}')dnl +dnl -------------------------------- +dnl MAPS Relay Spam Stopper (RSS): http://mail-abuse.org/rss/ +dnl FEATURE(dnsbl, `relays.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected; see http://mail-abuse.org/cgi-bin/nph-rss?" $&{client_addr}') -dnl Many sites reject email connections from dialup ip addresses -dnl by using the MAPS Dial-up User List (DUL). http://maps.vix.com/dul/ -dnl FEATURE(dnsbl,`dialups.mail-abuse.org',` Mail from dial-up rejected; see http://mail-abuse.org/dul/enduser.htm') +dnl MAPS Dial-up User List (DUL): http://maps.vix.com/dul/ +dnl FEATURE(dnsbl, `dialups.mail-abuse.org', `"550 Mail from dial-up rejected; see http://mail-abuse.org/dul/enduser.htm"') dnl Dialup users should uncomment and define this appropriately dnl define(`SMART_HOST', `your.isp.mail.server')