2014-03-21 19:16:55 +00:00
|
|
|
---
|
|
|
|
msmtp_accounts:
|
2018-05-07 09:53:56 +00:00
|
|
|
# Account 1 - a real account for testing
|
|
|
|
- account : yandex
|
|
|
|
host : smtp.yandex.com
|
2014-03-21 19:16:55 +00:00
|
|
|
port : 587
|
|
|
|
auth : "on"
|
2018-05-07 09:53:56 +00:00
|
|
|
from : emailer-tests@yandex.com
|
|
|
|
user : emailer-tests@yandex.com
|
|
|
|
password : pKiMAH7yoeTgEMTNscpV
|
2014-03-21 19:16:55 +00:00
|
|
|
#Account 2
|
2018-04-28 18:21:08 +00:00
|
|
|
- account : mysmtp
|
|
|
|
host : smtp.example
|
2014-03-21 19:16:55 +00:00
|
|
|
port : 587
|
|
|
|
auth : "on"
|
2018-04-28 18:21:08 +00:00
|
|
|
from : admin@example.org
|
|
|
|
user : myuser@example.org
|
|
|
|
password : plain-text-password2
|
2014-03-21 19:16:55 +00:00
|
|
|
|
2018-05-07 09:53:56 +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
|
2018-05-07 09:53:56 +00:00
|
|
|
msmtp_log : file
|
2018-04-28 18:21:08 +00:00
|
|
|
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 )
|
2018-05-07 09:53:56 +00:00
|
|
|
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 09:53:56 +00:00
|
|
|
msmtp_send_test_mail: yes
|