Tomasz Nidecki <[EMAIL PROTECTED]> writes:
> error: uncaptured python exception, closing channel
> <__main__.SMTPChannel connected 192.168.1.3:4225 at 0x8203ff4>
> (TMDA.Errors.ConfigError:Can't find key file: /root/.tmda/crypt_key
This appears to be a bug which only affects tmda-ofmipd when running
in "global" mode. I've checked in a fix, but you can try the attached
patch if you don't want to wait until the next release.
This also fixes the problem Todd reported last night.
Thanks.
Index: bin/tmda-ofmipd
===================================================================
RCS file: /cvsroot/tmda/tmda/bin/tmda-ofmipd,v
retrieving revision 1.30
diff -u -r1.30 tmda-ofmipd
--- bin/tmda-ofmipd 6 Mar 2003 07:26:40 -0000 1.30
+++ bin/tmda-ofmipd 25 Mar 2003 23:03:54 -0000
@@ -344,6 +344,7 @@
import asynchat
import asyncore
import base64
+import email.Utils
import hmac
import md5
import popen2
@@ -871,7 +872,7 @@
else:
rh.append('(%s)' % (self.__peerip))
rh.append('by %s (tmda-ofmipd) with ESMTP;' % (self.__fqdn))
- rh.append(Util.make_date())
+ rh.append(email.Utils.formatdate(localtime=1))
os.environ['TMDA_OFMIPD_RECEIVED'] = ' '.join(rh)
def smtp_NOOP(self, arg):