based on default debian autogenerated 'smarthost' config.
run via daemontools http://cr.yp.to/daemontools.html exim default log: /var/log/exim4/mainlog debug log: /var/log/exim/current
if you want to use TLS authorization with smarthost, create passwd.client file in working directory and run docker image with key
-v $pwd:/mnt
init scripts will copy it to /etc/exim4/passwd.client
https://wiki.debian.org/GmailAndExim4
... Gmail provides SMTP under the name smtp.gmail.com . You can get the canonical host names of these servers by running:
$ host smtp.gmail.com smtp.gmail.com is an alias for gmail-smtp-msa.l.google.com. gmail-smtp-msa.l.google.com has address 74.125.127.109 gmail-smtp-msa.l.google.com has address 74.125.127.108So gmail*.google.com matches all the real host names.
The authentication information for the external SMTP service is stored in /etc/exim4/passwd.client. Run
# editor /etc/exim4/passwd.clientand add the following lines:
*.google.com:[email protected]:y0uRpaSsw0RD...
Content type
Image
Digest
sha256:1c8f8ba1e…
Size
105.8 MB
Last updated
almost 11 years ago
docker pull netflash/docker-exim4-gitlab