Sign inSign up

selim13/exim-gmail-relay

By selim13

•Updated about 7 years ago

A very basic image for relaying your mail via gmail SMTP servers using Exim4

Image
1

100K+

selim13/exim-gmail-relay repository overview

⁠exim-gmail-relay

A very basic image for relaying your mail via gmail SMTP servers using Exim4.

Launch the container with your gmail credentials by specifying EXIM_GMAIL_LOGIN and EXIM_GMAIL_PASSWORD environment variables:

$ docker run --name exim-gmail-relay      \
    -e [email protected] \
    -e EXIM_GMAIL_PASSWORD=qwerty         \
    -d selim13/exim-gmail-relay:latest

Or just mount /etc/exim/conf.d/authenticators.conf as a volume and put your credentials there.

You can always put your additional configuration either to /etc/exim/exim.conf or to the following included files:

  • /etc/exim/conf.d/main.conf
  • /etc/exim/conf.d/acl.conf
  • /etc/exim/conf.d/routers.conf
  • /etc/exim/conf.d/transports.conf
  • /etc/exim/conf.d/retry.conf
  • /etc/exim/conf.d/rewrite.conf
  • /etc/exim/conf.d/authenticators.conf
  • /etc/exim/conf.d/local_scan.conf

⁠Environment variables

⁠EXIM_RELAY_FROM_HOSTS

Sets relay_from_hosts host list which is used in acl checks.

Default value: 10.0.0.0/8 : 172.16.0.0/12 : 192.168.0.0/16

⁠EXIM_GMAIL_LOGIN

Login for you gmail account.

⁠EXIM_GMAIL_PASSWORD

Password for you gmail account.

Tag summary

Content type

Image

Digest

Size

4.9 MB

Last updated

about 7 years ago

docker pull selim13/exim-gmail-relay