| 1 |
# Example for a system wide configuration file |
| 2 |
|
| 3 |
# A system wide configuration file is optional. |
| 4 |
# If it exists, it usually defines a default account. |
| 5 |
# This allows msmtp to be used like /usr/sbin/sendmail. |
| 6 |
account default |
| 7 |
|
| 8 |
# The SMTP smarthost |
| 9 |
host mail.oursite.example |
| 10 |
|
| 11 |
# Use TLS on port 465. On this port, TLS starts without STARTTLS. |
| 12 |
port 465 |
| 13 |
tls on |
| 14 |
tls_starttls off |
| 15 |
|
| 16 |
# Construct envelope-from addresses of the form "[email protected]" |
| 17 |
from %[email protected] |
| 18 |
# Do not allow programs to override this envelope-from address via -f |
| 19 |
allow_from_override off |
| 20 |
# Always set a From header that matches the envelope-from address |
| 21 |
set_from_header on |
| 22 |
|
| 23 |
# Syslog logging with facility LOG_MAIL instead of the default LOG_USER |
| 24 |
syslog LOG_MAIL |