split tasks per distribution, add msmtp
This commit is contained in:
2
templates/aliases.j2
Normal file
2
templates/aliases.j2
Normal file
@ -0,0 +1,2 @@
|
||||
root: {{ mailto }}
|
||||
default: {{ mailto }}
|
11
templates/msmtprc.j2
Normal file
11
templates/msmtprc.j2
Normal file
@ -0,0 +1,11 @@
|
||||
defaults
|
||||
syslog on
|
||||
set_from_header on
|
||||
aliases /etc/aliases
|
||||
|
||||
account {{ inventory_hostname_short }}
|
||||
host {{ mailrelay }}
|
||||
from {{ inventory_hostname_short }}@br0tkasten.de
|
||||
port {{ mailport }}
|
||||
|
||||
account default : {{ inventory_hostname_short }}
|
Reference in New Issue
Block a user