# general settings
alternates -group me samir.benmendil@gmail.com ram-z@hotmail.com @rmz.io
alternates -group me samir.benmendil@mailfence.com
-alternates -group me -group chakra ram-z@chakra chakra@rmz.io
-alternates -group me -group unimaas s.benmendil@student.maastrichtuniversity.nl
-alternates -group me -group cadscan sb@cad-scan.co.uk
-alternates -group me -group ultrahaptics samir.benmendil@ultrahaptics.com
alternates -group me -group fpp samir@fppnt.com
-group -group ultrahaptics -rx @ultrahaptics.com
group -group fpp -rx @fppnt.com
set mail_check = 0
set forward_format = "Fwd: %s"
set forward_quote = yes
+# ask to forward email as attachement
+set mime_forward = ask-no
+
set edit_headers = yes # more power
set askcc = yes # ask until I have goobook completion in vim
set editor = vim # d'uh
set collapse_unread = no
# lists
-subscribe -group chakra ^chakra-.*@googlegroups.com
-subscribe -group clementine clementine-player@googlegroups.com
-subscribe -group ros @lists.ros.org$
-subscribe -group sailfish @lists.sailfishos.org
subscribe -group neovim ^neovim.*github.com
subscribe -group mutt mutt-users@mutt.org
+subscribe -group zsh zsh-users@zsh.org
subscribe -group qutebrowser ^qutebrowser.*
subscribe -group lug @mailman.lug.org.uk
+subscribe -group googlegroup @googlegroups.com$
# performance tuning
set read_inc = 1000 # nb of messages read before printing status
set mark_old = no # leave messages as new if unread
set status_on_top = yes # also help on bottom
set wait_key = no # don't wait for enter key
-set index_format="[%Z] %{%e/%m} %15.15L %?M?+ ?%s"
+
+set index_format="[%Z] %-6@date@ %15.15L %?M?+ ?%s"
+index-format-hook date "~d<1d" "%[%H:%M]"
+index-format-hook date "~d<1y" "%[%e/%m]"
+index-format-hook date "~A" "%[%m/%Y]"
# header
ignore *
set mailcap_path = $my_config_dir/mailcap
auto_view text/html # view html automatically
auto_view text/calendar # view ical automatically
+auto_view application/gzip application/zip # for dmarc reports
alternative_order text/calendar text/plain text/enriched text/html # view ical first, html last
# IMAP: mbsync
group -group nosign -rx .*@bitbucket.org
group -group nosign -rx jira@.*atlassian.net
-group -group nosign -rx gitlab.incoming@ultrahaptics.com
group -group nosign -rx .*@incoming.gitlab.com
group -group nosign -rx .*@reply.github.com
+group -group nosign -rx .*@googlegroups.com
+group -group nosign -rx .*@st.com
send-hook . "set crypt_autosign = yes"
send-hook "%t nosign" "set crypt_autosign = no"