View | Details | Raw Unified | Return to bug 51760
Collapse All | Expand All

(-)files/patch-TMDA::Defaults.py (+28 lines)
Added Link Here
1
--- TMDA/Defaults.py.orig	Thu Aug  8 18:49:46 2002
2
+++ TMDA/Defaults.py	Thu Aug 22 23:49:48 2002
3
@@ -1059,6 +1059,25 @@
4
 if not vars().has_key('X_TMDA_IN_SUBJECT'):
5
     X_TMDA_IN_SUBJECT = 0
6
 
7
+# Don't send a confirmation message if any of the following conditions is met :
8
+#   - ACTION_AUTO_REPLY = 0
9
+#   - SENDER is <>
10
+#   - SENDER is <#@[]>
11
+#   - SENDER starts with "mailer-daemon"
12
+#   - header "List-ID:" (as per RFC 2919)
13
+#   - header "Mailing-List:"
14
+#   - header "X-Mailing-List:"
15
+#   - header "X-ML-Name:"
16
+#   - header "List-(Help|Unsubscribe|Subscribe|Post|Owner|Archive):"
17
+#     (as per RFC 2369)
18
+# 
19
+# Example:
20
+# ACTION_AUTO_REPLY = 0
21
+# 
22
+# Defaults to send a confirmation message back to the sender.
23
+if not vars().has_key('X_TMDA_IN_SUBJECT'):
24
+    ACTION_AUTO_REPLY = 1
25
+
26
 ###################################
27
 # END of user configurable settings
28
 ###################################
(-)files/patch-bin::tmda-rfilter (+11 lines)
Added Link Here
1
--- bin/tmda-rfilter.orig	Tue Mar  4 23:16:33 2003
2
+++ bin/tmda-rfilter	Tue Apr 29 08:54:49 2003
3
@@ -263,7 +263,7 @@
4
 pendingdir = os.path.join(Defaults.DATADIR, 'pending')
5
 
6
 # Catchall variable to enable/disable auto-responses.
7
-auto_reply = 1
8
+auto_reply = Defaults.ACTION_AUTO_REPLY
9
 
10
 
11
 ###########
(-)files/patch-bin::tmda-sendmail (+20 lines)
Added Link Here
1
--- bin/tmda-sendmail.orig	Thu Sep 12 00:35:59 2002
2
+++ bin/tmda-sendmail	Tue Apr 29 08:56:30 2003
3
@@ -53,7 +53,7 @@
4
     
5
 try:
6
     opts, args = getopt.getopt(sys.argv[1:],
7
-                               'Vhvimte:f:p:o:B:F:EJx', ['version',
8
+                               'Vhvimte:f:p:o:B:F:EJN:R:x', ['version',
9
                                                          'help'])
10
 except getopt.error, msg:
11
     usage(1, msg)
12
@@ -67,7 +67,7 @@
13
     if opt == '--version':
14
         print Version.TMDA
15
         sys.exit()
16
-    elif opt in list('BpvixmeoEJ'):
17
+    elif opt in list('BpvixmeoEJN:R:'):
18
         pass 
19
     elif opt == '-t':
20
         header_recipients = 1

Return to bug 51760