Hello.
I'm running on a Linode VPS Postfix for a couple of virtual domains. Those domains are configured as virtual mailbox domains.
One of those domains is a family domain which I would like to forward one address to a few @gmail.com addresses.
I'm getting multiple bounces from Gmail saying that the emails were blocked because they seem spam.
At first I thought I have missconfigured myfamily.com DNS. I got SPF, DKIM, and DMARC configured for myfamily.com but the problem is obviously the forwards are failing because myfamily.com is not listed as a valid source in SPF for the originating email. I installed postsrsd to rewrite those addresses but the mail keeps bouncing. It's a similar issue should be happening with mailing lists. Any ideas how it's dealt in those cases?
Thanks!
I'm running on a Linode VPS Postfix for a couple of virtual domains. Those domains are configured as virtual mailbox domains.
One of those domains is a family domain which I would like to forward one address to a few @gmail.com addresses.
I'm getting multiple bounces from Gmail saying that the emails were blocked because they seem spam.
Code:
Jun 9 03:20:07 xx-yy-zz-aa postfix/smtpd[75263]: connect from ns1g-b.incoming-domain.com[10.20.30.10]
Jun 9 03:20:09 xx-yy-zz-aa postfix/smtpd[75263]: 339B7174497: client=ns1g-b.incoming-domain.com[10.20.30.10]
Jun 9 03:20:09 xx-yy-zz-aa postfix/cleanup[75268]: 339B7174497: message-id=<2b8521b0b13464f82d0bbfb55c90d4f1@rx099.cajval.incoming-domain.com>
Jun 9 03:20:09 xx-yy-zz-aa opendkim[27128]: 339B7174497: ns1g-b.incoming-domain.com [10.20.30.10] not internal
Jun 9 03:20:09 xx-yy-zz-aa opendkim[27128]: 339B7174497: not authenticated
Jun 9 03:20:09 xx-yy-zz-aa postfix/qmgr[27221]: 339B7174497: from=<noreply@originatingdomain.com>, size=2427, nrcpt=4 (queue active)
Jun 9 03:20:10 xx-yy-zz-aa postfix/smtp[75270]: 339B7174497: to=<email2@gmail.com>, orig_to=<invoices@myfamily.com>, relay=gmail-smtp-in.l.google.com[172.253.115.26]:25, delay=2.8, delays=2.1/0.02/0.26/0.35, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[172.253.115.26] said: 550-5.7.26 This message fails to pass SPF checks for an SPF record with a hard 550-5.7.26 fail policy (-all). To best protect our users from spam and 550-5.7.26 phishing, the message has been blocked. Please visit 550-5.7.26 https://support.google.com/mail/answer/81126#authentication for more 550 5.7.26 information. u14-20020a05622a14ce00b00304def15cb0si9891148qtx.221 - gsmtp (in reply to end of DATA command))
Jun 9 03:20:10 xx-yy-zz-aa postfix/smtp[75270]: 339B7174497: to=<email1@gmail.com>, orig_to=<invoices@myfamily.com>, relay=gmail-smtp-in.l.google.com[172.253.115.26]:25, delay=2.8, delays=2.1/0.02/0.26/0.35, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[172.253.115.26] said: 550-5.7.26 This message fails to pass SPF checks for an SPF record with a hard 550-5.7.26 fail policy (-all). To best protect our users from spam and 550-5.7.26 phishing, the message has been blocked. Please visit 550-5.7.26 https://support.google.com/mail/answer/81126#authentication for more 550 5.7.26 information. u14-20020a05622a14ce00b00304def15cb0si9891148qtx.221 - gsmtp (in reply to end of DATA command))
Jun 9 03:20:10 xx-yy-zz-aa postfix/smtp[75269]: 339B7174497: to=<email3@gmail.com>, orig_to=<invoices@myfamily.com>, relay=aspmx.l.google.com[172.253.122.27]:25, delay=2.9, delays=2.1/0.01/0.38/0.41, dsn=2.0.0, status=sent (250 2.0.0 OK 1654755614 j21-20020a05620a411500b006a6f8d26e7dsi2941964qko.122 - gsmtp)
Jun 9 03:20:11 xx-yy-zz-aa postfix/smtp[75271]: 339B7174497: to=<email4@yahoo.com>, orig_to=<invoices@myfamily.com>, relay=mta7.am0.yahoodns.net[67.195.228.106]:25, delay=4, delays=2.1/0.03/0.8/1.1, dsn=2.0.0, status=sent (250 ok dirdel)
Jun 9 03:20:11 xx-yy-zz-aa postfix/cleanup[75268]: 6F48D177531: message-id=<20220609062011.6F48D177531@xx-yy-zz-aa.ip.linodeusercontent.com>
Jun 9 03:20:11 xx-yy-zz-aa postfix/bounce[75272]: 339B7174497: sender non-delivery notification: 6F48D177531
Jun 9 03:20:11 xx-yy-zz-aa postfix/qmgr[27221]: 6F48D177531: from=<>, size=6692, nrcpt=1 (queue active)
Jun 9 03:20:11 xx-yy-zz-aa postfix/qmgr[27221]: 339B7174497: removed
Jun 9 03:20:13 xx-yy-zz-aa postfix/smtp[75270]: 6F48D177531: to=<noreply@originatingdomain.com>, relay=originatingdomain-com.mail.protection.outlook.com[104.47.56.110]:25, delay=2, delays=0.01/0/0.36/1.6, dsn=2.6.0, status=sent (250 2.6.0 <20220609062011.6F48D177531@xx-yy-zz-aa.ip.linodeusercontent.com> [InternalId=33612414060097, Hostname=CP2P152MB1409.LAMP152.PROD.OUTLOOK.COM] 15569 bytes in 0.413, 36.801 KB/sec Queued mail for delivery)
Jun 9 03:20:13 xx-yy-zz-aa postfix/qmgr[27221]: 6F48D177531: removed
Jun 9 03:20:14 xx-yy-zz-aa postfix/smtpd[75263]: disconnect from ns1g-b.incoming-domain.com[10.20.30.10] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
At first I thought I have missconfigured myfamily.com DNS. I got SPF, DKIM, and DMARC configured for myfamily.com but the problem is obviously the forwards are failing because myfamily.com is not listed as a valid source in SPF for the originating email. I installed postsrsd to rewrite those addresses but the mail keeps bouncing. It's a similar issue should be happening with mailing lists. Any ideas how it's dealt in those cases?
Thanks!