Adding multiple domains #1987
Replies: 4 comments
-
I've just figured this out from another discussion / issue: Caveats:
What I found worked for me:
If you haven't previously set up custom domains, the DNS entries you'll need set up are: Assuming setting up
If just setting up
|
Beta Was this translation helpful? Give feedback.
-
@BJReplay Didn't you have to modify postfix at all to receive email for the other domain? Otherwise it would just see emails to the additional domain as relaying? |
Beta Was this translation helpful? Give feedback.
-
@brettgus quite possibly - it's been a while 🤣. From what I can see, there's nothing in my docker compose for this, but in my
So, I'm guessing that that's the step I left out of the instructions above Docker compose under my postfix container just has P.S. since setting it up, aside from having to rebuild the docker images myself (since I run on oracle cloud free on arm architecture), this stuff just works. |
Beta Was this translation helpful? Give feedback.
-
Ahh, one difference is that I'm using the instructions from the README to install postfix locally on my machine, it sounds like you're using the docker container postfix. I figured out what the problem was though, in case anyone else runs into this issue. The configuration in the README recommended for /etc/postfix/pgsql-relay-domains.cf is
And for /etc/postfix/pgsql-transport-maps.cf is
However, neither of those accomodate for public_domains, only custom_domains. Tweaking them respectively to add public_domains fixed the issue:
|
Beta Was this translation helpful? Give feedback.
-
Heyo,
I would like to add more domains.
How is that possible?
I can imagine, adding them to the .env file, expanding the SSL-certficate. But what is with Postfix?
I'm not that sure (like here: #1912 )
Thanks for the great work so far, this service is amazing and being able to use it with Bitwarden (Vaultwarden) is perfect!
Greetings
Max
Beta Was this translation helpful? Give feedback.
All reactions