This is an old revision of the document!
Il tree della directory .mutt sul serverHP:
francesco@serverHP:~/.mutt$ tree . ├── aliases ├── biblioteca ├── cache │ └── headers ├── francesco ├── gmail ├── mailboxes └── muttrc
Per eliminare tutti i messaggi di un dossier:
In the main view press “D” (Shift + d) At the bottom it asks “Delete messages matching:”
Enter the following and press enter:
~s .*
All messages will be marked for deletion. Now just press “q” to quit and “y” to confirm you want to delete all those messages.
(The ~s makes it search the subject for the given expression and of course “.*” is a global regex wild card.
See this page for more details. http://www.mutt.org/doc/manual/manual-4.html)
Il tree della directory .mutt sulla Virtual Machine KVM UbuntuServer:
francesco@ubuntu:~$ tree .mutt .mutt ├── aliases ├── cache │ └── headers ├── lists ├── macros ├── mailboxes ├── muttrc ├── save-hooks ├── subscriptions └── unixmail
il file aliases:
il file lists:
il file macros:
il file mailboxes:
il file di configurazione muttrc:
francesco@ubuntu:~/.mutt$ cat muttrc # folder-hook . "source ~/.mutt/unixmail" source /home/francesco/.mutt/unixmail source /home/francesco/.mutt/save-hooks source /home/francesco/.mutt/lists source /home/francesco/.mutt/subscriptions source /home/francesco/.mutt/aliases source /home/francesco/.mutt/macros set mbox_type = Maildir set folder = "/home/francesco/Mail/" set spoolfile = "+INBOX" set postponed="+Drafts" set header_cache=~/.mutt/cache/headers set message_cachedir=~/.mutt/cache/bodies set certificate_file=~/.mutt_certificates set move = no set delete ################ ### Quelle che seguono sono le macro per notmuch macro index <F8> \ "<enter-command>unset wait_key<enter><shell-escape>notmuch-mutt --prompt search<enter><change-folder-readonly>~/.cache/notmuch/mutt/results<enter>" \ "notmuch: search mail" macro index <F9> \ "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>~/.cache/notmuch/mutt/results<enter><enter-command>set wait_key<enter>" "notmuch: reconstruct thread" macro index <F6> \ "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt tag -inbox<enter>" \ "notmuch: remove message from inbox" ### set sort=threads set sort_aux=reverse-date set editor="vim -c 'set tw=70 et' '+/^$' " set edit_headers=yes # See the headers when editing set abort_nosubject=no # Let me send messages with an empty subject set abort_unmodified=no # Let me send empty messages set pager_stop # Don't fall through to the next message in the pager set read_inc=50 # Progress indicator when reading folders. # Heures et dates françaises # set locale="fr_FR.UFT-8" # set charset="utf-8" # chartset for your teminal # set assumed_charset="utf-8" set send_charset="utf-8:iso-8859-15:us-ascii" set date_format="%d %b %Y à %H:%M" ############### ### Colori! ### ############### color index red black ~D color attachment brightyellow black ### ### How do I forward a message including attachments? ### add: # set mime_forward=yes # set mime_forward_rest=yes ### to your ~/.muttrc. This will cause Mutt to attach the message rather ### than quoting it in the body of the message. ### Otherwise use "bounce". ################################### ### Uso Lynx per leggere l'html ### ################################### set implicit_autoview auto_view text/html application/x-pgp-message set mailcap_path="~/.mailcap" set mailcap_sanitize=yes ### permet lorsqu'on lit un mail de toujours avoir ### une liste affiché en haut dans une 2ème fenêtre set pager_index_lines=9 ### This variable controls the number of lines ### of context that are given when displaying the next or previous ### page in the internal pager set pager_context=3 ############### ### *Index* ### ############### # Quello che segue è per un monitor da 14/15 pollici set index_format="%4C %Z %-19.19f %-49.49s %d (%?l?%4l&%4c?)" # Default: "%4C %Z %{%b %d} %-15.15L (%4l) %s" # Questo è per gli schermi più larghi # set index_format="%4C %Z %-40.40f %-77.77s %d (%?1?%41&%4c?)" ################################################# ### Il *folder* è la lista di tutti i dossier ### ################################################# set folder_format="%N %f %F %s %t" # set folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" # Default ################# ### Mailboxes ### ################# mailboxes ! mailboxes =debian-french mailboxes =debian-italian mailboxes =debian-security mailboxes =debian-spanish mailboxes =debian-user mailboxes =FreeBSD-questions mailboxes =FreeBSD-secutiry mailboxes =koha mailboxes =mutt # A cosa serve la linea che segue? # mailboxes ~/.mutt/mailboxes ###################################### ### Gestione esterna degli aliases ### ###################################### # è necessario? set alias_file=~/.mutt/aliases
il file save-hooks, ormai inutile, da quando ho scoperto imapfilter:
il file subscriptions:
ed infine il file di configurazione del mio account su unixmail.fr:
francesco@ubuntu:~/.mutt$ cat unixmail set realname = "francesco scaglione" set from=firminmaillard@unixmail.fr set smtp_url = "smtps://firminmaillard@unixmail.fr@mail.unixmail.fr:465/" set smtp_pass = "THwx103p" set copy =yes set record ="~/Mail/Sent"