From dafb241104d7f97ba54d7cd377eddf2a28c4a89b Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Thu, 20 Oct 2022 14:58:32 +0200 Subject: [PATCH] [mail] cleanup: remove personnal addresses --- .config/mbsync/config | 51 ------------------ .config/msmtp/config | 11 ---- .../accounts/1-david.julien@posteo.net.muttrc | 45 ---------------- .../2-david.julien@ens-lyon.fr.muttrc | 54 ------------------- .config/mutt/accounts/ens.signature | 4 -- .config/mutt/accounts/mailo.signature | 2 - .config/mutt/accounts/posteo.signature | 2 - .config/mutt/muttrc | 6 +-- .config/mutt/neomutt.muttrc | 1 + 9 files changed, 3 insertions(+), 173 deletions(-) delete mode 100644 .config/mutt/accounts/1-david.julien@posteo.net.muttrc delete mode 100644 .config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc delete mode 100644 .config/mutt/accounts/ens.signature delete mode 100644 .config/mutt/accounts/mailo.signature delete mode 100644 .config/mutt/accounts/posteo.signature diff --git a/.config/mbsync/config b/.config/mbsync/config index 4989bcd..c406655 100644 --- a/.config/mbsync/config +++ b/.config/mbsync/config @@ -1,29 +1,3 @@ -# Personnal - Critical -IMAPStore david.julien@posteo.net-remote -Host posteo.de -Port 993 -User david.julien@posteo.net -PassCmd "pass posteo.net/david.julien" -AuthMechs LOGIN -SSLType IMAPS -CertificateFile /etc/ssl/certs/ca-certificates.crt - -MaildirStore david.julien@posteo.net-local -Subfolders Verbatim -Path /home/julien-d/.local/share/mail/david.julien@posteo.net/ -Inbox /home/julien-d/.local/share/mail/david.julien@posteo.net/INBOX - -Channel david.julien@posteo.net -Expunge Both -Master :david.julien@posteo.net-remote: -Slave :david.julien@posteo.net-local: -Patterns * !"[Gmail]/All Mail" -Create Both -SyncState * -MaxMessages 0 -ExpireUnread no -# End Profile - # University IMAPStore david.julien@univ-nantes.fr-remote Host imaps.etu.univ-nantes.fr @@ -49,28 +23,3 @@ SyncState * MaxMessages 0 ExpireUnread no # End Profile - -# University - old -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/julien-d/.local/share/mail/david.julien@ens-lyon.fr/ -Inbox /home/julien-d/.local/share/mail/david.julien@ens-lyon.fr/INBOX - -Channel david.julien@ens-lyon.fr -Expunge Both -Master :david.julien@ens-lyon.fr-remote: -Slave :david.julien@ens-lyon.fr-local: -Patterns * !"[Gmail]/All Mail" -Create Both -SyncState * -MaxMessages 0 -ExpireUnread no diff --git a/.config/msmtp/config b/.config/msmtp/config index dfbdd90..83deebe 100644 --- a/.config/msmtp/config +++ b/.config/msmtp/config @@ -1,14 +1,3 @@ -account david.julien@posteo.net -host posteo.de -port 587 -from david.julien@posteo.net -user david.julien@posteo.net -passwordeval "pass posteo.net/david.julien" -auth on -tls on -tls_trust_file /etc/ssl/certs/ca-certificates.crt -logfile /home/swytch/.config/msmtp/msmtp.log - account david.julien@univ-nantes.fr host smtp.etu.univ-nantes.fr port 587 diff --git a/.config/mutt/accounts/1-david.julien@posteo.net.muttrc b/.config/mutt/accounts/1-david.julien@posteo.net.muttrc deleted file mode 100644 index ac52906..0000000 --- a/.config/mutt/accounts/1-david.julien@posteo.net.muttrc +++ /dev/null @@ -1,45 +0,0 @@ -# vim: filetype=neomuttrc -# muttrc file for account email@adress.you -set realname = "David JULIEN" -set from = "david.julien@posteo.net" -set sendmail = "msmtp -a david.julien@posteo.net" -alias me david.julien -set folder = "$XDG_DATA_HOME/mail/david.julien@posteo.net" -set header_cache = "$XDG_CACHE_HOME/mutt/david.julien@posteo.net/headers" -set message_cachedir = "$XDG_CACHE_HOME/mutt/david.julien@posteo.net/bodies" -set mbox_type = Maildir - -set crypt_autosign = yes -set pgp_sign_as = "0x7F03EA9BEFFCB97F" - -bind index,pager gg noop -bind index,pager g noop -bind index,pager M noop -bind index,pager C noop -bind index gg first-entry -unmailboxes * -unalternates * -set signature="$XDG_CONFIG_HOME/mutt/accounts/posteo.signature" -unmacro index o -macro index o "mailsync" "run mbsync to sync david.julien@posteo.net" - -mailboxes "=Sent" "=Drafts" "=Trash" "=INBOX" "=Receipts" -set record = "+Sent" -macro index,pager gs "=Sent" "go to sent" -macro index,pager Ms ";=Sent" "move mail to sent" -macro index,pager Cs ";=Sent" "copy mail to sent" -set postponed = "+Drafts" -macro index,pager gd "=Drafts" "go to drafts" -macro index,pager Md ";=Drafts" "move mail to drafts" -macro index,pager Cd ";=Drafts" "copy mail to drafts" -macro index,pager gt "=Trash" "go to trash" -macro index,pager Mt ";=Trash" "move mail to trash" -macro index,pager Ct ";=Trash" "copy mail to trash" -macro index,pager gr "=Receipts" "go to receipts" -macro index,pager Mr ";=Receipts" "move mail to receipts" -macro index,pager Cr ";=Receipts" "copy mail to receipts" -set trash = "+Trash" -macro index,pager gi "=INBOX" "go to inbox" -macro index,pager Mi ";=INBOX" "move mail to inbox" -macro index,pager Ci ";=INBOX" "copy mail to inbox" -set spoolfile = "+INBOX" diff --git a/.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc b/.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc deleted file mode 100644 index 674cdd5..0000000 --- a/.config/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc +++ /dev/null @@ -1,54 +0,0 @@ -# vim: filetype=neomuttrc -# muttrc file for account david.julien@ens-lyon.fr -set realname = "David JULIEN" -set from = "david.julien@ens-lyon.fr" -set sendmail = "msmtp -a david.julien@ens-lyon.fr" -alias me david.julien -set folder = "$XDG_DATA_HOME/mail/david.julien@ens-lyon.fr" -set header_cache = "$XDG_CACHE_HOME/mutt/david.julien@ens-lyon.fr/headers" -set message_cachedir = "$XDG_CACHE_HOME/mutt/david.julien@ens-lyon.fr/bodies" -set mbox_type = Maildir - -set crypt_autosign = yes -set pgp_sign_as = "0x9D5279329BB80FA0" - -bind index,pager gg noop -bind index,pager g noop -bind index,pager M noop -bind index,pager C noop -bind index gg first-entry -unmailboxes * -unalternates * -set signature="$XDG_CONFIG_HOME/mutt/accounts/ens.signature" -unmacro index o -macro index o "mailsync" "run mbsync to sync david.julien@ens-lyon.fr" - -mailboxes "=Sent" "=Drafts" "=Trash" "=INBOX" "=thesis" "=MOVEP" "=QEST" "=fanfare" -set record = "+Sent" -macro index,pager gs "=Sent" "go to sent" -macro index,pager Ms ";=Sent" "move mail to sent" -macro index,pager Cs ";=Sent" "copy mail to sent" -set postponed = "+Drafts" -macro index,pager gd "=Drafts" "go to drafts" -macro index,pager Md ";=Drafts" "move mail to drafts" -macro index,pager Cd ";=Drafts" "copy mail to drafts" -macro index,pager gt "=Trash" "go to trash" -macro index,pager Mt ";=Trash" "move mail to trash" -macro index,pager Ct ";=Trash" "copy mail to trash" -set trash = "+Trash" -macro index,pager gi "=INBOX" "go to inbox" -macro index,pager Mi ";=INBOX" "move mail to inbox" -macro index,pager Ci ";=INBOX" "copy mail to inbox" -set spoolfile = "+INBOX" -macro index,pager gf "=fanfare" "go to fanfare" -macro index,pager Mf ";=fanfare" "move mail to fanfare" -macro index,pager Cf ";=fanfare" "copy mail to fanfare" -macro index,pager gT "=thesis" "go to thesis" -macro index,pager MT ";=thesis" "move mail to thesis" -macro index,pager CT ";=thesis" "copy mail to thesis" -macro index,pager gm "=MOVEP" "go to MOVEP" -macro index,pager Mm ";=MOVEP" "move mail to MOVEP" -macro index,pager Cm ";=MOVEP" "copy mail to MOVEP" -macro index,pager gq "=QEST" "go to QEST" -macro index,pager Mq ";=QEST" "move mail to QEST" -macro index,pager Cq ";=QEST" "copy mail to QEST" diff --git a/.config/mutt/accounts/ens.signature b/.config/mutt/accounts/ens.signature deleted file mode 100644 index 14e7658..0000000 --- a/.config/mutt/accounts/ens.signature +++ /dev/null @@ -1,4 +0,0 @@ - -David JULIEN -M2 Informatique Fondamentale -ENS de Lyon diff --git a/.config/mutt/accounts/mailo.signature b/.config/mutt/accounts/mailo.signature deleted file mode 100644 index 034281e..0000000 --- a/.config/mutt/accounts/mailo.signature +++ /dev/null @@ -1,2 +0,0 @@ - -David JULIEN diff --git a/.config/mutt/accounts/posteo.signature b/.config/mutt/accounts/posteo.signature deleted file mode 100644 index 034281e..0000000 --- a/.config/mutt/accounts/posteo.signature +++ /dev/null @@ -1,2 +0,0 @@ - -David JULIEN diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc index 93c92ba..dcdd589 100644 --- a/.config/mutt/muttrc +++ b/.config/mutt/muttrc @@ -1,6 +1,4 @@ # vim: filetype=neomuttrc source $XDG_CONFIG_HOME/mutt/neomutt.muttrc -macro index,pager ip 'source $XDG_CONFIG_HOME/mutt/accounts/1-david.julien@posteo.net.muttrc!;' "switch to david.julien@posteo.net" -macro index,pager is 'source $XDG_CONFIG_HOME/mutt/accounts/2-david.julien@ens-lyon.fr.muttrc!;' "switch to david.julien@ens-lyon.fr" -macro index,pager in 'source $XDG_CONFIG_HOME/mutt/accounts/2-david.julien@univ-nantes.fr.muttrc!;' "switch to david.julien@univ-nantes.fr" -source $XDG_CONFIG_HOME/mutt/accounts/2-david.julien@univ-nantes.fr.muttrc +macro index,pager in 'source $XDG_CONFIG_HOME/mutt/accounts/1-david.julien@univ-nantes.fr.muttrc!;' "switch to david.julien@univ-nantes.fr" +source $XDG_CONFIG_HOME/mutt/accounts/1-david.julien@univ-nantes.fr.muttrc diff --git a/.config/mutt/neomutt.muttrc b/.config/mutt/neomutt.muttrc index a000907..3de16a8 100644 --- a/.config/mutt/neomutt.muttrc +++ b/.config/mutt/neomutt.muttrc @@ -66,6 +66,7 @@ bind index \005 next-undeleted # Mouse wheel bind pager \031 previous-line # Mouse wheel bind pager \005 next-line # Mouse wheel bind editor complete-query +bind index,pager x entire-thread #set crypt_autosign = yes #set crypt_opportunistic_encrypt = yes