2018-04-24 04:09:06 +00:00
|
|
|
# Easy Mailer Configurator
|
|
|
|
#### Postfix + OpenDKIM + CloudFlare
|
|
|
|
|
|
|
|
Because setting up DKIM on many servers and domains can be boring.
|
|
|
|
|
|
|
|
This is just an automation of a [tutorial](https://fatorbinario.com/linux-como-autenticar-emails-com-dkim-e-postfix/).
|
|
|
|
|
|
|
|
## Environment
|
|
|
|
|
2018-04-24 06:09:38 +00:00
|
|
|
- Ubuntu Server
|
2018-04-24 06:08:39 +00:00
|
|
|
- Python 3.6+
|
2018-04-24 04:09:06 +00:00
|
|
|
|
|
|
|
## Running
|
|
|
|
|
|
|
|
Create a text file on `/srv/easymail.cfg`. The lines of this files are:
|
|
|
|
|
|
|
|
1. Your email which is your login on CloudFlare
|
|
|
|
2. Your CloudFlare API token
|
2018-08-31 03:38:14 +00:00
|
|
|
3. Email for DMARC reports
|
|
|
|
4. Server's IP v4
|
|
|
|
5. Server's IP v6
|
|
|
|
6. domain 1
|
|
|
|
7. domain 2
|
|
|
|
8. domain 3
|
|
|
|
9. ...
|
2018-04-24 04:09:06 +00:00
|
|
|
|
|
|
|
Run `make` as root.
|