Simple relay-only mail transport agent
50K+
nullmailer is a simple relay-only mail transport agent.
~/fig/nullmailer/
├── Dockerfile
└── nullmailer/
├── adminaddr --> [email protected]
└── remotes --> smtp.gmail.com smtp --port=465 --auth-login --user=username --pass=****** --ssl
Read this to config.
nullmailer:
image: vimagick/nullmailer
cotainer_name: nullmailer
volumes:
- ./nullmailer:/etc/nullmailer
restart: always
# start service
$ cd ~/fig/nullmailer
$ docker-compose up -d
# send email (from gmail to yahoo)
$ alias sendmail='docker exec -i nullmailer sendmail -f [email protected]'
$ echo -e 'Subject: hello\r\n\r\nworld' | sendmail [email protected]
Content type
Image
Digest
Size
6.5 MB
Last updated
over 5 years ago
docker pull vimagick/nullmailer