CVS: tmda/bin ChangeLog,1.274,1.275 tmda-inject,1.88,1.89 tmda-rfilter,1.94,1.95
"Jason R. Mastaler" <[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-serv22219/bin Modified Files: ChangeLog tmda-inject tmda-rfilter Log Message: Export $TMDA_RECIPIENT to the environment from tmda-rfilter. This variable contains the true envelope recipient address as far as TMDA is concerned. You can just use $RECIPIENT as users may be using other features such as RECIPIENT_HEADER to change TMDA's interpretation of the recipient address. In tmda-inject, TMDA_INJECT_RECIPIENT is renamed TMDA_RECIPIENT for uniformity. Essentially, TMDA_RECIPIENT holds the recipient address *as TMDA sees it*. Index: ChangeLog =================================================================== RCS file: /cvsroot/tmda/tmda/bin/ChangeLog,v retrieving revision 1.274 retrieving revision 1.275 diff -u -r1.274 -r1.275 --- ChangeLog 26 May 2003 00:43:05 -0000 1.274 +++ ChangeLog 29 May 2003 18:25:41 -0000 1.275 @@ -1,3 +1,11 @@ +2003-05-30 Jason R. Mastaler <[email protected]> + + * tmda-rfilter (recipient_address): export TMDA_RECIPIENT to the + environment. + + * tmda-inject (main): TMDA_INJECT_RECIPIENT renamed + TMDA_RECIPIENT, TMDA_INJECT_VRECIPIENT renamed TMDA_VRECIPIENT. + 2003-05-25 Jason R. Mastaler <[email protected]> * tmda-rfilter (pendingdir): Use Defaults.PENDING_DIR. Index: tmda-inject =================================================================== RCS file: /cvsroot/tmda/tmda/bin/tmda-inject,v retrieving revision 1.88 retrieving revision 1.89 diff -u -r1.88 -r1.89 --- tmda-inject 25 May 2003 03:22:51 -0000 1.88 +++ tmda-inject 29 May 2003 18:25:41 -0000 1.89 @@ -401,8 +401,8 @@ # accordingly, otherwise it is tagged with the default cookie # type. for address in address_list: - os.environ['TMDA_INJECT_RECIPIENT'] = address - os.environ['TMDA_INJECT_VRECIPIENT'] = address.replace('@', '=') + os.environ['TMDA_RECIPIENT'] = address + os.environ['TMDA_VRECIPIENT'] = address.replace('@', '=') # If `X-TMDA' is present we are done here. if x_tmda_over: pass Index: tmda-rfilter =================================================================== RCS file: /cvsroot/tmda/tmda/bin/tmda-rfilter,v retrieving revision 1.94 retrieving revision 1.95 diff -u -r1.94 -r1.95 --- tmda-rfilter 26 May 2003 15:32:52 -0000 1.94 +++ tmda-rfilter 29 May 2003 18:25:42 -0000 1.95 @@ -255,6 +255,8 @@ fileinput.close() break +os.environ['TMDA_RECIPIENT'] = recipient_address + # Collect some header values for later use. subject = msgin.get('subject') x_primary_address = parseaddr(msgin.get('x-primary-address'))[1] _______________________________________ tmda-cvs mailing list http://tmda.net/lists/listinfo/tmda-cvs