Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With tutorial config, the postmaster with no domain is not a valid recipient #384

Closed
arisudesu opened this issue Aug 16, 2021 · 2 comments
Closed
Assignees
Labels
bug Something isn't working.

Comments

@arisudesu
Copy link
Contributor

arisudesu commented Aug 16, 2021

Describe the bug

With tutorial config, the postmaster with no domain is not a valid recipient.

I see that it was once described in the documentation as part of the config changes, but after several versions it is no longer in the config. As a result, it stopped working.

Perhaps it was lost in commit 81e6a3b? Missing block (below) is what makes it work again.

replace_rcpt static {
    entry postmaster postmaster@$(primary_domain)
}

Steps to reproduce

Trying xxx.xxx.xxx.xxx...
Connected to myhostname.dev.
Escape character is '^]'.

220 myhostname.dev ESMTP Service Ready

HELO myhostname.dev
250 2.0.0 Hello myhostname.dev

MAIL FROM: example@example.com
250 2.0.0 Roger, accepting mail from <example@example.com>

RCPT TO: postmaster
550 5.1.1 User doesn't exist (msg ID = 312f88ff)

^D

Configuration file

This with only difference in hostname.

Environment information

  • maddy version: 0.4.4
@arisudesu arisudesu added the bug Something isn't working. label Aug 16, 2021
@foxcpp foxcpp self-assigned this Aug 16, 2021
@arisudesu arisudesu changed the title Bug report With tutorial config, the postmaster with no domain is not a valid recipient Aug 16, 2021
@foxcpp foxcpp closed this as completed in 37fc5d2 Aug 16, 2021
@foxcpp
Copy link
Owner

foxcpp commented Aug 16, 2021

Resolved in the referenced commit. Pending for 0.5.1.

@arisudesu
Copy link
Contributor Author

Thank you for the fix and this useful software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

2 participants