Open cgraf-spiria opened 2 weeks ago
Adding override for origin domain.
In my case, my sending domain is foo.bar.com but the current script only keeps bar.com and my relay SMTP refuses the email. By allowing to override the default behaviour, I can set the origin domain to the correct value.
foo.bar.com
bar.com
Fixes issue: https://github.com/juanluisbaptiste/docker-postfix/issues/84
Simple bash "if value is not defined" it does the previous behaviour.
.env.example
Description of the change
Adding override for origin domain.
Motivation and Context
In my case, my sending domain is
foo.bar.com
but the current script only keepsbar.com
and my relay SMTP refuses the email. By allowing to override the default behaviour, I can set the origin domain to the correct value.Fixes issue: https://github.com/juanluisbaptiste/docker-postfix/issues/84
How Has This Been Tested?
Simple bash "if value is not defined" it does the previous behaviour.
Types of Changes
Checklist:
.env.example
file accordingly.