7153155289
will remove other MTAs, added Vagrantfile
31 lines
881 B
YAML
Executable file
31 lines
881 B
YAML
Executable file
---
|
|
msmtp_accounts:
|
|
#Account 1
|
|
- account : gmail
|
|
host : smtp.gmail.com
|
|
port : 587
|
|
auth : "on"
|
|
from : username@gmail.com
|
|
user : username@gmail.com
|
|
password : plain-text-password1
|
|
#Account 2
|
|
- account : mysmtp
|
|
host : smtp.example
|
|
port : 587
|
|
auth : "on"
|
|
from : admin@example.org
|
|
user : myuser@example.org
|
|
password : plain-text-password2
|
|
|
|
msmtp_default_account: mysmtp
|
|
msmtp_domain : example.org
|
|
|
|
## Logging (Select A) "syslog" or B) "file" logging or C) "no" log
|
|
#msmtp_log : "syslog"
|
|
msmtp_logfile : /var/log/msmtp.log
|
|
|
|
## Aliases mail account ( only msmtp_alias_default is required the rest is optional )
|
|
msmtp_alias_default : devops@example.org
|
|
msmtp_alias_root : root@example.org
|
|
msmtp_alias_cron : cron@example.org
|