Hello,
I have multiple domains configured in Mailcow.
DOMAIN1.org and DOMAIN2.org have strictly the same DNS configuration ( excepted of course the DKIM key).
The configuration inside Mailcow is exactly the same for theses 2 domains.
But, when I want to send an email from one of these domain to my personal gmail account, the DOMAIN2.org is rejected for DMARC policy.
« host gmail-smtp-in.l.google.com[2a00:1450:400c:c07::1a] said: 550-5.7.26
Unauthenticated email from DOMAIN2.org is not accepted due to domain’s
550-5.7.26 DMARC policy. Please contact the administrator of DOMAIN2.org
domain 550-5.7.26 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. v9si16290456wru.62 - gsmtp (in reply to end of
DATA command) »
I’ve check the postfix/rspamd logs, it’s very similar, excepted one line of the rejection from Google.
Do you have any idea to help us please?
POSTFIX
08/09/2020 à 11:25:52 info 0F7063FE8C: removed
08/09/2020 à 11:25:52 info 0F7063FE8C: to=<MYACCOUNT@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.133.27]:25, delay=0.72, delays=0.29/0.01/0.13/0.29, dsn=2.0.0, status=sent (250 2.0.0 OK 1599557152 e4si3949041wrn.112 - gsmtp)
08/09/2020 à 11:25:52 info 0F7063FE8C: replace: header Received: from [IPv6:2001:861:(MY-LAPTOP-IPv6):9aef:5394]: Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 0F7063FE8C??for <MYACCOUNT@gmail.com>; Tue, 8 Sep 2020 11:25:51 +0200 (CEST)
08/09/2020 à 11:25:52 info Trusted TLS connection established to gmail-smtp-in.l.google.com[74.125.133.27]:25: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256)
08/09/2020 à 11:25:52 info disconnect from unknown[2001:861:(MY-LAPTOP-IPv6):9aef:5394] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
08/09/2020 à 11:25:52 info 0F7063FE8C: from=<guillaume@DOMAIN1.org>, size=952, nrcpt=1 (queue active)
08/09/2020 à 11:25:52 info 0F7063FE8C: message-id=<ca2b8985-6f04-1092-b900-3ac7cc7e45eb@DOMAIN1.org>
08/09/2020 à 11:25:52 info 0F7063FE8C: client=unknown[2001:861:(MY-LAPTOP-IPv6):9aef:5394], sasl_method=PLAIN, sasl_username=guillaume@DOMAIN1.org
08/09/2020 à 11:25:51 info Anonymous TLS connection established from unknown[2001:861:(MY-LAPTOP-IPv6):9aef:5394] to mail.w3b.solutions: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)
08/09/2020 à 11:25:51 info connect from unknown[2001:861:(MY-LAPTOP-IPv6):9aef:5394]
08/09/2020 à 11:25:35 info AE01741199: removed
08/09/2020 à 11:25:35 info AE01741199: to=<guillaume@DOMAIN2.org>, relay=dovecot[fd4d:6169:6c63:6f77::d]:24, delay=0.08, delays=0/0.02/0.02/0.04, dsn=2.0.0, status=sent (250 2.0.0 <guillaume@DOMAIN2.org> KRTOLA9OV19DbgAA/2lAzA Saved)
08/09/2020 à 11:25:35 info C63333FEDC: removed
08/09/2020 à 11:25:35 info AE01741199: from=<>, size=4336, nrcpt=1 (queue active)
08/09/2020 à 11:25:35 info C63333FEDC: sender non-delivery notification: AE01741199
08/09/2020 à 11:25:35 info AE01741199: message-id=<20200908092535.AE01741199@mail.w3b.solutions>
08/09/2020 à 11:25:35 info C63333FEDC: to=<MYACCOUNT@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.133.27]:25, delay=0.96, delays=0.24/0.03/0.29/0.4, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[74.125.133.27] said: 550-5.7.26 Unauthenticated email from DOMAIN2.org is not accepted due to domain's 550-5.7.26 DMARC policy. Please contact the administrator of DOMAIN2.org domain 550-5.7.26 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. u132si8669766wmu.144 - gsmtp (in reply to end of DATA command))
08/09/2020 à 11:25:35 info C63333FEDC: replace: header Received: from [IPv6:2001:861:(MY-LAPTOP-IPv6):9aef:5394]: Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id C63333FEDC??for <MYACCOUNT@gmail.com>; Tue, 8 Sep 2020 11:25:34 +0200 (CEST)
08/09/2020 à 11:25:35 info Trusted TLS connection established to gmail-smtp-in.l.google.com[74.125.133.27]:25: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256
08/09/2020 à 11:25:35 info disconnect from unknown[2001:861:(MY-LAPTOP-IPv6):9aef:5394] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
08/09/2020 à 11:25:34 info C63333FEDC: from=<guillaume@DOMAIN2.org>, size=952, nrcpt=1 (queue active)
08/09/2020 à 11:25:34 info C63333FEDC: message-id=<b653f5e1-00fc-e03d-5f86-e2c476babc96@DOMAIN2.org>
08/09/2020 à 11:25:34 info C63333FEDC: client=unknown[2001:861:(MY-LAPTOP-IPv6):9aef:5394], sasl_method=PLAIN, sasl_username=guillaume@DOMAIN2.org
08/09/2020 à 11:25:34 info Anonymous TLS connection established from unknown[2001:861:(MY-LAPTOP-IPv6):9aef:5394] to mail.w3b.solutions: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)
08/09/2020 à 11:25:34 info connect from unknown[2001:861:(MY-LAPTOP-IPv6):9aef:5394]
RSPAMD
08/09/2020 à 11:25:52 guillaume@DOMAIN1.org MYACCOUNT@gmail.com no action
[ -20.10 / 15 ] guillaume@DOMAIN1.org
IP address 2001:861:(MY-LAPTOP-IPv6):9aef:5394
Subject test
Symbols MAILCOW_AUTH (-20)
MIME_GOOD (-0.1) [text/plain]
ASN (0) [asn:5410, ipnet:2001:860::/29, country:FR]
MAILCOW_DOMAIN_HEADER_FROM (0) [DOMAIN1.org]
TO_MATCH_ENVRCPT_ALL (0)
RCVD_COUNT_ZERO (0) [0]
RCPT_COUNT_ONE (0) [1]
FROM_HAS_DN (0)
FROM_EQ_ENVFROM (0)
FREEMAIL_ENVRCPT (0) [gmail.com]
MID_RHS_MATCH_FROM (0)
ARC_NA (0)
DKIM_SIGNED (0)
FREEMAIL_TO (0) [gmail.com]
MIME_TRACE (0) [0:+]
TAGGED_RCPT (0)
TO_DN_ALL (0)
DYN_RL_CHECK (0)
Msg size 452 B
Scan time 0.074
ID ca2b8985-6f04-1092-b900-3ac7cc7e45eb@DOMAIN1.org
08/09/2020 à 11:25:34 guillaume@DOMAIN2.org MYACCOUNT@gmail.com no action
[ -20.10 / 15 ] guillaume@DOMAIN2.org
IP address 2001:861:(MY-LAPTOP-IPv6):9aef:5394
Subject test
Symbols MAILCOW_AUTH (-20)
MIME_GOOD (-0.1) [text/plain]
ASN (0) [asn:5410, ipnet:2001:860::/29, country:FR]
MAILCOW_DOMAIN_HEADER_FROM (0) [DOMAIN2.org]
TO_MATCH_ENVRCPT_ALL (0)
RCVD_COUNT_ZERO (0) [0]
RCPT_COUNT_ONE (0) [1]
FROM_HAS_DN (0)
FROM_EQ_ENVFROM (0)
FREEMAIL_ENVRCPT (0) [gmail.com]
MID_RHS_MATCH_FROM (0)
ARC_NA (0)
DKIM_SIGNED (0)
FREEMAIL_TO (0) [gmail.com]
MIME_TRACE (0) [0:+]
TAGGED_RCPT (0)
TO_DN_ALL (0)
DYN_RL_CHECK (0)
Msg size 452 B
Scan time 0.078
ID b653f5e1-00fc-e03d-5f86-e2c476babc96@DOMAIN2.org