[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] Add an X-Anonymous header to outgoing SMTP messages



Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv11090/lib/mixminion/server

Modified Files:
	Modules.py 
Log Message:
Add an X-Anonymous header to outgoing SMTP messages

Index: Modules.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/Modules.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- Modules.py	5 Feb 2003 06:28:31 -0000	1.28
+++ Modules.py	5 Feb 2003 07:10:54 -0000	1.29
@@ -717,6 +717,7 @@
 To: %(user)s
 From: %(return)s
 Subject: Anonymous Mixminion message
+X-Anonymous: yes
 
 THIS IS AN ANONYMOUS MESSAGE.  The mixminion server '%(nickname)s' at
 %(addr)s has been configured to deliver messages to your address.
@@ -805,7 +806,7 @@
         subject = sec['SubjectLine']
         self.returnAddress = sec['ReturnAddress']
 
-        self.header = "From: %s\nSubject: %s\n\n%s" %(
+        self.header = "From: %s\nSubject: %s\nX-Anonymous: yes\n\n%s" %(
             self.returnAddress, subject, message)
 
         manager.enableModule(self)