bcoe / secure-smtpd

Fork of Python's standard SMTP server. Adding support for various extensions to the protocol.
ISC License
128 stars 42 forks source link

SMTPChannel Login #7

Open gringo2150 opened 11 years ago

gringo2150 commented 11 years ago

Older mail clients (outlook 2007) seems to balk when connecting.

Fix is to encode Username: not Username and Password: not Password.

Other than that great little extension looking to add TLS support will issue pull request if we get it working.

bcoe commented 11 years ago

Excited to see whether you can get things working on older clients, I'll happily pull in any patches you provide :thumbsup:

tabouassaleh commented 10 years ago

@gringo2150 did you ever get this working?

gringo2150 commented 10 years ago

@tgcondor No in the end the client didn't want to pay for the time for TLS and decided that SSL would be fine. Shouldn't be too hard though in theory it's just a case of adding in to smtp_channel.py and forcing the user to login again (self.authenticated = False may be all that's needed there?).

Biggest problem I had initially was the outlook 2007 issue where it was expecting Username: and Password: