ansible-msmtp-mailer/defaults/main.yml

31 lines
881 B
YAML
Raw Normal View History

2014-03-21 19:16:55 +00:00
---
msmtp_accounts:
#Account 1
- account : gmail
host : smtp.gmail.com
2014-03-21 19:16:55 +00:00
port : 587
auth : "on"
from : username@gmail.com
user : username@gmail.com
password : plain-text-password1
2014-03-21 19:16:55 +00:00
#Account 2
- account : mysmtp
host : smtp.example
2014-03-21 19:16:55 +00:00
port : 587
auth : "on"
from : admin@example.org
user : myuser@example.org
password : plain-text-password2
2014-03-21 19:16:55 +00:00
msmtp_default_account: mysmtp
msmtp_domain : example.org
2014-03-21 19:16:55 +00:00
## Logging (Select A) "syslog" or B) "file" logging or C) "no" log
#msmtp_log : "syslog"
msmtp_logfile : /var/log/msmtp.log
2014-03-21 19:16:55 +00:00
## 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