ThiefMaster / maildump

A python-based mailcatcher clone
MIT License
136 stars 21 forks source link

add EHLO supports #20

Closed ball6847 closed 4 years ago

ball6847 commented 8 years ago

There are some smtp clients use EHLO which not implemented by default.

Hope this help, Porawit Poboonma

ThiefMaster commented 4 years ago

Python 3 smtpd supports EHLO out of the box without any custom code :)

[adrian@claptrap:~/dev/maildump:master $]> nc -C 127.0.0.1 10025 <<< 'EHLO world'
220 localhost Python SMTP proxy version 0.3
250-localhost
250-SIZE 33554432
250-8BITMIME
250 HELP