summaryrefslogtreecommitdiff
path: root/debian/cf/feature
diff options
context:
space:
mode:
Diffstat (limited to 'debian/cf/feature')
-rw-r--r--debian/cf/feature/dont_masquerade_local.m49
-rw-r--r--debian/cf/feature/dssl.m45
-rw-r--r--debian/cf/feature/imrss.m45
-rw-r--r--debian/cf/feature/ldap.m413
-rw-r--r--debian/cf/feature/orbs.m47
-rw-r--r--debian/cf/feature/orca.m46
-rw-r--r--debian/cf/feature/vnet.m447
7 files changed, 92 insertions, 0 deletions
diff --git a/debian/cf/feature/dont_masquerade_local.m4 b/debian/cf/feature/dont_masquerade_local.m4
new file mode 100644
index 0000000..5748721
--- /dev/null
+++ b/debian/cf/feature/dont_masquerade_local.m4
@@ -0,0 +1,9 @@
+divert(-1)
+#
+# Prevent masquerading of local senders when sending to local recipients
+# used by: mailer/local.m4
+#
+divert(0)
+VERSIONID(`@(#)dont_masquerade_local.m4 1.0 (Debian) 1999-04-22')
+divert(-1)
+define(`_DONT_MASQUERADE_LOCAL_', 1)dnl
diff --git a/debian/cf/feature/dssl.m4 b/debian/cf/feature/dssl.m4
new file mode 100644
index 0000000..2ed99ee
--- /dev/null
+++ b/debian/cf/feature/dssl.m4
@@ -0,0 +1,5 @@
+divert(0)
+VERSIONID(`@(#)dssl.m4 1.0 (Debian) 1999-08-03')
+divert(-1)
+FEATURE(rbl,`dssl.imrss.org',` Mail from $&{client_addr}
+ rejected - dynamic ip; see http://www.imrss.org/dssl/unblock.html')
diff --git a/debian/cf/feature/imrss.m4 b/debian/cf/feature/imrss.m4
new file mode 100644
index 0000000..c01a992
--- /dev/null
+++ b/debian/cf/feature/imrss.m4
@@ -0,0 +1,5 @@
+divert(0)
+VERSIONID(`@(#)imrss.m4 1.0 (Debian) 1999-08-03')
+divert(-1)
+FEATURE(rbl,`mr-out.imrss.org',` Mail from $&{client_addr}
+ rejected - open relay; see http://www.imrss.org/error.html')
diff --git a/debian/cf/feature/ldap.m4 b/debian/cf/feature/ldap.m4
new file mode 100644
index 0000000..57ea0e0
--- /dev/null
+++ b/debian/cf/feature/ldap.m4
@@ -0,0 +1,13 @@
+divert(-1)
+# commentary/copyright
+divert(0)
+VERSIONID(`@(#)ldap.m4 1.0 (Debian) 1999-04-23')
+divert(-1)
+dnl #
+dnl # Mark LDAP in use for subsequent S5 rule
+dnl #
+define(`_LDAP_MAP_', 1)dnl
+LOCAL_CONFIG
+# Define ldap map, arguments come directly from the `FEATURE(ldap, xxx)'
+# This version of ldap.m4 only checks the map in the S5 rule
+Kldap ldapx _ARG_
diff --git a/debian/cf/feature/orbs.m4 b/debian/cf/feature/orbs.m4
new file mode 100644
index 0000000..aec60a4
--- /dev/null
+++ b/debian/cf/feature/orbs.m4
@@ -0,0 +1,7 @@
+divert(0)
+VERSIONID(`@(#)orbs.m4 2.0 (Debian) 1999-04-22')
+divert(-1)
+dnl define(`_ORBS_', ifelse(_ARG_, `', `orbs.dorkslayers.com', `_ARG_'))dnl
+dnl define(`_ORBS_', ifelse(_ARG_, `', `relays.orbs.org', `_ARG_'))dnl
+FEATURE(rbl,`relays.orbs.org',` Mail from $&{client_addr}
+ rejected - open relay; see http://www.orbs.org')
diff --git a/debian/cf/feature/orca.m4 b/debian/cf/feature/orca.m4
new file mode 100644
index 0000000..4f8e874
--- /dev/null
+++ b/debian/cf/feature/orca.m4
@@ -0,0 +1,6 @@
+divert(0)
+VERSIONID(`@(#)orca.m4 2.0 (Debian) 1999-04-22')
+divert(-1)
+dnl define(`_ORCA_', ifelse(_ARG_, `', `dul.orca.bc.ca', `_ARG_'))dnl
+FEATURE(rbl,`dul.maps.vix.com',` Mail from $&{client_addr}
+ rejected - dul; see http://maps.vix.com')
diff --git a/debian/cf/feature/vnet.m4 b/debian/cf/feature/vnet.m4
new file mode 100644
index 0000000..56377f4
--- /dev/null
+++ b/debian/cf/feature/vnet.m4
@@ -0,0 +1,47 @@
+PUSHDIVERT(0)
+LOCAL_CONFIG
+#
+# Support routing of .rscs nodes via XAGENT
+#
+# Define vnet/rscs node hlq
+CAvnet rscs
+# Note: you'll to define your XAGENT node:
+#DAlexvmk.lexington.ibm.com
+dnl #
+dnl #
+dnl #
+LOCAL_RULE_3
+#
+# Support Lotus Notes and VM TCP/IP MTAs
+#
+# Remove stupid route addressing (%hack) added by VM TCP/IP
+R$* % ibmus.rscs < @ $+> $* $: $1 < @ us.ibm.com > $3
+R$* % ibmuk.rscs < @ $+> $* $: $1 < @ uk.ibm.com > $3
+R$* % $-.rscs < @ $+> $* $: $1 < @ $2.rscs > $4
+# Now, try the domaintable yet again...
+R$* < @ $-.rscs > $* $: $1 < @ $(domaintable $2.rscs $) > $3
+dnl #
+dnl #
+dnl #
+LOCAL_NET_CONFIG
+#------------------------------------------------------------------------
+# Handle RSCS/VM messages and messages addressed to sites internal to IBM
+#------------------------------------------------------------------------
+#
+
+# Skip any local addresses
+# (or we'll get a "mail loops back to itself" error
+R$* < @ $=w . > $* $@ $1 < @ $2 . > $3 regular local name
+R$* < @ $=w > $* $@ $1 < @ $2 . > $3 regular local name
+
+# Recipients inside IBM--transfer the mail directly.
+
+R$* < @ $+.ibm.com > $* $#smtp $@ $2.ibm.com $: $1 < @$2.ibm.com > $3
+R$* < @ $+.ibm.com. > $* $#smtp $@ $2.ibm.com $: $1 < @$2.ibm.com > $3
+
+# Recipients of the form user@node.vnet get rewritten to
+# user@node.RSCS, the message itself is forwarded to the RSCS/VM node
+# specified in $A.
+
+R$* < @ $-.$=A > $* $#smtp $@ $A $: $1 < @$2.RSCS > $4
+POPDIVERT