• Barry Warsaw's avatar
    Two bug fixes for problems reported by Sverre: · ebf5427b
    Barry Warsaw yazdı
    __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.
    ebf5427b
smtpd.py 17.5 KB