add mail account for tlms
This commit is contained in:
parent
268a2d0d85
commit
a22dbf29e5
4 changed files with 41 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
direnv
|
||||
(nix-direnv.override { enableFlakes = true; })
|
||||
# rust
|
||||
(inputs.fenix.packages."x86_64-linux".stable.toolchain)
|
||||
(inputs.fenix.packages."x86_64-linux".complete.toolchain)
|
||||
# nix
|
||||
rnix-lsp
|
||||
nixpkgs-fmt
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -72,3 +72,26 @@ MaxMessages 0
|
|||
ExpireUnread no
|
||||
# End profile
|
||||
|
||||
IMAPStore grigory@tlm.solutions-remote
|
||||
Host imap.migadu.com
|
||||
Port 993
|
||||
User grigory@tlm.solutions
|
||||
PassCmd "cat /run/secrets/mail/tlm.solutions"
|
||||
AuthMechs LOGIN
|
||||
SSLType IMAPS
|
||||
|
||||
MaildirStore grigory@tlm.solutions-local
|
||||
Subfolders Verbatim
|
||||
Path /home/grue/mail/grigory@tlm.solutions/
|
||||
Inbox /home/grue/mail/grigory@tlm.solutions/INBOX
|
||||
|
||||
Channel grigory@tlm.solutions
|
||||
Expunge Both
|
||||
Master :grigory@tlm.solutions-remote:
|
||||
Slave :grigory@tlm.solutions-local:
|
||||
Create Both
|
||||
SyncState *
|
||||
Patterns *
|
||||
MaxMessages 0
|
||||
ExpireUnread no
|
||||
# End profile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue