juanluisbaptiste / docker-postfix

Simple SMTP relay docker image.
GNU General Public License v3.0
336 stars 166 forks source link

feat: Add override for origin domain #117

Open cgraf-spiria opened 2 weeks ago

cgraf-spiria commented 2 weeks ago

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 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.

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: