mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 10:05:00 +02:00
Update relayhost_map with virtual accounts too
Previously, only postfix-relaymap.cf and postfix-accounts.cf would be used to populate the relayhost_map file. Now, also use postfix-virtual.cf when present. To me, there is nothing absurd about sending mail "From:" a virtual account (or more specifically its domain) so it makes sense that when a $RELAY_HOST is defined it should be used for virtual accounts as well.
This commit is contained in:
parent
1286a1266b
commit
42352a3259
4 changed files with 25 additions and 3 deletions
1
test/config/relay-hosts/postfix-virtual.cf
Normal file
1
test/config/relay-hosts/postfix-virtual.cf
Normal file
|
@ -0,0 +1 @@
|
|||
@domain1.tld user1@domainone.tld
|
Loading…
Add table
Add a link
Reference in a new issue