After having hosted my own postfix server, including SPF, DKIM and DMARC for years, I finally gave up since there were still fluctuating delivery issues for outgoing mail. So the plan is to use an an external service as relay for outgoing mail, handling generated transactional mails like user registrations and such. (there’s still a postfix running on that box)

For now, I’ve chosen smtp2go which requires sender verification, which is fine for those transactional outgoing mails whose sender is always the same.

With my completely self-hosted setup, I forwarded incoming email to an info address on that domain to my gmail address (to avoid an additional inbox). But unfortunately, that doesn’t work with smtp2go because the actual sender for a to be forwarded email is obviously someone who’s not a verified sender from smtp2go’s perspective and therefor bounces. I suspect other smtp providers might handle that the same way.

The only option I see now is to leave incoming mail on that server, install dovecot or something and setup my main google address to pull messages from that server - which is kind of awkward…

How do you guys deal with such a scenario?

  • bz386@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    I haven’t tried it myself, but SRS (Sender Rewriting Scheme) might work for your use case. It is designed to route bounces back through a chain of email servers and is specifically supposed to solve your forwarding scenario. There’s PostSRSd that can add this capability to Postfix.

    Otherwise you really need a SMTP relay that is not focused on transactional emails, but I’m not aware of any free ones (for obvious reasons). Services like pobox.com or mxroute.com might be usable as SMTP relays, but they obviously have a cost, which might not be worth it.

    I was in the same situation and eventually caved in and just routed all my personal email and domains to Fastmail, and only use smtp2go for transactional emails sent by my servers.

    • ItchyWeight@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Interesting, although I have to admit, this brings back memories of dealing with sendmail rewrite rules back in the 90s when I had to maintain a uucp based mailserver as an intern ;-) I’ll have look, thanks!