neysx 06/09/01 10:57:57 Modified: guide-to-mutt.xml Log: #145340 Improved coding style, *No Content Chane*
Revision Changes Path 1.18 xml/htdocs/doc/en/guide-to-mutt.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml?rev=1.18&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml?rev=1.18&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml?r1=1.17&r2=1.18 Index: guide-to-mutt.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- guide-to-mutt.xml 28 Aug 2006 16:10:53 -0000 1.17 +++ guide-to-mutt.xml 1 Sep 2006 10:57:57 -0000 1.18 @@ -1,9 +1,12 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml,v 1.17 2006/08/28 16:10:53 neysx Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml,v 1.18 2006/09/01 10:57:57 neysx Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> + <guide link="/doc/en/guide-to-mutt.xml"> + <title>QuickStart Guide to Mutt E-Mail</title> + <author title="Author"> <mail link="[EMAIL PROTECTED]">Mike Polniak</mail> </author> @@ -66,14 +69,13 @@ <pre caption="Getting needed programs"> # <i>emerge fetchmail procmail mutt nbsmtp</i> -</pre> +</pre> <p> Then just four quick steps to configure files and you will be up and running a brand new e-mail system. </p> - <impo> After each step you can run a test to make sure the setup is correct. This means you will have a complete working e-mail system when you are done. @@ -84,7 +86,7 @@ </chapter> <chapter> -<title>Fetchmail</title> +<title>Fetchmail</title> <section> <body> @@ -95,7 +97,7 @@ </p> <pre caption="Sample .fetchmailrc"> -<i>poll mail.myisp.net protocol pop3 user "myname" password "mypasswd"</i> +<i>poll mail.myisp.net protocol pop3 user "myname" password "mypasswd"</i> </pre> <p> @@ -109,21 +111,22 @@ </pre> <p> -To see fetchmail in action, use the verbose mode (-v). To fetch all messages use -a. -And you must use the option -m to tell fetchmail to send the mail to procmail. +To see fetchmail in action, use the verbose mode (-v). To fetch all messages +use -a. And you must use the option -m to tell fetchmail to send the mail to +procmail. </p> <warn> While testing, it's a good idea to tell fetchmail to keep (-k) the mail on the remote server in case something goes wrong and you need to fetch it again. -</warn> +</warn> <p> Run it now to see fetchmail in action! </p> <pre caption="Fetchmail test #1"> -$ <i>fetchmail -akv -m "/usr/bin/procmail -d %T"</i> +$ <i>fetchmail -akv -m "/usr/bin/procmail -d %T"</i> </pre> <p> @@ -138,7 +141,7 @@ <chapter> <title>Procmail</title> -<section> +<section> <body> <p> @@ -149,7 +152,7 @@ <p> To use procmail you need to create a <path>.procmailrc</path> file in your home -directory. For our quickstart purposes we will use a very simple +directory. For our quickstart purposes we will use a very simple <path>.procmailrc</path> that will filter mail from three gentoo mailing lists into these mailboxes:<e>gentoo-dev, gentoo-user</e> and <e>gentoo-announce</e> </p> @@ -183,12 +186,12 @@ $MAILDIR/duplicates #people we always allow mail from -:0 +:0 * ^From:.*([EMAIL PROTECTED]|[EMAIL PROTECTED]) -$MAILDIR/friends +$MAILDIR/friends -#now flush some spam out -:0 +#now flush some spam out +:0 * ^Subject:.*(credit|cash|money|debt|sex|sale|loan) $MAILDIR/spam @@ -198,32 +201,32 @@ $MAILDIR/junk #now put my mail lists into mailboxes -:0 +:0 * ^List-Id:.*gentoo-user gentoo-user -:0 +:0 * ^List-Id:.*gentoo-dev gentoo-dev -:0 +:0 * ^List-Id:.*gentoo-announce gentoo-announce #catch any other gentoo mail -:0 +:0 * ^From:.*gentoo.org gentoo -:0 +:0 * ^From:[EMAIL PROTECTED] freshmeat ################################ # Last rule: mail that gets # -# this far goes in default box # +# this far goes in default box # ################################ -:0 +:0 * .* default @@ -245,7 +248,7 @@ <pre caption="Procmail test #1"> -$ <i>fetchmail -akv -m "/usr/bin/procmail -d %T"</i> +$ <i>fetchmail -akv -m "/usr/bin/procmail -d %T"</i> </pre> <p> @@ -263,7 +266,8 @@ <body> <p> -Mutt is used to read and compose e-mail. It is powerful and highly customizable but also small and efficient. +Mutt is used to read and compose e-mail. It is powerful and highly customizable +but also small and efficient. </p> <p> @@ -286,14 +290,14 @@ </p> <pre caption="Sample .muttrc"> -<comment>(Be sure to read the fine Mutt manual in /usr/share/doc/mutt*)</comment> -<comment>(Any settings here override the system settings in /etc/mutt/Muttrc)</comment> +<comment>(Be sure to read the fine Mutt manual in /usr/share/doc/mutt*) +(Any settings here override the system settings in /etc/mutt/Muttrc)</comment> # <i>cp /etc/mutt/Muttrc ~/.muttrc</i> # <i>nano -w .muttrc</i> -set pager_context=1 +set pager_context=1 set pager_index_lines=6 #show a mini-index in pager -set menu_scroll +set menu_scroll set pgp_verify_sig=no #dont show pgp in pager set status_on_top #put status line at top set sort=threads #sort by message threads in index @@ -311,22 +315,22 @@ set record="$HOME/MuttMail/sent" #sent mail is saved here set delete=yes #delete without prompting -set include=yes #quote msg in reply -set fast_reply=yes #no prompting on reply -set beep=no #no noise -set markers=no #no + on wrapped lines -set confirmappend=no #no prompt for save to =keep +set include=yes #quote msg in reply +set fast_reply=yes #no prompting on reply +set beep=no #no noise +set markers=no #no + on wrapped lines +set confirmappend=no #no prompt for save to =keep set to_chars=" +TCF" #no L for mail_list set folder = $HOME/MuttMail mailboxes =gentoo-user mailboxes =gentoo-dev mailboxes =gentoo-announce -mailboxes =gentoo +mailboxes =gentoo mailboxes =freshmeat mailboxes =duplicates -mailboxes =default -mailboxes =friends +mailboxes =default +mailboxes =friends mailboxes =junk mailboxes =spam mailboxes =keep @@ -334,7 +338,7 @@ save-hook .* =keep #default mbox to (s)ave mail is =keep subscribe gentoo-user gentoo-dev #subscribed to these lists -bind pager h display-toggle-weed #toggle headers with h key +bind pager h display-toggle-weed #toggle headers with h key # simulate the old url menu macro index \cb |urlview\n 'call urlview to extract URLs out of a message' @@ -342,7 +346,7 @@ #run fetchmail by hitting key of G macro index G "!fetchmail -a -m 'procmail -d %T'\r" -macro pager G "!fetchmail -a -m 'procmail -d %T'\r" +macro pager G "!fetchmail -a -m 'procmail -d %T'\r" #use to edit .muttrc and then source it...no restart necessary macro generic ,sm ":source $HOME/.muttrc\r" @@ -352,47 +356,47 @@ #ignore them all and then unignore what you want to see ignore * unignore Date To From: Subject X-Mailer Organization User-Agent -hdr_order Date From To Subject X-Mailer User-Agent Organization +hdr_order Date From To Subject X-Mailer User-Agent Organization ##your Mutt has to have some colors ##these are for four levels of quoted text ##they override the system settings in /etc/mutt/Muttrc #color quoted green default -color quoted1 magenta blue +color quoted1 magenta blue #color quoted2 yellow default -#color quoted3 red default -#color signature cyan cyan +#color quoted3 red default +#color signature cyan cyan #this color setup is copied from /etc/mutt/Muttrc.color #comment it out if you want the default colors in /etc/mutt/Muttrc -# Je vois la vie en rose :-) -color hdrdefault brightcyan blue -color header brightwhite blue "^from:" -color header brightwhite blue "^subject:" +# Je vois la vie en rose :-) +color hdrdefault brightcyan blue +color header brightwhite blue "^from:" +color header brightwhite blue "^subject:" color quoted brightgreen blue -color signature brightwhite blue +color signature brightwhite blue -color indicator blue green +color indicator blue green color error red black mono error bold color status black cyan -mono status bold -color tree yellow blue +mono status bold +color tree yellow blue color tilde brightmagenta blue -color body brightwhite blue "[EMAIL PROTECTED]" -mono body bold "[EMAIL PROTECTED]" +color body brightwhite blue "[EMAIL PROTECTED]" +mono body bold "[EMAIL PROTECTED]" color body brightyellow black "^Good signature" mono body bold "^Good signature" color body brightwhite red "^Bad signature from.*" mono body bold "^Bad signature from.*" -color normal white blue -color message green black -color attachment brightgreen blue +color normal white blue +color message green black +color attachment brightgreen blue # End of file...but it can go on and on and on....:) </pre> @@ -414,7 +418,7 @@ <p> This should open Mutt with a menu showing the Mutt mailboxes that you created -in Test 2 when you ran the fetchmail command. +in Test 2 when you ran the fetchmail command. </p> <p> @@ -482,7 +486,7 @@ </note> <pre caption="Getting urlview"> -# <i>emerge urlview</i> +# <i>emerge urlview</i> </pre> <p> @@ -555,7 +559,7 @@ host <i>smtp.your_provider.net</i> from <i>[EMAIL PROTECTED]</i> <comment>#see man page for more auth options</comment> -auth login +auth login user <i>your_username</i> password <i>your_password</i> <comment>#If your SMTP Server supports TLS encryption, uncomment the next line @@ -580,7 +584,7 @@ </pre> <p> -Fire up <c>mutt</c> and send yourself a test email to see if it worked! See +Fire up <c>mutt</c> and send yourself a test email to see if it worked! See the msmtp man page for more options and another example. </p> -- [email protected] mailing list
