[exim] Re: error 501 Invalid MAIL FROM address provided is r…

Top Pagina
Delete this message
Reply to this message
Auteur: Jeremy Harris
Datum:  
Aan: exim-users
Onderwerp: [exim] Re: error 501 Invalid MAIL FROM address provided is reported
On 30/07/2024 07:40, xqm2018--- via Exim-users wrote:
> In the exim advanced configuration manager


I've no idea what that is...

> SRS rewriting the sender has been enabled, but when the automatic forwarding of emails fails> and needs to be returned to the original sender,


Do you mean "a bounce mail is generated and needs to be sent to the original sender"?

> an error 501 Invalid MAIL FROM address provided is reported.


I infer that such a bounce is being rejected by the destination for the bounce,
which should be an MX for the original sender domain. Bounces have a null envelope
sender (required by standards, and needed to prevent loops). The envelope sender
is notified as part of the SMTP transaction using the MAIL verb.

> LOG: MAIN
>    ** marc.wressig@??? R=send_via_ses T=ses_smtp H=email-smtp.us-east-1.amazonaws.com [52.206.145.59] X=TLS1.3:TLS_AES_256_GCM_SHA384:256 CV=yes: SMTP error from remote mail server after MAIL FROM:<>: 501 Invalid MAIL FROM address provided


The recipient of a message with a null envelope sender (presumably, this bounce)
has rejected it because (it claims) it does not like the envelope sender.

That is its problem, not yours. It will ignore, presumably, all such automatic
notifications of message-handling issues ("MDN" is the general term, "bounce"
the most common type and colloquial term) - and its overall message reliability
and ease of maintenance will be impacted as a result.

SRS is not involved in it's rejection of this message.
--
Cheers,
Jeremy


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/