add mail account for tlms

This commit is contained in:
Grigory Shipunov 2023-01-08 03:11:13 +01:00
parent 268a2d0d85
commit a22dbf29e5
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
4 changed files with 41 additions and 3 deletions

View file

@ -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

View file

@ -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
'';
};

View file

@ -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

View file

@ -7,6 +7,7 @@ mail:
oxapentane.com: ENC[AES256_GCM,data:9P7r1WGaGekZkCbI3iVK1cQiVXN46LilZaY=,iv:juCWeCTXjKuoC0y0l08d98i5rLlmOeRXL4H/GsouAWs=,tag:DflQZMy2WBqee/pM2njF2Q==,type:str]
shipunov.xyz: ENC[AES256_GCM,data:Lr60OLtghGxyTxs9clz6ZY8RLno3dQGLHi5w3QYXFQ==,iv:Yr+soB0e8+MQQfCuznmJRaAn9SgoDkT9B8UdGzVOcMY=,tag:8yg3GQMnllgufilNyXrdUg==,type:str]
dvb.solutions: ENC[AES256_GCM,data:xEbuW66WyMqEmyxsiuFTgvb6oJBdUtXj9aAsv7wR,iv:8+nNrMntqRX8Wn7T+/JctRK0nrU4BWxGmGxpjPbO/D8=,tag:euuABMXM4svQgNzAploxIQ==,type:str]
tlm.solutions: ENC[AES256_GCM,data:bQ39ers5yZ6MWqormfMNMGNRyxkRT/HFNb++SdbL,iv:p98WnFCyGWyJYFM/oBDGsIeRZ9AR5bML3KX42b/T1dk=,tag:4ihCfXi2PGrVq9sE9AKDeg==,type:str]
sops:
kms: []
gcp_kms: []
@ -22,8 +23,8 @@ sops:
cHBBdERxM1MxaER5YWZqWTJTZnprVzgKT7C9aMo4BAS+Tewx5u+yEILRUna1P5Wu
iRQeH/SqCigoA2d3ekl7/VWcmSJPtb7FMLwX+9LEgIILo8KBYhseGA==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2022-08-11T18:24:56Z"
mac: ENC[AES256_GCM,data:Q1yLGASvM9EQ8SAPFAevC0604QmoCoIQPJgJjtbIIFGEiL+0PtiNEg0HLG44aYEXd+lxlZLaLXOLVgA1I1LjFGa0EZMB7r5Cc1V1NePGcz8tWlfINhRi9pixigDL2k7sVCCmrRDrxQPiyFpvLvVz5xjcWpMZWU1SXt6vCE4wAOc=,iv:2H77Hc20vxXwTPiDMhCH3bRu90uriRi69oDzs6apxnU=,tag:g5IAzGZj7gsoyxnYmP44Vg==,type:str]
lastmodified: "2023-01-08T01:17:14Z"
mac: ENC[AES256_GCM,data:Be9tCRDHKH2iUEyAGRP9+/UeYCgXSJYd/+tARYsLb6F+msNuwQ5l9vP7X+HkFXIhOCS+6Ko8emORHFfZ2k4rvO0jT9Zw4QkN3+uR3cfSwYlL52tWfRamOXeYv8QVwdBNokHVSr7AzEStePHF31Z3pHtM2cujYTkklOMda8+mXMU=,iv:WgtucIHCLM+hY8eKh02yqssmR2o8nbQ7nM1wDLKRQDk=,tag:d1OfmwQ9MbrlxstaQE7Knw==,type:str]
pgp:
- created_at: "2022-07-15T02:04:05Z"
enc: |-