diff options
Diffstat (limited to 'debian/sendmail-8.9.3-imrss-patches')
-rw-r--r-- | debian/sendmail-8.9.3-imrss-patches | 193 |
1 files changed, 193 insertions, 0 deletions
diff --git a/debian/sendmail-8.9.3-imrss-patches b/debian/sendmail-8.9.3-imrss-patches new file mode 100644 index 0000000..14138da --- /dev/null +++ b/debian/sendmail-8.9.3-imrss-patches @@ -0,0 +1,193 @@ +diff -rc2 --new-file ./cf/README ./cf/README +*** ./cf/README Wed Feb 3 14:06:38 1999 +--- ./cf/README Mon Apr 5 19:24:45 1999 +*************** +*** 852,860 **** + described below. + +! rbl Turns on rejection of hosts found in the Realtime Blackhole +! List. If an argument is provided it is used as the +! name sever to contact; otherwise, the main RBL server at +! rbl.maps.vix.com is used. For details, see +! http://maps.vix.com/rbl/. + + loose_relay_check +--- 852,873 ---- + described below. + +! rbl Turns on rejection of incoming E-mail from SMTP clients +! whose IP addresses are currently included in the MAPS +! Realtime Blackhole List (RBL), a list of known (fixed) +! spam sources. For additional information regarding the +! MAPS RBL list, see http://maps.vix.com/rbl/. +! +! imrss Turns on rejection of incoming E-mail from SMTP clients +! whose IP addresses are currently included in the Internet +! Mail Relay Services Survey (IMRSS) list of unrestricted +! "open" E-mail relay servers. For additional information +! regarding the IMRSS list, see http://www.imrss.org/. +! +! dssl Turns on rejection of incoming E-mail from SMTP clients +! whose IP addresses are currently included in the DynamicIP +! Spam Sources List (DSSL), a list of IP addresses of dynamic +! dialup ports for many commercial ISPs and some Universities. +! For additional information regarding the DSSL, see +! http://www.imrss.org/dssl/. + + loose_relay_check +*************** +*** 1385,1397 **** + Mail can't be sent to spammer@aol.com or anyone at cyberspammer.com. + +! There is also a ``Realtime Blackhole List'' run by the MAPS project +! at http://maps.vix.com/. This is a database maintained in DNS of +! spammers. To use this database, use + + FEATURE(`rbl') + +! This will cause sendmail to reject mail from any site in the +! Realtime Blackhole List database. You can specify an alternative +! RBL name server to contact by specifying an argument to the FEATURE. + + The features described above make use of the check_relay, check_mail, +--- 1398,1437 ---- + Mail can't be sent to spammer@aol.com or anyone at cyberspammer.com. + +! In addition to the above do-it-yourself spam contol mechanisms, you can also +! enable support in Sendmail for arbitrary combinations of some popular data +! bases of IP addrsses that may try to send spam to your local site via SMTP. +! The list described below are all accessed via a special (kludge?) form of +! DNS lookups. +! +! The first such list is the ``Realtime Blackhole List'' run by the MAPS +! project. Information about this list is available at http://maps.vix.com/rbl/. +! This is a database of the IP addresses of known (fixed) spam sources. To use +! the MAPS RBL list for blocking incoming E-mail, include the line: + + FEATURE(`rbl') + +! into your .mc file. This will cause Sendmail to reject mail from any IP +! address currently listed in the MAPS RBL database. +! +! Another list that can be used for junk E-mail filtering is the Internet +! Mail Relay Services Survey's (IMRSS) list of unsecured/unrestricted "open" +! E-mail relays. To use the IMRSS list of open relays for blocking incoming +! E-mail, include the line: +! +! FEATURE(`imrss') +! +! into your .mc file. This will cause Sendmail to reject mail from any IP +! address currently listed in the IMRSS open relays database. +! +! Yet another list that can be used for junk E-mail filtering is the DynamicIP +! Spam Sources List (DSSL). This is a list of the IP address of various +! "dynamic" dialup lines, mostly belonging to commercial Internet Service +! Providers and/or Universities. To use the DSSL list of dynamic dialups +! for blocking incoming E-mail, include the line: +! +! FEATURE(`dssl') +! +! into your .mc file. This will cause Sendmail to reject mail from any IP +! address currently listed in the DSSL database. + + The features described above make use of the check_relay, check_mail, +diff -rc2 --new-file ./cf/feature/dssl.m4 ./cf/feature/dssl.m4 +*** ./cf/feature/dssl.m4 Wed Dec 31 16:00:00 1969 +--- ./cf/feature/dssl.m4 Mon Apr 5 19:05:35 1999 +*************** +*** 0 **** +--- 1,15 ---- ++ divert(-1) ++ # ++ # Copyright (c) 1998 Sendmail, Inc. All rights reserved. ++ # ++ # By using this file, you agree to the terms and conditions set ++ # forth in the LICENSE file which can be found at the top level of ++ # the sendmail distribution. ++ # ++ # ++ ++ divert(0) ++ VERSIONID(`@(#)imrss.m4 8.8 (Berkeley) 4/5/1999') ++ divert(-1) ++ ++ define(`_DSSL_',`dssl.imrss.org')dnl +diff -rc2 --new-file ./cf/feature/imrss.m4 ./cf/feature/imrss.m4 +*** ./cf/feature/imrss.m4 Wed Dec 31 16:00:00 1969 +--- ./cf/feature/imrss.m4 Mon Apr 5 19:05:20 1999 +*************** +*** 0 **** +--- 1,15 ---- ++ divert(-1) ++ # ++ # Copyright (c) 1998 Sendmail, Inc. All rights reserved. ++ # ++ # By using this file, you agree to the terms and conditions set ++ # forth in the LICENSE file which can be found at the top level of ++ # the sendmail distribution. ++ # ++ # ++ ++ divert(0) ++ VERSIONID(`@(#)imrss.m4 8.8 (Berkeley) 4/5/1999') ++ divert(-1) ++ ++ define(`_IMRSS_',`mr-out.imrss.org')dnl +diff -rc2 --new-file ./cf/feature/rbl.m4 ./cf/feature/rbl.m4 +*** ./cf/feature/rbl.m4 Tue Dec 29 09:42:13 1998 +--- ./cf/feature/rbl.m4 Mon Apr 5 19:05:06 1999 +*************** +*** 13,15 **** + divert(-1) + +! define(`_RBL_', ifelse(_ARG_, `', `rbl.maps.vix.com', `_ARG_'))dnl +--- 13,15 ---- + divert(-1) + +! define(`_RBL_',`rbl.maps.vix.com')dnl +diff -rc2 --new-file ./cf/m4/proto.m4 ./cf/m4/proto.m4 +*** ./cf/m4/proto.m4 Tue Feb 2 15:21:30 1999 +--- ./cf/m4/proto.m4 Tue Apr 6 00:18:06 1999 +*************** +*** 1109,1119 **** + R<$+> $* $#error $@ 5.7.1 $: $1', `dnl') + + ifdef(`_RBL_', `dnl +! # DNS based IP address spam lists + R$* $: $&{client_addr} + R$-.$-.$-.$- $: $(host $4.$3.$2.$1._RBL_. $: OK $) +! ROK $@ OK +! R$+ $#error $@ 5.7.1 $: "Mail from " $&{client_addr} " refused by blackhole site _RBL_"', + `dnl') + + ###################################################################### +--- 1109,1137 ---- + R<$+> $* $#error $@ 5.7.1 $: $1', `dnl') + ++ # For the sake of efficiency, spam blocking list checks are ordered by the ++ # amount of incoming traffic they are likely to affect, mostest firstest. ++ ++ ifdef(`_IMRSS_', `dnl ++ # DNS based IMRSS IP address list ++ R$* $: $&{client_addr} ++ R$-.$-.$-.$- $: $(host $4.$3.$2.$1._IMRSS_. $: OK $) ++ R$+. $#error $@ 5.7.1 $: "Mail from " $&{client_addr} " refused. See http://www.imrss.org/error.html"', ++ `dnl') ++ ++ ifdef(`_DSSL_', `dnl ++ # DNS based DSSL IP address list ++ R$* $: $&{client_addr} ++ R$-.$-.$-.$- $: $(host $4.$3.$2.$1._DSSL_. $: OK $) ++ R$+. $#error $@ 5.7.1 $: "Mail from " $&{client_addr} " refused. See http://www.imrss.org/dssl/unblock.html"', ++ `dnl') ++ + ifdef(`_RBL_', `dnl +! # DNS based MAPS RBL IP address list + R$* $: $&{client_addr} + R$-.$-.$-.$- $: $(host $4.$3.$2.$1._RBL_. $: OK $) +! R$+. $#error $@ 5.7.1 $: "Mail from " $&{client_addr} " refused. See http://maps.vix.com/rbl/enduser.html"', + `dnl') ++ ++ R$* $@ OK + + ###################################################################### |