[exim] Autoreply empty mail from

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Timur
Dátum:  
Címzett: exim-users
Tárgy: [exim] Autoreply empty mail from
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 google.
I want to configure vacation-router. SPF, DKIM, PTR is configured for my
server. When I send email from myself google receives it and pass DKIM,
SPF, DMARK.
When exim send autoreply message to google, google answer:
user@??? R=dnslookup T=remote_smtp H=gmail-smtp-in.l.google.com
[108.177.126.26]
X=TLS1.3:ECDHE_X25519__ECDSA_SECP256R1_SHA256__AES_256_GCM:256 CV=yes:
SMTP error from remote mail server after pipelined end of data:
550-5.7.26 Unauthenticated email from domain.com is not accepted due to
550-5.7.26 domain's DMARC policy. Please contact the administrator of
550-5.7.26 domain.com domain if this was a legitimate mail. Please visit
550-5.7.26 https://support.google.com/mail/answer/2451690 to learn about
the 550 5.7.26 DMARC initiative.
I run exim in debug mode and saw next:

MAIL FROM and $sender_address_domain - empty

14:35:21 41842  SMTP>> MAIL FROM:<> SIZE=1609
.....
14:35:21 41842  dkim signing direct-mode
14:35:21 41842  ╭considering:
${lookup{$sender_address_domain}lsearch*@{/etc/exim4/dkim/dkim_files}{$sender_address_domain}{}}
14:35:21 41842   ╭considering:
$sender_address_domain}lsearch*@{/etc/exim4/dkim/dkim_files}{$sender_address_domain}{}}
14:35:21 41842   ├──expanding: $sender_address_domain
14:35:21 41842   ╰─────result:
14:35:21 41842   ╭considering:
/etc/exim4/dkim/dkim_files}{$sender_address_domain}{}}
14:35:21 41842   ├──expanding: /etc/exim4/dkim/dkim_files
14:35:21 41842   ╰─────result: /etc/exim4/dkim/dkim_files
14:35:21 41842  search_open: lsearch "/etc/exim4/dkim/dkim_files"
14:35:21 41842  search_find: file="/etc/exim4/dkim/dkim_files"
14:35:21 41842    key="" partial=-1 affix=NULL starflags=2 opts=NULL
14:35:21 41842  LRU list:
14:35:21 41842    :/etc/exim4/dkim/dkim_files
14:35:21 41842    End
14:35:21 41842  internal_search_find: file="/etc/exim4/dkim/dkim_files"
14:35:21 41842    type=lsearch key="" opts=NULL
14:35:21 41842  trying to match *
14:35:21 41842  internal_search_find: file="/etc/exim4/dkim/dkim_files"
14:35:21 41842    type=lsearch key="*" opts=NULL
14:35:21 41842  file lookup required for *
14:35:21 41842    in /etc/exim4/dkim/dkim_files
14:35:21 41842  lookup failed
14:35:21 41842   ╭───scanning: $sender_address_domain}{}}
14:35:21 41842   ├──expanding: $sender_address_domain
14:35:21 41842   ├─────result:
14:35:21 41842   ╰───skipping: result is not used
14:35:21 41842   ╭considering: }}
14:35:21 41842   ├──expanding:
14:35:21 41842   ╰─────result:
14:35:21 41842  ├──expanding:
${lookup{$sender_address_domain}lsearch*@{/etc/exim4/dkim/dkim_files}{$sender_address_domain}{}}
14:35:21 41842  ╰─────result:
14:35:21 41842 DKIM: no viable signatures to use

I've read several articles about it. And I understood that empty field
mail-from is normal for bounce-messages. But how resolve problem with
google and other?
Thanks in advance!