Jaymon / stockton

Quickly setup an email server to forward a personal domain to any email address
Other
4 stars 0 forks source link

Postsrsd and dynamic domains #48

Closed Jaymon closed 6 years ago

Jaymon commented 7 years ago

https://github.com/roehling/postsrsd/issues/31

I had never thought of this but I tell postsrsd what domain to use on the rewrites, but it would be way cooler if it got an email: foo@example.com and just used example.com as the email address, sadly, it doesn't look like this is possible.

iwikus commented 6 years ago

Hi, this feature is important for DMARC. If you setup DMARC record, it is required to have all headers "aligned" = from same domain (or subdomain) https://stackoverflow.com/questions/23984309/dmarc-says-spf-fail-even-with-spf-record

With Postsrsd return-path si rewritten to value in SRS_DOMAIN, which will trigger DMARC report with spf failure.

See 3. Verify domain alignment in https://returnpath.com/downloads/authenticating-email-dmarc-spf-dkim-quick-start-guide/

Yes, it is stupid DMARC requirement :(

Jaymon commented 6 years ago

You're right! I spaced on the problems this would cause for DMARC since I don't use DMARC personally and Stockton isn't set up to take advantage of it, but I definitely don't want to make it harder for Stockton to implement DMARC in the future.

Thanks for the heads up!