Skip to content

Send 550 in response to SMTP RCPT #47

Description

@Mortal

"Real" SMTP servers often reply with 550 in response to the RCPT command, so that the SMTP client doesn't have to send message data for a recipient that doesn't exist on the server. Would it be possible to add a hook in aiosmtpd.smtp.SMTP.smtp_DATA to validate incoming recipients immediately instead of just adding them blindly to envelope.rcpt_tos?

I've been running an SMTP mailing list forwarder based on smtpd for two years and am looking into porting that to aiosmtpd when 1.0 is released.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions