Re: [exim] Autoreply empty mail from

Góra strony
Delete this message
Reply to this message
Autor: Slavko
Data:  
Dla: exim-users
Temat: Re: [exim] Autoreply empty mail from
Ahoj,

Dňa Tue, 26 Jul 2022 12:33:04 +0300 Timur via Exim-users
<exim-users@???> napísal:

> Hi all!
>
> Exim 4.94
> I have trouble with autoreply transport (and any email from
> Exim-self) in check DMARK when Exim send bounce/autoreply messages to
> ...
> MAIL FROM and $sender_address_domain - empty


For SPF with empty sender you have to ensure SPF DNS record for your
HELO name.

Your DKIM signing is based on sender domain, which is empty, thus
lookup fails and no DKIM signature is done.

For DMARC, you have to ensure, that your SPF (HELO name in this case)
and/or DKIM match domain in 5322.From: header. Simplest way is to do
DKIM lookup based on 5322.From: domain instead (or in addition to)
sender domain lookup, but be aware, that there can be multiple addresses
(domains) in 5322.From: header.

But emails with multiple 5322.From: addresses will be rejected anyway on
sites, which does DMARC validation, as that is not DMARC compliant...

regards

--
Slavko
https://www.slavino.sk