cetanu / sender_policy_flattener

Compact large SPF chains into flat blocks of IP addresses
MIT License
35 stars 17 forks source link

Concern about SPF of remind mail #13

Open hughwangmail opened 2 years ago

hughwangmail commented 2 years ago

Hi. Thank you very for your sharing about the solution for SPF flattener. I have a concern about the notification mail: If the From address is xxx@test.com and I apply this service in a server (IP:1.2.3.4). For sending the notification successfully, I have to add IP:1.2.3.4 to SPF record of 'test.com'. Am I right?

cetanu commented 2 years ago

Hello there,

You are correct; if the server is attempting to send from a domain that is protected by an SPF record, it must send from an IP address within the SPF record