dotfiles/muttrc-accounts-lhote

51 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2024-06-19 11:29:54 +00:00
# mutt config - private datas
2023-06-23 15:24:33 +00:00
set realname = 'Patrick Cao Huu Thien'
set from = 'patrick.cao_huu_thien@sorbonne-universite.fr'
alternates '^patrick.cao_huu_thien@'
alternates '^master.h2zu@gmail.com$'
alternates '^pcao@dalembert.upmc.fr$'
send-hook . 'set realname="Patrick Cao Huu Thien"'
send-hook "~f ^master.h2zu@gmail.com$" 'set realname="Master ZU"'
# my host
set hostname = 'dalembert.upmc.fr'
set use_domain
# SMTP
#
# heywood dont handle TLS -- too old version
2024-06-19 11:29:54 +00:00
set smtp_url=smtps://imap.dalembert.upmc.fr
# unset ssl_force_tls
# unset ssl_starttls
2023-06-23 15:24:33 +00:00
# set smtp_url=smtp://mail.lam.jussieu.fr
#
# accounts
#
2024-06-19 11:29:54 +00:00
source /home/patrick/.mutt/accounts/default
2023-06-23 15:24:33 +00:00
2024-06-19 11:29:54 +00:00
macro generic \Cx0 "\Cx| ~/.mutt/accounts/default\"\n\Cx&1\"<enter><change-folder>!<enter>"
macro generic \Cx1 "\Cx| ~/.mutt/accounts/gmail\"\n\Cx&0\"<enter><change-folder>!<enter>"
2023-06-23 15:24:33 +00:00
# switch account with <tab>
macro index <tab> "\Cx1"
2024-06-19 11:29:54 +00:00
macro index <f2> '<sync-mailbox><enter-command>source ~/.mutt/accounts/default<enter><change-folder>!<enter>'
macro index <f3> '<sync-mailbox><enter-command>source ~/.mutt/accounts/gmail<enter><change-folder>!<enter>'
2023-06-23 15:24:33 +00:00
#
# Listes
#
subscribe .*@listes.upmc.fr
subscribe .*@listes.sorbonne-universite.fr
subscribe .*@lists.debian.org
subscribe .*@pmichaud.com
subscribe .*@services.cnrs.fr
subscribe .*@listes.fercsup-cgt.org
subscribe .*@groupes.renater.fr