use mfauth and better sending server selection
This commit is contained in:
parent
9c87ab7cb9
commit
071387457f
@ -2,3 +2,4 @@ text/html: w3m -dump -o display_link_number=1 -I $PIPE_CHARSET -T text/html
|
|||||||
text/calendar: cat
|
text/calendar: cat
|
||||||
application/ics: khal printics
|
application/ics: khal printics
|
||||||
text/plain: mflow -w 72
|
text/plain: mflow -w 72
|
||||||
|
multipart/encrypted: gpg 2>&1 && exit 64
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Local-Mailbox: Felix Van der Jeugt <felix.vanderjeugt@posteo.net>
|
Local-Mailbox: Felix Van der Jeugt <felix.vanderjeugt@posteo.net>
|
||||||
Alternate-Mailboxes: Felix Van der Jeugt <Felix.VanderJeugt@ugent.be>,Felix Van der Jeugt <Felix.VanderJeugt@UGent.be>,Felix Van der Jeugt <felix.vanderjeugt@ugent.be>,Felix Van der Jeugt <felix.vanderjeugt@gmail.com>,Felix Van der Jeugt <felix.vanderjeugt@12urenloop.be>
|
Alternate-Mailboxes: Felix Van der Jeugt <Felix.VanderJeugt@ugent.be>,Felix Van der Jeugt <Felix.VanderJeugt@UGent.be>,Felix Van der Jeugt <felix.vanderjeugt@ugent.be>,Felix Van der Jeugt <felix.vanderjeugt@gmail.com>,Felix Van der Jeugt <felix.vanderjeugt@12urenloop.be>
|
||||||
Sendmail: msmtp
|
Sendmail: msmtp --read-envelope-from
|
||||||
FQDN: mantle
|
FQDN: mantle
|
||||||
Outbox: /data/mail/outbox
|
Outbox: /data/mail/outbox
|
||||||
Scan-Format: %c%u %3n %d %17f %i%S
|
Scan-Format: %c%u %3n %d %17f %i%S
|
||||||
|
10
mbsyncrc
10
mbsyncrc
@ -1,10 +1,12 @@
|
|||||||
# Accounts {{{
|
# Accounts {{{
|
||||||
IMAPAccount ugent
|
IMAPAccount ugent
|
||||||
Host "owa.ugent.be"
|
Host "outlook.office365.com"
|
||||||
|
Port 993
|
||||||
User "felix.vanderjeugt@ugent.be"
|
User "felix.vanderjeugt@ugent.be"
|
||||||
PassCmd "pass show ugent/_ | head -1"
|
PassCmd "mfauth access microsoft"
|
||||||
AuthMechs "PLAIN"
|
AuthMechs "XOAUTH2"
|
||||||
SSLTYPE "IMAPS"
|
SSLType "IMAPS"
|
||||||
|
SSLVersions "TLSv1"
|
||||||
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
|
CertificateFile "/etc/ssl/certs/ca-certificates.crt"
|
||||||
|
|
||||||
IMAPAccount posteo
|
IMAPAccount posteo
|
||||||
|
23
msmtprc
23
msmtprc
@ -6,19 +6,16 @@ tls on
|
|||||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
logfile ~/.local/share/msmtp.log
|
logfile ~/.local/share/msmtp.log
|
||||||
|
|
||||||
account gmail
|
|
||||||
host smtp.gmail.com
|
|
||||||
port 587
|
|
||||||
from felix.vanderjeugt@gmail.com
|
|
||||||
user felix.vanderjeugt
|
|
||||||
passwordeval "pass show other/gmail"
|
|
||||||
|
|
||||||
account ugent
|
account ugent
|
||||||
host smtp.ugent.be
|
|
||||||
port 587
|
|
||||||
from felix.vanderjeugt@ugent.be
|
from felix.vanderjeugt@ugent.be
|
||||||
|
auth xoauth2
|
||||||
|
host outlook.office365.com
|
||||||
|
port 587
|
||||||
user felix.vanderjeugt@ugent.be
|
user felix.vanderjeugt@ugent.be
|
||||||
passwordeval "pass show ugent/_ | head -1"
|
tls on
|
||||||
|
tls_starttls on
|
||||||
|
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||||
|
passwordeval "mfauth access microsoft"
|
||||||
|
|
||||||
account posteo
|
account posteo
|
||||||
host posteo.de
|
host posteo.de
|
||||||
@ -27,5 +24,7 @@ from felix.vanderjeugt@posteo.net
|
|||||||
user felix.vanderjeugt@posteo.net
|
user felix.vanderjeugt@posteo.net
|
||||||
passwordeval "pass show web/posteo.de | head -1"
|
passwordeval "pass show web/posteo.de | head -1"
|
||||||
|
|
||||||
# Set a default account
|
account posteoplus : posteo
|
||||||
account default : ugent
|
from felixvdj@posteo.be
|
||||||
|
|
||||||
|
account default : posteo
|
Loading…
Reference in New Issue
Block a user