summaryrefslogtreecommitdiffstats
path: root/etc/sendmail
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-02-28 02:06:46 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-02-28 02:06:46 +0000
commit2eb2637e9794845378898d78c34596e92b498427 (patch)
tree27c54a4673b1080ba10519ba9d51694abfba10cb /etc/sendmail
parent2d37957135aa233a165e828fd5fe2d137fe9ad96 (diff)
downloadFreeBSD-src-2eb2637e9794845378898d78c34596e92b498427.zip
FreeBSD-src-2eb2637e9794845378898d78c34596e92b498427.tar.gz
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
Diffstat (limited to 'etc/sendmail')
-rw-r--r--etc/sendmail/freebsd.mc12
1 files changed, 7 insertions, 5 deletions
diff --git a/etc/sendmail/freebsd.mc b/etc/sendmail/freebsd.mc
index 9802ae0..7f91abe 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')
OpenPOWER on IntegriCloud