ansible-msmtp-mailer/defaults/main.yml

37 lines
1.1 KiB
YAML
Raw Normal View History

2014-03-21 19:16:55 +00:00
---
msmtp_accounts:
2018-05-07 14:26:30 +00:00
# Account 1 - a real account for testing (feel free to use it for this role)
- account : yandex
host : smtp.yandex.com
2014-03-21 19:16:55 +00:00
port : 587
auth : "on"
from : emailer-tests@yandex.com
user : emailer-tests@yandex.com
password : pKiMAH7yoeTgEMTNscpV
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: yandex
msmtp_domain : yandex.com
2014-03-21 19:16:55 +00:00
## Logging (Select A) "syslog" or B) "file" logging or C) "no" log
msmtp_log : file
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 : emailer.tests@yandex.com
msmtp_alias_root : emailer.tests@yandex.com
msmtp_alias_cron : emailer.tests@yandex.com
2018-05-07 08:30:03 +00:00
2018-05-07 14:26:30 +00:00
## Only enable, if the smtp account is working
2018-05-07 11:28:54 +00:00
msmtp_send_test_mail: no
2018-05-07 14:26:30 +00:00
## This will remove most other mail transfer agents such as postfix, exim,...!
msmtp_remove_mtas: no