add mail account for tlms
This commit is contained in:
parent
268a2d0d85
commit
a22dbf29e5
4 changed files with 41 additions and 3 deletions
|
@ -23,6 +23,9 @@ in
|
|||
"mail/dvb.solutions" = {
|
||||
owner = config.users.users.grue.name;
|
||||
};
|
||||
"mail/tlm.solutions" = {
|
||||
owner = config.users.users.grue.name;
|
||||
};
|
||||
};
|
||||
|
||||
programs.msmtp = {
|
||||
|
@ -61,6 +64,17 @@ in
|
|||
tls on
|
||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
logfile ~/.msmtp.log
|
||||
|
||||
account grigory@tlm.solutions
|
||||
host smtp.migadu.com
|
||||
port 587
|
||||
from grigory@tlm.solutions
|
||||
user grigory@tlm.solutions
|
||||
passwordeval cat ${config.sops.secrets."mail/tlm.solutions".path}
|
||||
auth on
|
||||
tls on
|
||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
logfile ~/.msmtp.log
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue