We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b32fb8d commit 033c58aCopy full SHA for 033c58a
1 file changed
Lib/smtpd.py
@@ -476,9 +476,6 @@ def smtp_MAIL(self, arg):
476
if not self.extended_smtp and params:
477
self.push(syntaxerr)
478
return
479
- if not address:
480
- self.push(syntaxerr)
481
- return
482
if self.mailfrom:
483
self.push('503 Error: nested MAIL command')
484
@@ -529,15 +526,9 @@ def smtp_RCPT(self, arg):
529
526
else:
530
527
531
528
532
533
534
535
if params and len(params.keys()) > 0:
536
self.push('555 RCPT TO parameters not recognized or not implemented')
537
538
539
- self.push('501 Syntax: RCPT TO: <address>')
540
541
self.rcpttos.append(address)
542
print('recips:', self.rcpttos, file=DEBUGSTREAM)
543
self.push('250 OK')
0 commit comments