Skip to content

Incorrect handling of empty envelope sender #558

@wttw

Description

@wttw

Regression from behaviour previously fixed in #164

Inbucket handles an empty envelope sender incorrectly:

=== Trying 127.0.0.1:2500...
=== Connected to 127.0.0.1.
<-  220 inbucket Inbucket SMTP ready
 -> EHLO muta.possum-neon.ts.net
<-  250-Great, let's get this show on the road
<-  250-8BITMIME
<-  250-AUTH PLAIN LOGIN
<-  250 SIZE 10240000
 -> MAIL FROM:<>
<** 501 Bad origin address syntax
 -> QUIT
<-  221 Goodnight and good luck

The expected behaviour would be a response to the MAIL FROM: of 250 Roger, accepting mail from <> followed by a normal delivery.

This issue was previously fixed by PR #166.

Commit 06ec140 appears to have reintroduced the problem, explicitly changing the test added by the previous PR to require incorrect behaviour rather than correct behaviour.

Is there interest in a PR to fix this issue?

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