We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What do you think is wrong?
The config:
remote_queue.bounce.deliver_to &outbound_delivery
leads to error
SMTPUTF8 is unsupported, cannot convert sender address
Background: I use Maddy as a side submission service, I want to deliver DSN to remote main service instead of local
Maddy
DSN
Change the default config file:
target.queue remote_queue { target &outbound_delivery autogenerated_msg_domain $(primary_domain) bounce { destination $(local_domains) { - deliver_to &local_routing + deliver_to &outbound_delivery } default_destination { reject 550 5.0.0 "Refusing to send DSNs to non-local addresses" } } }
Submit an email with invalid RCPT [email protected] to submission tls://0.0.0.0:465
[email protected]
submission tls://0.0.0.0:465
DSN delivery reports error
queue: delivery attempt failed {"msg_id":"74303153","rcpt":"[email protected]","reason":"Domain does not accept email (null MX)","smtp_code":556,"smtp_enchcode":"5.1.10","smtp_msg":"Domain does not accept email (null MX)"} queue: not delivered, permanent error {"msg_id":"74303153","rcpt":"[email protected]"} queue: generated failed DSN {"dsn_id":"44714bcf","msg_id":"74303153"} queue: failed to enqueue DSN {"dsn_id":"9ffc9be2","effective_rcpt":"[email protected]","msg_id":"3a4d2026","reason":"address: missing at-sign","remote_server":"xxxx.com.","smtp_code":550,"smtp_enchcode":"5.6.7","smtp_msg":"SMTPUTF8 is unsupported, cannot convert sender address"}
Did some debugging:
dsnPipeline started with empty RCPT.
dsnPipeline
maddy/internal/target/queue/queue.go
Line 961 in 1d6cd8c
The error is caused by address.ToASCII(from) with from being empty:
address.ToASCII(from)
from
maddy/internal/smtpconn/smtpconn.go
Lines 309 to 327 in 1d6cd8c
The message is misleading, and the expected actions cannot be done.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
What do you think is wrong?
The config:
leads to error
Background: I use
Maddy
as a side submission service, I want to deliverDSN
to remote main service instead of localSteps to reproduce
Change the default config file:
Submit an email with invalid RCPT
[email protected]
tosubmission tls://0.0.0.0:465
DSN
delivery reports errorLog files
Environment information
Did some debugging:
dsnPipeline
started with empty RCPT.maddy/internal/target/queue/queue.go
Line 961 in 1d6cd8c
The error is caused by
address.ToASCII(from)
withfrom
being empty:maddy/internal/smtpconn/smtpconn.go
Lines 309 to 327 in 1d6cd8c
The message is misleading, and the expected actions cannot be done.
The text was updated successfully, but these errors were encountered: