2015-06-25 14:34:33 +02:00
|
|
|
twistd-mail
|
|
|
|
===========
|
|
|
|
|
2015-06-26 04:42:57 +02:00
|
|
|
An SMTP / POP3 email server plugin for twistd.
|
|
|
|
|
2015-06-25 14:34:33 +02:00
|
|
|
## docker-compose.yml
|
|
|
|
|
|
|
|
```
|
|
|
|
tmail:
|
|
|
|
image: vimagick/tmail
|
|
|
|
ports:
|
|
|
|
- "25:25"
|
|
|
|
- "110:110"
|
|
|
|
volumes:
|
|
|
|
- mail:/var/mail
|
|
|
|
environment:
|
|
|
|
- MAIL_NAME=domain.org
|
|
|
|
- MAIL_PATH=/var/mail
|
|
|
|
- MAIL_USER=user
|
|
|
|
- MAIL_PASS=pass
|
|
|
|
restart: always
|
|
|
|
```
|
2015-06-26 04:42:57 +02:00
|
|
|
|
2015-06-26 09:27:50 +02:00
|
|
|
> You can pass additional arguments via environment variable `MAIL_OPTS`:
|
|
|
|
>> `MAIL_OPTS=--user=admin=admin`
|
|
|
|
|
2015-06-26 04:42:57 +02:00
|
|
|
## server
|
|
|
|
|
|
|
|
```
|
|
|
|
$ docker-compose up -d
|
|
|
|
```
|
|
|
|
|
|
|
|
## client
|
|
|
|
|
|
|
|
- POP3: domain.org:110
|
|
|
|
- USER: user@domain.org
|
|
|
|
- PASS: pass
|
|
|
|
|
|
|
|
## todo
|
|
|
|
|
|
|
|
- [x] receive email via pop3
|
|
|
|
- [ ] send email via smtp
|
|
|
|
|