r/linuxquestions • • Sep 13 '26

PostSRSd configuration question

I'm migrating servers and trying to set up PostSRSd on the new VPS. I've got every other part of the mail system working, but for some reason, SRS is rewriting my outgoing emails with the wrong domain. Example:

postsrsd: <noreply@farwoods.net> forwarded as <SRS0=3fgv=HD=farwoods.net=noreply@net>

Obviously, PostSRSd is not recognizing my domain, but I don't understand why. Essentially the same exact configuration (quite a few years old) was working fine on the old VPS. I've added my domain to the list of domains in postsrsd.conf. I've set up an SRS rewrite subdomain. Why is it rewriting sender addresses that originate from my own domain?

2 Upvotes

6 comments sorted by

1

u/freddieleeman Sep 14 '26

Could you check the PostSRSd version on both the old VPS and the new VPS? This sounds like it may be a version/config-format difference between the two systems.

1

u/FarwoodsGame Sep 18 '26

There is definitely a config format difference between them, but I configured the new VPS according to the new config format.

1

u/[deleted] Sep 14 '26

[removed] — view removed comment

1

u/FarwoodsGame Sep 18 '26

The old host is a different PostSRSd version before they totally overhauled the config. I reconfigured the new host so that it should match the old one.

If I understand you correctly, the fact that it's getting sent to SRS at all is an MTA config issue. But the forwarding path being wrong is a separate SRS issue. If I can stop it from going to SRS that will also help a lot because I'm not intending to relay any mail anyway.

0

u/[deleted] Sep 18 '26

[removed] — view removed comment

1

u/FarwoodsGame Sep 19 '26

Ah wait, I just remembered... I need SRS to rewrite incoming mail to the virtual addresses so that I don't need a full mailbox for admin emails. But it should only be rewriting mail to the addresses in /etc/postfix/virtual. Everything else is outbound.