Try:
ADDED_HEADERS_SERVER = { "X-Primary-Address": "[EMAIL PROTECTED]" % os.environ["USER"] }
Note the position of the ":".
I did that and it does not bring me an error, while open tmda.cgi, but the crontab (/usr/local/tmda/bin/tmda-pending -sbdO 30d) results in an error:
Traceback (most recent call last):
File "/usr/local/tmda/bin/tmda-pending", line 271, in ?
from TMDA import Pending
File "./TMDA/Pending.py", line 34, in ?
File "./TMDA/Defaults.py", line 68, in ?
File "/etc/tmdarc", line 86, in ?
ADDED_HEADERS_CLIENT = { "X-Primary-Address": "[EMAIL PROTECTED]" %
os.environ["USER"] }
File "/usr/local/lib/python2.2/UserDict.py", line 14, in __getitem__
def __getitem__(self, key): return self.data[key]
KeyError: USERMaybe this is the same reason, why ADDED_HEADERS_CLIENT / SERVER is never added to any outgoing message.
bye
Ronald
-- Ronald Wiplinger (CEO of ELMIT) http://www.elmit.com +886 (0) 915 653-452 - I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
