set abort_unmodified=no # Let me send empty messages
set alias_file==tmp/aliases # Where to store aliases
set attribution="`case "$LC_TIME" in ru_RU*) echo 'В %{%a, %d %b %Y в %I:%M:%S%p %Z} %f написал(а):' ;; *) echo 'On %d, %f wrote:' ;; esac`" # `
+set attribution_locale=`echo $LC_TIME` # Locale to format dates
set beep=no # Never beep on errors
set collapse_unread=no # Do not collapse thread with unread messages
set confirmappend=no # Don't ask me if i want to append to mailboxes
set help # Show the help lines
set ignore_list_reply_to # Ignore Reply-To headers pointing to mailing lists.
set include=yes # Always include a copy when replying.
-set locale=`echo $LC_TIME` # Locale to format dates
set mail_check=30 # How often (in seconds) to poll for new mail
set mark_old=no # Distinguish between seen (but unread) and new messages
set mask="" # Show dot-files in the file browser
set tilde # Indicate empty lines in the pager.
set tmpdir=~/tmp # Temporary files aren't stored in public places.
set use_domain=no # Don't qualify local addresses with $domain
+set use_envelope_from=yes
set use_ipv6=no # Speed up DNS
set wait_key=no # Do not wait for a key after running external programs, pipes
# Encryption: GnuPG
#
source /usr/share/doc/mutt/examples/gpg.rc
+set crypt_use_gpgme=no
set pgp_use_gpg_agent
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# lists <list-name> [ <list-name> ... ]
subscribe (python-(announce|dev|ideas)|.*-(list|sig))@python\.org \
- core-workflow@python\.org \
- .*@moderators\.isc\.org .*@lists\.sourceforge\.net \
+ core-workflow@python\.org .*@moderators\.isc\.org \
(durus|quixote)-users@mems-exchange\.org pysqlite@lists\.initd\.org \
+ .*@lists\.sourceforge\.net .*@vex\.net egenix-users@egenix\.com \
.*@googlegroups\.com mlug@unixcenter\.ru
#lists
# Restore defaults
folder-hook .* "\
+ set envelope_from_address="phd@phdru.name"; \
my_hdr From: Oleg Broytman <phd@phdru.name>; \
my_hdr Reply-To: Oleg Broytman <phd@phdru.name>; \
- my_hdr X-Url: http://phdru.name/; \
+ my_hdr X-Url: https://phdru.name/; \
set record==sent-mail; \
set signature==signatures/phd@phdru.name"
# Restore defaults
send-hook .* "\
+ set envelope_from_address="phd@phdru.name"; \
+ set followup_to=yes; \
my_hdr From: Oleg Broytman <phd@phdru.name>; \
my_hdr Reply-To: Oleg Broytman <phd@phdru.name>; \
- my_hdr X-Url: http://phdru.name/; \
+ my_hdr X-Url: https://phdru.name/; \
+ unmy_hdr Mail-Followup-To; \
+ unmy_hdr X-Skip-DKIM-Sig; \
set signature==signatures/phd@phdru.name"
send-hook "~L '@.*\.(r|s)u$'" "\
my_hdr Reply-To: Олег Бройтман <phd@phdru.name>; \
set signature='iconv -f koi8-r ~/mail/signatures/phd@phdru.name-ru|'"
-send-hook "~L '@(mail|list|inbox|bk)\.ru'" "\
+send-hook "~L '@(mail|list|inbox|bk|sweb|spaceweb|ulmart)\.ru'" "\
+ set envelope_from_address="phd@mail.ru"; \
+ my_hdr From: Олег Бройтман <phd@mail.ru>; \
my_hdr Reply-To: Олег Бройтман <phd@mail.ru>; \
- my_hdr X-Url: http://my.mail.ru/mail/phd; \
+ my_hdr X-Url: https://my.mail.ru/mail/phd; \
set signature='iconv -f koi8-r ~/mail/signatures/phd@mail.ru|'"
send-hook "~L '(@|\.)(((ya|yandex|narod)\.ru)|(yandex\.com)|yandex-team\.ru)$'" "\
+ set envelope_from_address="phd2@yandex.ru"; \
my_hdr From: Олег Бройтман <phd2@yandex.ru>; \
my_hdr Reply-To: Олег Бройтман <phd2@yandex.ru>; \
my_hdr X-Url: http://phd2.ya.ru/; \
set signature='iconv -f koi8-r ~/mail/signatures/phd2@yandex.ru|'"
-send-hook ~u unmy_hdr Reply-To
-
send-hook "~L python-announce-list@python\.org" "\
set followup_to=no; \
my_hdr Reply-To: Oleg Broytman <phd@phdru.name>; \
my_hdr Mail-Followup-To: Oleg Broytman <phd@phdru.name>, Python Mailing List <python-list@python.org>"
+send-hook "~L cheetahtemplate-announce@lists\.sourceforge\.net" "\
+ set followup_to=no; \
+ my_hdr Reply-To: Oleg Broytman <phd@phdru.name>; \
+ my_hdr Mail-Followup-To: Oleg Broytman <phd@phdru.name>, CheetahTemplate discussion <cheetahtemplate-discuss@lists.sourceforge.net>"
+
+send-hook ~u "\
+ unmy_hdr Reply-To; \
+ my_hdr X-Skip-DKIM-Sig: mailing list"
+
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Key bindings
macro index C \
<Home><change-folder><Enter> \
"Go to the first folder with unread messages"
-macro pager C \
+macro pager,attach C \
<exit><Home><change-folder><Enter> \
"Go to the first folder with unread messages"
macro index H \
<Home><change-folder>!<Enter> \
"Go to inbox"
-macro pager H \
+macro pager,attach H \
<exit><Home><change-folder>!<Enter> \
"Go to inbox"
macro index M \
<Home><change-folder>=sent-mail<Enter> \
"Go to sent-mail"
-macro pager M \
+macro pager,attach M \
<exit><Home><change-folder>=sent-mail<Enter> \
"Go to sent-mail"
macro index Y \
<Home><change-folder>=lists/python<Enter> \
"Go to python"
-macro pager Y \
+macro pager,attach Y \
<exit><Home><change-folder>=lists/python<Enter> \
"Go to python"
# Go to STCnet "Atlas"/STM mailboxes
-macro index A \
+macro index \ca \
<Home><change-folder>=stcnet<Enter> \
"Go to stcnet inbox"
-macro pager A \
+macro pager,attach \ca \
<exit><Home><change-folder>=stcnet<Enter> \
"Go to stcnet inbox"
-macro index <Esc>a \
+macro index A \
<Home><change-folder>=sent-stcnet<Enter> \
"Go to sent-stcnet"
-macro pager <Esc>a \
+macro pager,attach A \
<exit><Home><change-folder>=sent-stcnet<Enter> \
"Go to sent-stcnet"
# Recode base64 to 8bit, html to plain text, mustdie-1251 to koi8-r, etc.
macro index,pager \
- <Esc>m "<pipe-message>mimedecode.py | less<Enter>" \
+ <Esc>m "<pipe-message>mimedecode | less<Enter>" \
"View MIME-decoded message"
macro index,pager E \
":set editor=mimedecode.sh<Enter><edit>:set editor=vim.sh<Enter>" \