[mail] add mbsync + msmtp config

This commit is contained in:
David JULIEN 2021-12-13 20:10:56 +01:00
parent 4055da3839
commit 81f003243b
No known key found for this signature in database
GPG Key ID: 4B388E8BD9D47382
2 changed files with 110 additions and 0 deletions

78
.config/mbsync/config Normal file
View File

@ -0,0 +1,78 @@
# Personnal - Critical
IMAPStore david.julien@posteo.net-remote
Host posteo.de
Port 993
User david.julien@posteo.net
PassCmd "pass david.julien@posteo.net"
AuthMechs LOGIN
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
MaildirStore david.julien@posteo.net-local
Subfolders Verbatim
Path /home/swytch/.local/share/mail/david.julien@posteo.net/
Inbox /home/swytch/.local/share/mail/david.julien@posteo.net/INBOX
Channel david.julien@posteo.net
Expunge Both
Far :david.julien@posteo.net-remote:
Near :david.julien@posteo.net-local:
Patterns * !"[Gmail]/All Mail"
Create Both
SyncState *
MaxMessages 0
ExpireUnread no
# End Profile
# University
IMAPStore david.julien@ens-lyon.fr-remote
Host imaps.ens-lyon.fr
Port 993
User djulien
PassCmd "pass ens-lyon.fr/djulien"
AuthMechs LOGIN
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
MaildirStore david.julien@ens-lyon.fr-local
Subfolders Verbatim
Path /home/swytch/.local/share/mail/david.julien@ens-lyon.fr/
Inbox /home/swytch/.local/share/mail/david.julien@ens-lyon.fr/INBOX
Channel david.julien@ens-lyon.fr
Expunge Both
Far :david.julien@ens-lyon.fr-remote:
Near :david.julien@ens-lyon.fr-local:
Patterns * !"[Gmail]/All Mail"
Create Both
SyncState *
MaxMessages 0
ExpireUnread no
# End Profile
# Personnal
IMAPStore david.julien@mailo.com-remote
Host mail.mailo.com
Port 993
User david.julien@mailo.com
PassCmd "pass david.julien@mailo.com"
AuthMechs LOGIN
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
MaildirStore david.julien@mailo.com-local
Subfolders Verbatim
Path /home/swytch/.local/share/mail/david.julien@mailo.com/
Inbox /home/swytch/.local/share/mail/david.julien@mailo.com/INBOX
Channel david.julien@mailo.com
Expunge Both
Far :david.julien@mailo.com-remote:
Near :david.julien@mailo.com-local:
Patterns * !"[Gmail]/All Mail"
Create Both
SyncState *
MaxMessages 0
ExpireUnread no
# End Profile

32
.config/msmtp/config Normal file
View File

@ -0,0 +1,32 @@
account david.julien@posteo.net
host posteo.de
port 587
from david.julien@posteo.net
user david.julien@posteo.net
passwordeval "pass david.julien@posteo.net"
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /home/swytch/.config/msmtp/msmtp.log
account david.julien@ens-lyon.fr
host smtp.ens-lyon.fr
port 587
from david.julien@ens-lyon.fr
user djulien
passwordeval "pass ens-lyon.fr/djulien"
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /home/swytch/.config/msmtp/msmtp.log
account david.julien@mailo.com
host mail.mailo.com
port 587
from david.julien@mailo.com
user david.julien@mailo.com
passwordeval "pass david.julien@mailo.com"
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /home/swytch/.config/msmtp/msmtp.log