mailcow-dockerized
mailcow-dockerized copied to clipboard
Improve send-as behaviour
Receiving mails for wildcard alias addresses is really easy – but sending mails from those any-aliases was not possible at all unless every sender address was added as an explicit alias to the database.
By this change in the database query for allowed sender addresses, the first finding not NULL
(see SELECT COALESCE
for how it works) – either an exact alias [email protected]
or the wildcard alias @domain.tld
will be allowed to send mails as the given address ... without the need of explicit definition within the database.
I hope, you find this change useful and consider adding this feature to the official project =)
Forgot to approve.
@DerLinkman We should not forget to increase the image version.
@macwinnie can you increase the Image Tag inside of the docker-compose.yml for Postfix +1?
@DerLinkman done the docker-compose.yml
update.