CVS: tmda/TMDA ChangeLog,1.274,1.275 Util.py,1.95,1.96
Timothy Legant <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda/TMDA In directory sc8-pr-cvs1:/tmp/cvs-serv23605/TMDA Modified Files: ChangeLog Util.py Log Message: Added ability for TMDAIDTAG environment variable to override the string "TMDA" in the tag portion of the generated Message-ID. Index: ChangeLog =================================================================== RCS file: /cvsroot/tmda/tmda/TMDA/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 5 Jun 2003 04:37:31 -0000 1.275 @@ -1,3 +1,9 @@ +2003-06-04 Tim Legant <[email protected]> + + * Util.py (make_msgid): Added ability for TMDAIDTAG environment + variable to override the string "TMDA" in the tag portion of the + generated Message-ID. + 2003-05-25 Jason R. Mastaler <[email protected]> * Defaults.py (PENDING_DIR): New variable. Index: Util.py =================================================================== RCS file: /cvsroot/tmda/tmda/TMDA/Util.py,v retrieving revision 1.95 retrieving revision 1.96 diff -u -r1.95 -r1.96 --- Util.py 25 May 2003 02:09:19 -0000 1.95 +++ Util.py 5 Jun 2003 04:37:31 -0000 1.96 @@ -289,7 +289,8 @@ idhost = os.environ.get('TMDAIDHOST') or \ os.environ.get('QMAILIDHOST') or \ gethostname() - msgid = '<%s.%s.TMDA@%s>' % (int(timesecs), pid, idhost) + idtag = os.environ.get('TMDAIDTAG') or 'TMDA' + msgid = '<%s.%s.%s@%s>' % (int(timesecs), pid, idtag, idhost) return msgid _______________________________________ tmda-cvs mailing list http://tmda.net/lists/listinfo/tmda-cvs