summaryrefslogtreecommitdiffabout
path: root/mc/relay1.mc
authorSergey Poznyakoff <gray@gnu.org.ua>2006-07-28 06:45:13 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2006-07-28 06:45:13 (GMT)
commit066f9543c7753b622d7c7a3579e02452234c4eee (patch) (side-by-side diff)
treee3e9a4c784d9dc20f4607de7608d59f10ec8e4bb /mc/relay1.mc
parenta4b1fb4978632fb5be02294c39b5397c866f9f97 (diff)
downloadgsc-066f9543c7753b622d7c7a3579e02452234c4eee.tar.gz
gsc-066f9543c7753b622d7c7a3579e02452234c4eee.tar.bz2
Update
git-svn-id: file:///svnroot/gsc/trunk@210 d2de0444-eb31-0410-8365-af798a554d48
Diffstat (limited to 'mc/relay1.mc') (more/less context) (ignore whitespace changes)
-rw-r--r--mc/relay1.mc17
1 files changed, 17 insertions, 0 deletions
diff --git a/mc/relay1.mc b/mc/relay1.mc
index 098269e..9148070 100644
--- a/mc/relay1.mc
+++ b/mc/relay1.mc
@@ -64,6 +64,22 @@ FEATURE(blacklist_recipients)
FEATURE(dnsbl,`dialups.mail-abuse.org',` Mail from dial-up rejected; see http://mail-abuse.org/dul/enduser.htm')
FEATURE(dnsbl, `rbl.farlep.net', ` Stop SPAM from this host')
FEATURE(dnsbl, `dyn-rbl.farlep.net', ` E-Cards are not allowed to use SMTP')
+
+PUSHDIVERT(8)
+# Allow all addresses from our dialup pool
+R$* $: $&{client_addr}
+R::ffff:$-.$-.$-.$- $: OKSOFAR
+R$-.$-.$-.$- $: <?> $(host $4.$3.$2.$1.dialup-rev.farlep.net. $: OK $)
+R<?>OK $: OKSOFAR
+R<?>$* $@ OKSOFAR
+
+# Jebem ti dusu
+R$* $: $&{client_addr}
+R::ffff:$-.$-.$-.$- $: OKSOFAR
+R213.130.1.225 $@ OKSOFAR
+
+POPDIVERT
+
FEATURE(dnsbl, `bl.spamcop.net', ` "Spam blocked; see http://spamcop.net/bl.shtml?"$&{client_addr}')
include(`milter.conf')
@@ -124,3 +140,4 @@ R$+ $: $1 $| $(getpwnam $1 $: USER $)
R$+ $| USER $: $>MailerToTriple < local-sql: $1 > $1
R$* $: $1
+

Return to:

Send suggestions and report system problems to the System administrator.