2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00
This commit is contained in:
kev
2016-01-31 19:40:31 +08:00
parent e1dd60c0e1
commit 8728647972
2 changed files with 4 additions and 3 deletions

View File

@@ -36,9 +36,9 @@ nullmailer:
$ cd ~/fig/nullmailer
$ docker-compose up -d
# send test email
$ alias sendmail='docker exec -i nullmailer sendmail'
$ echo -e 'Subject: hello\r\n\r\nworld' | sendmail username@gmail.com
# send email (from gmail to yahoo)
$ alias sendmail='docker exec -i nullmailer sendmail -f username@gmail.com'
$ echo -e 'Subject: hello\r\n\r\nworld' | sendmail username@yahoo.com
```
[1]: http://untroubled.org/nullmailer/