1 set realname = "Hassan Afify"
2 set imap_user = "hassan3afify@gmail.com"
3 set spoolfile = "imaps://imap.gmail.com:993/INBOX"
4 set smtp_url = "smtp://hassan3afify@smtp.gmail.com:587/"
5 set folder = "imaps://imap.gmail.com:993"
6 set record="+[Gmail]/Sent Mail"
7 set postponed="+[Gmail]/Drafts"
8 set header_cache="~/.config/mutt/cache/headers"
9 set message_cachedir="~/.config/mutt/cache/bodies"
10 set certificate_file="~/.config/mutt/certificates"
25 # Sync and check intervals
31 # compose View Options
32 set envelope_from # which from?
33 set edit_headers # show headers when composing
34 set fast_reply # skip to compose when replying
35 set askcc # ask for CC:
36 set fcc_attach # save attachments with the body
37 set forward_format = "Fwd: %s" # format of subject when forwarding
38 set forward_decode # decode when forwarding
39 set attribution = "On %d, %n wrote:" # format of quoting header
40 set reply_to # reply to Reply to: field
41 set include # include message in replies
42 set forward_quote # include message in forwards
44 unset sig_dashes # no dashes before sig
45 unset mime_forward # forward attachments as part of body
47 # status bar, date format, finding stuff etc.
48 set status_chars = " *%A"
49 set status_format = "[ Folder: %f ] [%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]%>─%?p?( %p postponed )?"
50 set date_format = "%d.%m.%Y %H:%M"
51 set index_format = "[%Z] %?X?A&-? %D %-20.20F %s"
53 set sort_aux = reverse-last-date-received
56 set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
57 set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
58 set send_charset = "utf-8:iso-8859-1:us-ascii"
61 # set pager_index_lines = 10
68 # email headers and attachments
70 unignore from subject to cc date x-mailer x-url user-agent
72 hdr_order from to cc date subject x-mailer user-agent
73 alternative_order text/plain text/enriched text/html
75 set imap_check_subscribed=yes
76 set abort_nosubject=no
77 set attribution = " %n wrote:\n" # I don't like lengthy attributions as well
78 set hdr_format="%4C %Z %{%m/%d} %-15.15F (%4c) %s" # format of the index
80 # colors stuff outside
81 # source ~/.config/mutt/themes/gruvbox.muttrc
82 # source ~/.config/mutt/themes/new.muttrc
83 source ~/.config/mutt/themes/noir.muttrc
86 source ~/.config/mutt/keymap.muttrc
89 set signature = ~/.config/mutt/default.signature
92 set pgp_sign_as = CED2D2F771262467
93 set crypt_use_gpgme = yes
94 set crypt_autosign = no
95 set crypt_autoencrypt = no
96 set crypt_verify_sig = yes
97 set crypt_replysign = yes
98 set crypt_replyencrypt = yes
99 set crypt_replysignencrypted = yes
103 set sidebar_short_path
104 set sidebar_folder_indent
105 set sidebar_width = 25
106 set sidebar_divider_char = ' │'
107 set sidebar_indent_string = ' ''
108 # set sidebar_format = "[%?N?%N]"
109 set sidebar_format = "%B %* [%?N?%N / ?%S]"
110 # color sidebar_new yellow default
112 # macro index b '<enter-command>toggle sidebar_visible<enter>'
113 # macro pager b '<enter-command>toggle sidebar_visible<enter>'
114 # bind index \CP sidebar-prev
115 # bind index \CN sidebar-next
116 # bind index \CO sidebar-open
117 # bind pager \CP sidebar-prev
118 # bind pager \CN sidebar-next
119 # bind pager \CO sidebar-open
123 # set pgp_sign_as=0x589E26B5
125 # # General crypt options
126 # set crypt_autosmime="no"
127 # set crypt_autosign="yes"
128 # set crypt_replyencrypt="yes"
129 # set crypt_replysign="yes"
130 # set crypt_replysignencrypted="yes"
131 # set crypt_verify_sig="yes"
134 # set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
135 # set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
136 # set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
137 # set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
138 # set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
139 # set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x589E26B5 -- -r %r -- %f"
140 # set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x589E26B5 -- -r %r -- %f"
141 # set pgp_import_command="gpg --no-verbose --import -v %f"
142 # set pgp_export_command="gpg --no-verbose --export --armor %r"
143 # set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
144 # set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r"
145 # set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r"
146 # alternates '(username|altusername)([-+].*)?@.*'
155 # set reverse_name # reply as whomever it was to
156 # set mbox_type = Maildir
159 # when composing emails, use this command to get addresses from
160 # the addressbook with khard first, and everything else from mu index
161 # set query_command = "( khard email --parsable '%s' | sed -n '1!p'; mu cfind --format=mutt-ab '%s' )"
162 # set query_command = '~/opt/goobook-read-only/contactos.py "%s"'
163 # see beyond for hooks explanations
164 # folder-hook . 'set from = "yourname@gmail.com"; \
165 # set smtp_url= "smtp://yourname@smtp.gmail.com:587/"'
166 # folder-hook my 'set from = "i@mywork.com"; \
167 # set smtp_url = "smtp://i@mywork.com@smtp.gmail.com:587/";'
168 # folder-hook foobar 'set from = "yo@example.org";'
169 # unignore from: to: cc: bcc: date: subject:
170 # hdr_order from: to: cc: bcc: date: subject: