logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

CVS: tmda/bin ChangeLog,1.197,1.198 tmda-rfilter,1.36,1.37: msg#00063

Subject: CVS: tmda/bin ChangeLog,1.197,1.198 tmda-rfilter,1.36,1.37
Update of /cvsroot/tmda/tmda/bin
In directory usw-pr-cvs1:/tmp/cvs-serv24550/bin

Modified Files:
        ChangeLog tmda-rfilter 
Log Message:
Template variables dated_cookie_address and sender_cookie_address were
replaced with dated_recipient_address and sender_recipient_address,
which are based on the RECIPIENT address.

This makes more sense as all the other tagged addresses are based upon
RECIPIENT.  Also, former are easily reproduced in the .tmdarc for
those who want to continue using them.

Suggested by Jim Ramsay in
<Pine.LNX.4.33.0205231151440.10416-100000@xxxxxxxxxxxxxxxxxx> on
tmda-users.


Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/ChangeLog,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -r1.197 -r1.198
--- ChangeLog   22 May 2002 04:23:18 -0000      1.197
+++ ChangeLog   23 May 2002 18:45:50 -0000      1.198
@@ -1,3 +1,9 @@
+2002-05-23  Jason R. Mastaler  <jasonrm@xxxxxxxxxxxxxxxxxxxxxxxxxx>
+
+       * tmda-rfilter (bouncegen): dated_cookie_address and
+       sender_cookie_address are replaced with dated_recipient_address
+       and sender_recipient_address
+
 2002-05-22  Jason R. Mastaler  <jason@xxxxxxxxxxxx>
 
        * tmda-inject (inject_message): Iterate over

Index: tmda-rfilter
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/tmda-rfilter,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- tmda-rfilter        18 May 2002 00:20:07 -0000      1.36
+++ tmda-rfilter        23 May 2002 18:45:51 -0000      1.37
@@ -532,15 +532,11 @@
         dated_timeout = Util.format_timeout(Defaults.TIMEOUT)
         dated_expire_date = time.asctime(time.gmtime
                                          (now + 
Util.seconds(Defaults.TIMEOUT)))
-        dated_cookie_address = Cookie.make_dated_address(Defaults.USERNAME +
-                                                         '@' +
-                                                         Defaults.HOSTNAME)
+        dated_recipient_address = Cookie.make_dated_address(recipient_address)
     # Optional 'sender' address variables.
     if Defaults.SENDER_TEMPLATE_VARS:
-        sender_cookie_address = Cookie.make_sender_address(Defaults.USERNAME +
-                                                           '@' +
-                                                           Defaults.HOSTNAME,
-                                                           envelope_sender)
+        sender_recipient_address = 
Cookie.make_sender_address(recipient_address,
+                                                              envelope_sender)
     if mode == 'accept':                # confirmation acceptance notices
         templatefile = 'confirm_accept.txt'
         confirm_accept_text = Util.wraptext(text)

____________________________________________
tmda-cvs mailing list
http://libertine.org/lists/listinfo/tmda-cvs



<Prev in Thread] Current Thread [Next in Thread>