juanluisbaptiste / docker-postfix

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

fix: Allow localhost #107

Open JamesCullum opened 10 months ago

JamesCullum commented 10 months ago

Description of the change

The whitelist does not work if the container is in the host network, as postfix does not allow sending from localhost. This simple change allows localhost to send emails as well.

Motivation and Context

Using the host network does not work.

How Has This Been Tested?

Tested the change locally successful

Types of Changes

Checklist:

And lastly, many thanks for taking your time to help us improve this project !