Update of /cvsroot/tmda/tmda/TMDA
In directory usw-pr-cvs1:/tmp/cvs-serv13676/TMDA
Modified Files:
ChangeLog Defaults.py
Log Message:
Add a new variable MESSAGE_TAG_HEADER_STYLE which is used instead of
MESSAGE_FROM_STYLE when creating extra headers like Reply-To using the
`tag' action in your FILTER_OUTGOING.
This was done so you can use a different style for those headers than
is used for From and Resent-From.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/ChangeLog,v
retrieving revision 1.232
retrieving revision 1.233
diff -u -r1.232 -r1.233
--- ChangeLog 1 Oct 2002 20:06:22 -0000 1.232
+++ ChangeLog 4 Oct 2002 23:43:31 -0000 1.233
@@ -1,3 +1,7 @@
+2002-10-04 Jason R. Mastaler <[EMAIL PROTECTED]>
+
+ * Defaults.py (MESSAGE_TAG_HEADER_STYLE): New variable.
+
2002-10-01 Jason R. Mastaler <[EMAIL PROTECTED]>
* pythonlib/email: Sync up with email 2.4.
Index: Defaults.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/Defaults.py,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- Defaults.py 1 Oct 2002 19:55:32 -0000 1.145
+++ Defaults.py 4 Oct 2002 23:43:31 -0000 1.146
@@ -867,8 +867,9 @@
LOCALDATE = 1
# MESSAGE_FROM_STYLE
-# Specifies how `From' headers should look when tagging outgoing
-# messages with tmda-sendmail. There are two valid values:
+# Specifies how `From' and `Resent-From' headers should look when
+# tagging outgoing messages with tmda-sendmail. There are two valid
+# values:
#
# "address"
# Just the address - [EMAIL PROTECTED]
@@ -878,7 +879,18 @@
#
# Default is "angles".
if not vars().has_key('MESSAGE_FROM_STYLE'):
- MESSAGE_FROM_STYLE = "angles"
+ MESSAGE_FROM_STYLE = 'angles'
+
+# MESSAGE_TAG_HEADER_STYLE
+# Specifies how headers (other than `From' and `Resent-From') should
+# look when tagging outgoing messages with tmda-sendmail. These are
+# the headers such as Reply-To which are defined using the `tag'
+# action in your FILTER_OUTGOING file.
+#
+# The valid values and default value is identical to that of
+# MESSAGE_FROM_STYLE.
+if not vars().has_key('MESSAGE_TAG_HEADER_STYLE'):
+ MESSAGE_TAG_HEADER_STYLE = 'angles'
# MAX_AUTORESPONSES_PER_DAY
# An integer specifying the maximum number of automatic responses sent
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs