Still Seeing rp.postal.example.com in My Return-Path After Custom Setup #3302
Replies: 3 comments 3 replies
-
Did you edit your local config file? I'm not sure changes in the container would persist through restarting them. |
Beta Was this translation helpful? Give feedback.
-
Yes, I’m editing the /opt/postal/postal/config/postal.yml file on my host (not just inside the container). My Docker Compose setup binds ./postal/config to /config in the container, so those edits persist. I’ve confirmed via docker exec -it postal_postal-web_1 cat /config/postal.yml that the updated lines are visible inside the container. Even after docker-compose down && docker-compose up -d, though, I still see rp.postal.example.com in the outgoing Return-Path. That’s why I’m suspecting a leftover reference in the Postal DB or some fallback logic ignoring the updated config. Let me know if there’s another place I should be updating the domain references! |
Beta Was this translation helpful? Give feedback.
-
Yeah I'm sending new messages out and every time it references example.com |
Beta Was this translation helpful? Give feedback.
-
Hey everyone,
I’ve been trying to get Postal to use my custom bounce domain (psrp.makra.ca) instead of rp.postal.example.com in the Return-Path. Here’s a quick rundown of what I did:
Created a new organization and server (deleted the old one).
Verified DKIM/SPF for my main domain makra.ca.
Set return_path in /opt/postal/postal/config/postal.yml to:
return_path:
prefix: psrp
domain: makra.ca
Removed any mention of rp.postal.example.com I could find in the Postal UI and tried the Rails console to check domains/servers.
Restarted Postal containers and tested sending emails via Mautic with new SMTP credentials.
Despite all that, every sent email still shows a Return-Path like ...@rp.postal.example.com rather than ...@psrp.makra.ca. My DNS for psrp.makra.ca is an A record pointing to my Postal server, plus a small SPF record for bounces. Everything else seems to work fine—I just can’t shake off the old default bounce domain.
Any ideas on where Postal might still be storing rp.postal.example.com? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions