You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-07 23:03:10 +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:
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
|
Reference in New Issue
Block a user