Two bug fixes for problems reported by Sverre:
__getaddr(): Watch out for empty addresses that can happen when something like "MAIL FROM:<CR>" is received. This avoids the IndexError and rightly returns an SMTP syntax error. parseargs(): We didn't handle the 2-arg case where both the localspec and the remotespec were provided on the command line.
B
Barry Warsaw committed
ebf5427bfacae1c0bc497410626cbb3e995dc214
Parent: 169ded0