docker-postfix | Postfix Docker Image with great flexibility | Continuous Deployment library
kandi X-RAY | docker-postfix Summary
kandi X-RAY | docker-postfix Summary
Postfix Docker Image with great flexibility
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-postfix
docker-postfix Key Features
docker-postfix Examples and Code Snippets
docker run --rm -t -i \
--name smtp \
-v $(pwd)/spool:/var/spool/postfix:rw \
-e MAILNAME=mail1.example.com \
-e RELAYHOST_AUTH='yes' \
-e RELAYHOST='[smtp.sendgrid.net]:587' \
-e RELAYHOST_PASSWORDMAP="[smtp.sendgrid.net]:587:apikey:" \
echo -e "To: Bob \nFrom: Bill \nSubject: Test email\n\nThis is a test email message" | mailx -v -S smtp=smtp://... -S from=bill@example.com -t
# With TLS
echo -e "To: Bob \nFrom: Bill \nSubject: Test email\n\nThis is a test email message" | mailx -v
POSTCONF=masquerade_domains=foo.example.com example.com;masquerade_exceptions=root,mailer-daemon
Community Discussions
Trending Discussions on docker-postfix
QUESTION
I've recently used the docker images provided for Taiga6 to run an instance using docker-compose on Ubuntu 20.04.
Everything seems to work fine, except that I can't seem to get email working quite right. I use Gmail for my company's email, foamfactory.io, but the gmail smtp relay seems to be... finicky at best.
I decided to try using https://github.com/bokysan/docker-postfix to have a simple SMTP relay set up as part of the docker-compose.yml file. I can get the email server to start fine, and it will send emails as expected when I connect to the taiga-back container, install cURL, and run the following command:
...ANSWER
Answered 2021-Feb-12 at 17:21It turns out that the problem was that IP-based authentication was failing for the SMTP server in question (Django did actually tell me this, but I wasn't able to interpret it correctly at the time - I thought it was a Django problem, not a postfix/smtp host problem).
The solution was, in my SMTP server, to add the lines:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-postfix
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page