diff --git a/goimapnotify/.config/goimapnotify/ugent.conf b/goimapnotify/.config/goimapnotify/ugent.conf deleted file mode 100644 index 3499974..0000000 --- a/goimapnotify/.config/goimapnotify/ugent.conf +++ /dev/null @@ -1,15 +0,0 @@ -{ - "host": "outlook.office365.com", - "port": 993, - "tls": true, - "tlsOptions": { - "rejectUnauthorized": true - }, - "username": "amin.kasrouaouam@ugent.be", - "passwordCmd": "/home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile", - "xoauth2": true, - "onNewMail": "~/.local/share/scripts/mail-sync ugent", - "boxes": [ - "INBOX" - ] -} diff --git a/mbsync/.mbsyncrc b/mbsync/.mbsyncrc index 86ccd4b..9dd3447 100644 --- a/mbsync/.mbsyncrc +++ b/mbsync/.mbsyncrc @@ -4,7 +4,7 @@ Host imap.gmail.com User akasroua@gmail.com AuthMechs LOGIN PassCmd "pass mail/gmail" -SSLType IMAPS +TLSType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt IMAPStore gmail-remote @@ -61,82 +61,12 @@ Channel sync-gmail-trash Channel sync-gmail-junk Channel sync-gmail-archive -IMAPAccount ugent -Host outlook.office365.com -User amin.kasrouaouam@ugent.be -AuthMechs XOAUTH2 -PassCmd "nix-shell -p python3 --command 'python /home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile'" -SSLType IMAPS -CertificateFile /etc/ssl/certs/ca-certificates.crt - -IMAPStore ugent-remote -Account ugent - -MaildirStore ugent-local -Subfolders Verbatim -# The trailing "/" is important -Path ~/.mail/ugent/ -Inbox ~/.mail/ugent/inbox/ - -Channel ugent-default -Far :ugent-remote: -Near :ugent-local: -Create Both -Expunge Both -SyncState * - - -Channel ugent-sent -Far :ugent-remote:"Sent Items" -Near :ugent-local:sent -Create Both -Expunge Both -SyncState * - - -Channel ugent-trash -Far :ugent-remote:"Deleted Items" -Near :ugent-local:trash -Create Both -Expunge Both -SyncState * - - -Channel ugent-archive -Far :ugent-remote:"Archive" -Near :ugent-local:archive -Create Both -Expunge Both -SyncState * - -Channel ugent-junk -Far :ugent-remote:"Junk Email" -Near :ugent-local:junk -Create Both -Expunge Both -SyncState * - -Channel ugent-mailing-lists -Far :ugent-remote:"Mailing Lists" -Near :ugent-local:mailing-lists -Create Both -Expunge Both -SyncState * - -Group ugent -Channel ugent-default -Channel ugent-sent -Channel ugent-trash -Channel ugent-archive -Channel ugent-junk -Channel ugent-mailing-lists - IMAPAccount disroot Host disroot.org User akasroua@disroot.org AuthMechs LOGIN PassCmd "pass mail/disroot" -SSLType IMAPS +TLSType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt IMAPStore disroot-remote diff --git a/msmtp/.msmtprc b/msmtp/.msmtprc index f9522f9..c4a12ad 100644 --- a/msmtp/.msmtprc +++ b/msmtp/.msmtprc @@ -13,13 +13,6 @@ from akasroua@gmail.com user akasroua@gmail.com passwordeval "pass mail/gmail" -account ugent -auth xoauth2 -host smtp.office365.com -from amin.kasrouaouam@ugent.be -user amin.kasrouaouam@ugent.be -passwordeval "nix-shell -p python3 --command 'python /home/coolneng/.local/share/scripts/mutt_oauth2.py /home/coolneng/.cache/tokenfile'" - account disroot host disroot.org from akasroua@disroot.org