add msmtp/zed/smartd/scrub-timers

This commit is contained in:
2022-10-19 13:09:01 +13:00
parent ae8633767a
commit 020efcc3bb
8 changed files with 77 additions and 2 deletions

View File

@ -0,0 +1,10 @@
---
#TODO install packages
# msmtp
# msmtp-mta
# s-nail
#TODO add folder /var/log/msmtp
#TODO add template file msmtprc.j2 to /etc/msmtprc
#TODO add template file aliases.j2 to /etc/aliases

View File

@ -0,0 +1 @@
root: {{ smtp_admin }}

View File

@ -0,0 +1,19 @@
# Set default values for all following accounts.
defaults
aliases /etc/aliases
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /var/log/msmtp/msmtp.log
# Home
account main
host {{ smtp_host }}
port {{ smtp_port }}
from {{ smtp_user }}
user {{ smtp_user }}
password {{ smtp_password }}
tls_starttls {{ smtp_start_tls }}
# Set a default account
account default : main