LMTP should reject unknown lists in RCPT-stage

Bug #982555 reported by Bernhard Schmidt
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman

Bug Description

At the moment the LMTP runner rejects mails to non-existing lists after the DATA stage.

# telnet localhost 8024
Connected to localhost.
Escape character is '^]'.
220 mail.svr02.mucip.net Python LMTP runner 1.0
MAIL FROM: <email address hidden>
250 Ok
RCPT TO: <email address hidden>
250 Ok
354 End data with <CR><LF>.<CR><LF>
Message-ID: <email address hidden>

550 Requested action not taken: mailbox unavailable

It should reject invalid addresses in the RCPT TO stage, this way it could easily be used with Postfix' feature "reject_unverified_recipient" to avoid accepting and then bouncing messages.

Tags: easy mailman3

Related branches

Revision history for this message
Barry Warsaw (barry) wrote :

Should be pretty easy to do; the test may be the hardest part. :)

tags: added: mailman3
Changed in mailman:
status: New → Triaged
importance: Undecided → High
tags: added: easy
Revision history for this message
Abhilash Raj (raj-abhilash1) wrote :

This bug has been moved to the new gitlab repo here: https://gitlab.com/mailman/mailman/issues/14

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.