Hi Ross,
On Mon, May 08, 2023 at 08:20:09PM +1200, Ross Younger via BitFolk Users wrote:
I've just learned that some mails to this alias
are being quarantined or
bounced at their ultimate destinations. They're passing SPF (because
envelope-from is postmaster@ my vps) but failing DMARC (the external From
address isn't being rewritten). When the sender has full DMARC enabled, we
lose.
Are you sure they are failing DMARC? DMARC requires *either* SPF
*or* DKIM *or* both. So by having passing SPF your mails should also
pass DMARC.
However, I have seen recipients that reject mails that fail DKIM.
Even though that behaviour is not RFC compliant.
I think I might like to rewrite "From:
foo(a)bar.baz" to something like "From:
postmaster+foo_bar.baz(a)my.domain" in order to satisfy DMARC, but only when
forwarding via this particular alias. I'm not readily figuring out how to do
this, and am leery to tangle with Exim's rewrite rules anyway.
Have you got as far as using SRS? SRS is how you're supposed to do
this sort of thing. I must confess I've never tried. This guide
looks useful:
https://www.kolmann.at/2015/12/add-srs-to-exim-in-debian-without-recompile/
(No I don't run mailman - I used to but I found it
rather tiresome to set
up, feed and water.)
Yeah, mailman 3 is really complex now.
It can actually be easier to run local IMAP mailboxes and have
Hotmail/gmail/etc poll for them.
Which is all very convenient for Hotmail/gmail/etc.
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting