# from /usr/share/doc/mutt/examples/Muttrc.gz
-set my_confdir="~/.mutt"
+set my_confdir="$HOME/.mutt"
+# set abort_noattach=no
+#
+# Name: abort_noattach
+# Type: quadoption
+# Default: no
+#
+#
+# When the body of the message matches $abort_noattach_regexp and
+# there are no attachments, this quadoption controls whether to
+# abort sending the message.
+#
+set abort_noattach=ask-yes
+#
+# set abort_noattach_regexp="attach"
+#
+# Name: abort_noattach_regexp
+# Type: regular expression
+# Default: "attach"
+#
+#
+# Specifies a regular expression to match against the body of the
+# message, to determine if an attachment was mentioned but
+# mistakenly forgotten. If it matches, $abort_noattach will be
+# consulted to determine if message sending will be aborted.
+#
+# Like other regular expressions in Mutt, the search is case
+# sensitive if the pattern contains at least one upper case letter,
+# and case insensitive otherwise.
+#
+set abort_noattach_regexp='attach|beigefügt|angehängt|an(hang|lage)'
+#'attach(ing|ed|ment)?|included\W+(with|in)\W+th(is|e\W+(curr|pres)ent)\W+mail|an(geh(ä|=E4|=C3=A4)ngt|h(ä|=E4|=C3=A4)ngsel|bei)|bei(gef(ü|=FC|=C3=BC)gt|lage)|(im|siehe)\W+(anhang|beilage)|attach(e|er|(é|=E9|=C3=A9)e?s?|ement|ant)'
+#
# set abort_nosubject=ask-yes
#
# Name: abort_nosubject
# This variable specifies which files to consult when attempting to
# display MIME bodies not directly supported by Mutt.
#
-set mailcap_path="$my_confdir/mailcap.backgrounding"
+set mailcap_path="$my_confdir/mailcap.icalendar:$my_confdir/mailcap.backgrounding:$my_confdir/mailcap.htmldump"
#
# set mailcap_sanitize=yes
#
# arguments as recipient addresses.
#
#set sendmail="/bin/true"
-set sendmail="~/.mutt/sendmail"
+set sendmail="$my_confdir/sendmail"
#set sendmail="/usr/sbin/sendmail -oem -oi"
#
# set sendmail_wait=0
#
# Note that $indent_string is ignored when this option is set.
#
+set text_flowed=yes
#
# set thread_received=no
#
# Controls the format of the title bar of the xterm provided that
# xterm_set_titles has been set. This string is identical in formatting
# to the one used by ``$status_format''.
-#
+#
set xterm_title="mutt@%h [%?M?%M/?%m, n:%n]%?V? [%V]?"
-#
+#
-auto_view text/html
+auto_view text/html application/ics text/calendar
#auto_view application/x-gunzip application/x-tar-gz application/x-tar application/x-gtar
#auto_view application/postscript
-alternative_order text/enriched text/plain text application/postscript image/*
+alternative_order multipart/mixed multipart/related text/html text/enriched text/*
+#alternative_order text/plain text/enriched text/html
+#alternative_order text/enriched text/plain text application/postscript image/*
mime_lookup application/octet-stream
source $my_confdir/colours
source $my_confdir/hooks
set my_mutt_mailboxes = "$VARDIR/mutt/mailboxes"
-source "test -f $my_mutt_mailboxes && cat $my_mutt_mailboxes|
+source "test -f $my_mutt_mailboxes && cat $my_mutt_mailboxes|"
#source "$my_confdir/list-mailboxes $folder $spoolfile|"
set alias_file="$my_confdir/aliases"