Changes between Version 3 and Version 4 of MuttFaq/Folder


Ignore:
Timestamp:
Oct 24, 2013 9:16:13 PM (4 years ago)
Author:
MiroRovis
Comment:

See here: http://marc.info/?l=mutt-users&m=138245224124489&w=2 for discussion why these changes

Legend:

Unmodified
Added
Removed
Modified
  • MuttFaq/Folder

    v3 v4  
    1515So make sure you create & use the same folder format: drop the "/" in muttrc, choose the right one for procmail!!!
    1616
    17 In case it's a ''missing'' <tt>"From "</tt>-line, solutions to fix new mail vary by program(s) used to get new mail:
    18  * <tt>procmail</tt>: have a look at the procmail manpage and check out the "-f" option.
    19  * <tt>fetchmail</tt>: see its manpage to create the From-line for you, \
     17In case it's a ''missing'' '''"From "'''-line, solutions to fix new mail vary by program(s) used to get new mail:
     18 * '''procmail''': have a look at the procmail manpage and check out the "-f" option.
     19 * '''fetchmail''': see its manpage to create the From-line for you, \
    2020  or how to invoke your MDA (typically procmail) properly, see above.
    21  * <tt>getmail</tt>: it is likely you do not have the unixfrom variable set in your getmailrc.
     21 * '''getmail''': it is likely you do not have the unixfrom variable set in your getmailrc.
    2222  * In ~/.getmail/getmailrc under [destination] set unixfrom to yes; e.g.,
    2323 [destination]
     
    2626 unixfrom = yes
    2727
    28 You can ''add missing'' <tt>"From "</tt> lines of already delivered eMails by means of piping them through formail like
     28You can ''add missing'' '''"From "''' lines of already delivered eMails by means of piping them through formail like
    2929 cat mailbox | formail -b > new_mailbox
    3030Depending on how broken the mailbox is, may or may not work. In doubt add 'From ' lines manually.
     
    5858To do it every time rtfm
    5959 $spoolfile
    60 Note for both: <tt>$folder</tt> can help you shorten the paths you have to specify,
     60Note for both: '''$folder''' can help you shorten the paths you have to specify,
    6161and lookout for the many other useful [[MuttGuide/Folders|folder shortcuts]].
    6262
    6363=== How to save copies of outgoing/sent eMails? ===
    64 RTFM <tt>$copy, $record</tt> for more. By default NONE is saved anywhere,
     64RTFM '''$copy, $record''' for more. By default NONE is saved anywhere,
    6565make sure you set them before you need them.
    6666
     
    102102After every keyboard input mutt updates the status of all folders.
    103103To receive "New mail in ..." notifications even without needing to press a key,
    104 set <tt>$timeout</tt> == time to wait for idle mutt (no key pressed)
     104set '''$timeout''' == time to wait for idle mutt (no key pressed)
    105105before the status is updated again as if a key were pressed.
    106106To avoid too frequent folder access (bad connections via NFS or IMAP),
    107 set <tt>$mail_check</tt> == minium time between 2 scans for new mail
     107set '''$mail_check''' == minium time between 2 scans for new mail
    108108(external changes to folders) in case of high keyboard activity.
    109109 $mail_check < $timeout : scan on next update
    110110 $timeout < $mail_check : update before scan
    111 This means <tt>$mail_check < $timeout</tt> is more useful,
     111This means '''$mail_check < $timeout''' is more useful,
    112112because by the time mutt will update, it will also scan for
    113113external changes to incorporate them in the update.
     
    124124
    125125=== Stop asking to "move read messages to mbox"! ===
    126 RTFM "move", i.e. "<tt>set move=no</tt>"
     126RTFM "move", i.e. "'''set move=no'''"
    127127
    128128=== How to create new folders? ===
     
    149149
    150150=== I left off a trailing '/' in my .procmailrc, and procmail delivered[[BR]] many emails to a Maildir folder in MH format. How do I fix this? ===
    151 Install the <tt>nmh</tt> program on your system, e.g. via your system's package manager.
     151Install the '''nmh''' program on your system, e.g. via your system's package manager.
    152152
    153153Then set up $HOME/.mh_profile as follows:
     
    159159where
    160160
    161  * <tt>$MAIL</tt> is the path to a folder that can be used as the default mail folder for nmh; the <tt>Path:</tt> option is required by the <tt>nmh</tt> suite of programs.
     161 * '''$MAIL''' is the path to a folder that can be used as the default mail folder for nmh; the '''Path:''' option is required by the '''nmh''' suite of programs.
    162162
    163  * <tt>$INBOX</tt> is the path to the folder in which you'd like to view the MH emails.
     163 * '''$INBOX''' is the path to the folder in which you'd like to view the MH emails.
    164164
    165  * The <tt>Unseen-Sequence</tt> option will mark the messages as unread.
     165 * The '''Unseen-Sequence''' option will mark the messages as unread.
    166166
    167 Change to the directory which contains the MH messages you want to be able to view, and type the following on the command line, assuming the <tt>bash</tt> shell:
     167Change to the directory which contains the MH messages you want to be able to view, and type the following on the command line, assuming the '''bash''' shell:
    168168
    169169 for msg in *; do cat $msg | $RCVSTOREPATH/rcvstore -unseen; done
    170170
    171 where <tt>$RCVSTORE</tt> is the location of the <tt>rcvstore</tt> program (perhaps <tt>/usr/lib/nmh/</tt>).
     171where '''$RCVSTORE''' is the location of the '''rcvstore''' program (perhaps '''/usr/lib/nmh/''').
    172172
    173 You should now be able to view the messages in Mutt. (If not, you may need to do a <tt>touch .mh_sequences</tt> in the <tt>$INBOX</tt> directory and/or temporarily move the <tt>cur</tt>, <tt>new</tt> and <tt>tmp</tt> folders to another location, so that Mutt regards <tt>$INBOX</tt> as a MH folder.) You can then use Mutt to move the messages to  one or more Maildir folders temporarily; remove the <tt>.mh_sequences</tt> file from the <tt>$INBOX</tt> directory and move the <tt>cur</tt>, <tt>new</tt> and <tt>tmp</tt> folders back to <tt>$INBOX</tt> if necessary, so that Mutt will again regard <tt>$INBOX</tt> as a Maildir folder; and then use move the messages from their temporary location back to <tt>$INBOX</tt>.
     173You should now be able to view the messages in Mutt. (If not, you may need to do a '''touch .mh_sequences''' in the '''$INBOX''' directory and/or temporarily move the '''cur''', '''new''' and '''tmp''' folders to another location, so that Mutt regards '''$INBOX''' as a MH folder.) You can then use Mutt to move the messages to  one or more Maildir folders temporarily; remove the '''.mh_sequences''' file from the '''$INBOX''' directory and move the '''cur''', '''new''' and '''tmp''' folders back to '''$INBOX''' if necessary, so that Mutt will again regard '''$INBOX''' as a Maildir folder; and then use move the messages from their temporary location back to '''$INBOX'''.
    174174
    175175=== What's the difference between '+' and '='? ===
    176176Technically NONE, it's just for convenience not to need SHIFT to type it depending on keyboard layout (DE, EN).
     177