I'll preface by saying I am new to PMG.
Forwarding to another email address is enabled in the hotmail account.
It seems for most this work with spf enabled in PMG, but an email from openwrt.org failed.
The log is pretty sparse, here's the sanitized lines. This is all that shows up for this session.
PMG 8.0
Looking at the original received email at hotmail.com it does show the validated ip from openwrt.org's spf record, but appears on this redirect message that got lost and it's doing the validation against the redirecting server's ip.
Forwarding to another email address is enabled in the hotmail account.
It seems for most this work with spf enabled in PMG, but an email from openwrt.org failed.
The log is pretty sparse, here's the sanitized lines. This is all that shows up for this session.
PMG 8.0
Code:
2023-07-23T18:29:55.172047-05:00 pmgserver postfix/smtpd[6328]: connect from mail-dm6nam11lp2177.outbound.protection.outlook.com[104.47.57.177]
2023-07-23T18:29:55.392586-05:00 pmgserver postfix/smtpd[6328]: NOQUEUE: reject: RCPT from mail-dm6nam11lp2177.outbound.protection.outlook.com[104.47.57.177]: 554 5.7.1 <userabc@domain.com>: Recipient address rejected: Rejected by SPF: 104.47.57.177 is not a designated mailserver for mail%40forum.openwrt.org (context mfrom, on pochta2.local.domain); from=<mail@forum.openwrt.org> to=<userabc@domain.com> proto=ESMTP helo=<NAM11-DM6-obe.outbound.protection.outlook.com>
2023-07-23T18:29:55.392680-05:00 pmgserver postfix/smtpd[6328]: using backwards-compatible default setting smtpd_relay_before_recipient_restrictions=no to reject recipient "userabc@domain.com" from client "mail-dm6nam11lp2177.outbound.protection.outlook.com[104.47.57.177]"
2023-07-23T18:29:55.448906-05:00 pmgserver postfix/smtpd[6328]: disconnect from mail-dm6nam11lp2177.outbound.protection.outlook.com[104.47.57.177] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6
Looking at the original received email at hotmail.com it does show the validated ip from openwrt.org's spf record, but appears on this redirect message that got lost and it's doing the validation against the redirecting server's ip.