CVS: tmda/bin tmda-rfilter,1.89,1.90
Jim Ramsay <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda/bin
In directory sc8-pr-cvs1:/tmp/cvs-serv12422
Modified Files:
tmda-rfilter
Log Message:
Updated the way confirm_accept_url is created to facilitate tmda-cgi releasing message for virtual users.
Index: tmda-rfilter
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/tmda-rfilter,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- tmda-rfilter 30 Apr 2003 19:41:36 -0000 1.89
+++ tmda-rfilter 14 May 2003 21:31:38 -0000 1.90
@@ -649,11 +649,16 @@
pid,
'accept')
if Defaults.CGI_URL:
- # e.g, http://www.domain.tld/tmda.cgi?684.1038959858.48460.c7a2e8
- confirm_accept_url = '%s?%s.%s' %(Defaults.CGI_URL, os.geteuid(),
- Cookie.make_confirm_cookie(timestamp,
- pid,
- 'accept'))
+ # create the url for tmda-cgi release.
+ # include the current uid, recipient address, and release cookie.
+ confirm_accept_url = '%s?%s&%s&%s' %(Defaults.CGI_URL,
+ os.getuid(),
+ recipient_address,
+ Cookie.make_confirm_cookie(
+ timestamp,
+ pid,
+ 'accept'
+ ) )
pending_message = create_pending_msg(timestamp, pid)
elif mode == 'hold':
pending_message = create_pending_msg(str('%d' % now), Defaults.PID)
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs