Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add postconf option support #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hkcomori
Copy link

Set Postfix settings like smtp_user.

$ sudo docker run -p 25:25 \
    -e maildomain=mail.example.com -e smtp_user=user:pwd \
    -e postconf=key:value \
    --name postfix -d hkcomori/postfix
# Set multiple configs: -e postconf=key1:value1,key2:value2,...,keyN:valueN
# Restrictions: key, value must not contain `,`, `:`

@thegreeny
Copy link

I would love that fix for setting smtp_tls_security_level, as transport security is turned off by default.
It's neccessary to enable it via smtp_tls_security_level = may of higher, as described here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants