diff --git a/.config/mbsync/config b/.config/mbsync/config index 79edeeb..0e63906 100644 --- a/.config/mbsync/config +++ b/.config/mbsync/config @@ -24,26 +24,25 @@ MaxMessages 0 ExpireUnread no # End Profile - # University -IMAPStore david.julien@ens-lyon.fr-remote -Host imaps.ens-lyon.fr +IMAPStore david.julien@etu.univ-nantes.fr-remote +Host imaps.etu.univ-nantes.fr Port 993 -User djulien -PassCmd "pass ens-lyon.fr/djulien" +User E22D718J +PassCmd "pass univ-nantes.fr/E22D718J" AuthMechs LOGIN SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt -MaildirStore david.julien@ens-lyon.fr-local +MaildirStore david.julien@etu.univ-nantes.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 +Path /home/swytch/.local/share/mail/david.julien@etu.univ-nantes.fr/ +Inbox /home/swytch/.local/share/mail/david.julien@etu.univ-nantes.fr/INBOX -Channel david.julien@ens-lyon.fr +Channel david.julien@etu.univ-nantes.fr Expunge Both -Far :david.julien@ens-lyon.fr-remote: -Near :david.julien@ens-lyon.fr-local: +Far :david.julien@etu.univ-nantes.fr-remote: +Near :david.julien@etu.univ-nantes.fr-local: Patterns * !"[Gmail]/All Mail" Create Both SyncState * diff --git a/.config/msmtp/config b/.config/msmtp/config index f824934..e8f6b48 100644 --- a/.config/msmtp/config +++ b/.config/msmtp/config @@ -9,12 +9,12 @@ 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 +account david.julien@etu.univ-nantes.fr +host smtp.etu.univ-nantes.fr port 587 -from david.julien@ens-lyon.fr -user djulien -passwordeval "pass ens-lyon.fr/djulien" +from david.julien@etu.univ-nantes.fr +user E22D718J +passwordeval "pass univ-nantes.fr/E22D718J" auth on tls on tls_trust_file /etc/ssl/certs/ca-certificates.crt diff --git a/.config/mutt/accounts/2-david.julien@etu.univ-nantes.fr.muttrc b/.config/mutt/accounts/2-david.julien@etu.univ-nantes.fr.muttrc new file mode 100644 index 0000000..d515015 --- /dev/null +++ b/.config/mutt/accounts/2-david.julien@etu.univ-nantes.fr.muttrc @@ -0,0 +1,42 @@ +# vim: filetype=neomuttrc +# muttrc file for account david.julien@etu.univ-nantes.fr +set realname = "David JULIEN" +set from = "david.julien@etu.univ-nantes.fr" +set sendmail = "msmtp -a david.julien@etu.univ-nantes.fr" +alias me david.julien +set folder = "$XDG_DATA_HOME/mail/david.julien@etu.univ-nantes.fr" +set header_cache = "$XDG_CACHE_HOME/mutt/david.julien@etu.univ-nantes.fr/headers" +set message_cachedir = "$XDG_CACHE_HOME/mutt/david.julien@etu.univ-nantes.fr/bodies" +set mbox_type = Maildir + +set crypt_autosign = yes +set pgp_sign_as = "0x70F6BD57D3BD8027" + +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/nantes.signature" +unmacro index o +macro index o "mailsync" "run mbsync to sync david.julien@etu.univ-nantes.fr" + +mailboxes "=Sent" "=Drafts" "=Trash" "=INBOX" "=thesis" +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"