From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GJ6is-0005Tt-IC for garchives@archives.gentoo.org; Fri, 01 Sep 2006 10:58:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k81AvxOj007044; Fri, 1 Sep 2006 10:57:59 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k81AvwZS021672 for ; Fri, 1 Sep 2006 10:57:58 GMT Received: from lark (lark.gentoo.osuosl.org [140.211.166.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with SMTP id 4373564330 for ; Fri, 1 Sep 2006 10:57:58 +0000 (UTC) Received: by lark (sSMTP sendmail emulation); Fri, 1 Sep 2006 10:57:57 +0000 From: "Xavier Neys" Date: Fri, 1 Sep 2006 10:57:57 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: guide-to-mutt.xml Message-Id: <20060901105758.4373564330@smtp.gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: 30c689ff-fea4-412f-a56e-cb3a54f8ab47 X-Archives-Hash: 6a0d64ab1849b1ba894e4c69fec5a2bf 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 @@ - + + + QuickStart Guide to Mutt E-Mail + Mike Polniak @@ -66,14 +69,13 @@
 # emerge fetchmail procmail mutt nbsmtp
-
+

Then just four quick steps to configure files and you will be up and running a brand new e-mail system.

- 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 @@ -Fetchmail +Fetchmail
@@ -95,7 +97,7 @@

-poll mail.myisp.net protocol pop3 user "myname" password "mypasswd" 
+poll mail.myisp.net protocol pop3 user "myname" password "mypasswd"
 

@@ -109,21 +111,22 @@

-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.

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. - +

Run it now to see fetchmail in action!

-$ fetchmail -akv -m "/usr/bin/procmail -d %T" 
+$ fetchmail -akv -m "/usr/bin/procmail -d %T"
 

@@ -138,7 +141,7 @@ Procmail -

+

@@ -149,7 +152,7 @@

To use procmail you need to create a .procmailrc 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 .procmailrc that will filter mail from three gentoo mailing lists into these mailboxes:gentoo-dev, gentoo-user and gentoo-announce

@@ -183,12 +186,12 @@ $MAILDIR/duplicates #people we always allow mail from -:0 +:0 * ^From:.*(craig\@hotmail|renee\@local.com) -$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:.*@freshmeat\.net 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 @@
-$ fetchmail -akv -m "/usr/bin/procmail -d %T" 
+$ fetchmail -akv -m "/usr/bin/procmail -d %T"
 

@@ -263,7 +266,8 @@

-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.

@@ -286,14 +290,14 @@

-(Be sure to read the fine Mutt manual in /usr/share/doc/mutt*)
-(Any settings here override the system settings in /etc/mutt/Muttrc)
+(Be sure to read the fine Mutt manual in /usr/share/doc/mutt*)
+(Any settings here override the system settings in /etc/mutt/Muttrc)
 
 # cp /etc/mutt/Muttrc ~/.muttrc
 # nano -w .muttrc
-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	"[-a-z_0-9.]+@[-a-z_0-9.]+"
-mono    body    bold                    "[-a-z_0-9.]+@[-a-z_0-9.]+"
+color   body            brightwhite     blue    "[-a-z_0-9.]+@[-a-z_0-9.]+"
+mono    body            bold                    "[-a-z_0-9.]+@[-a-z_0-9.]+"
 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....:)
 
@@ -414,7 +418,7 @@

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.

@@ -482,7 +486,7 @@

-# emerge urlview 
+# emerge urlview
 

@@ -555,7 +559,7 @@ host smtp.your_provider.net from your_username@provider1.net #see man page for more auth options -auth login +auth login user your_username password your_password #If your SMTP Server supports TLS encryption, uncomment the next line @@ -580,7 +584,7 @@

-Fire up mutt and send yourself a test email to see if it worked! See +Fire up mutt and send yourself a test email to see if it worked! See the msmtp man page for more options and another example.

-- gentoo-doc-cvs@gentoo.org mailing list