python-smtp-gpg-proxy icon indicating copy to clipboard operation
python-smtp-gpg-proxy copied to clipboard

Gracefully recover from bad password

Open malexmave opened this issue 11 years ago • 0 comments

At the moment, a bad password will lead to a crash: error: uncaptured python exception, closing channel <secure_smtpd.smtp_channel.SMTPChannel connected 127.0.0.1:60611 at 0x1923998> (<type 'exceptions.NameError'>:global name 'socket' is not defined [/usr/lib/python2.7/asyncore.py|read|83] [/usr/lib/python2.7/asyncore.py|handle_read_event|449] [/usr/lib/python2.7/asynchat.py|handle_read|158] [/usr/local/lib/python2.7/dist-packages/secure_smtpd-1.1.9-py2.7.egg/secure_smtpd/smtp_channel.py|found_terminator|123] [smtp-gpg-proxy.py|process_message|195] [/usr/local/lib/python2.7/dist-packages/secure_smtpd-1.1.9-py2.7.egg/secure_smtpd/proxy_server.py|process_message|55] [/usr/local/lib/python2.7/dist-packages/secure_smtpd-1.1.9-py2.7.egg/secure_smtpd/proxy_server.py|_deliver|84])

It should react more sensibly, although I am not sure if this is an issue with my code or with the underlying secure_smtpd module.

malexmave avatar Mar 18 '14 16:03 malexmave