Gentoo Archives: gentoo-doc-cvs

From: Xavier Neys <neysx@×××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: guide-to-mutt.xml
Date: Fri, 01 Sep 2006 10:58:07
Message-Id: 20060901105758.4373564330@smtp.gentoo.org
1 neysx 06/09/01 10:57:57
2
3 Modified: guide-to-mutt.xml
4 Log:
5 #145340 Improved coding style, *No Content Chane*
6
7 Revision Changes Path
8 1.18 xml/htdocs/doc/en/guide-to-mutt.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml?rev=1.18&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml?rev=1.18&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml?r1=1.17&r2=1.18
13
14 Index: guide-to-mutt.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml,v
17 retrieving revision 1.17
18 retrieving revision 1.18
19 diff -u -r1.17 -r1.18
20 --- guide-to-mutt.xml 28 Aug 2006 16:10:53 -0000 1.17
21 +++ guide-to-mutt.xml 1 Sep 2006 10:57:57 -0000 1.18
22 @@ -1,9 +1,12 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml,v 1.17 2006/08/28 16:10:53 neysx Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml,v 1.18 2006/09/01 10:57:57 neysx Exp $ -->
26
27 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
28 +
29 <guide link="/doc/en/guide-to-mutt.xml">
30 +
31 <title>QuickStart Guide to Mutt E-Mail</title>
32 +
33 <author title="Author">
34 <mail link="mikpolniak@××××××××.net">Mike Polniak</mail>
35 </author>
36 @@ -66,14 +69,13 @@
37
38 <pre caption="Getting needed programs">
39 # <i>emerge fetchmail procmail mutt nbsmtp</i>
40 -</pre>
41 +</pre>
42
43 <p>
44 Then just four quick steps to configure files and you will be up and running a
45 brand new e-mail system.
46 </p>
47
48 -
49 <impo>
50 After each step you can run a test to make sure the setup is correct. This
51 means you will have a complete working e-mail system when you are done.
52 @@ -84,7 +86,7 @@
53 </chapter>
54
55 <chapter>
56 -<title>Fetchmail</title>
57 +<title>Fetchmail</title>
58 <section>
59 <body>
60
61 @@ -95,7 +97,7 @@
62 </p>
63
64 <pre caption="Sample .fetchmailrc">
65 -<i>poll mail.myisp.net protocol pop3 user "myname" password "mypasswd"</i>
66 +<i>poll mail.myisp.net protocol pop3 user "myname" password "mypasswd"</i>
67 </pre>
68
69 <p>
70 @@ -109,21 +111,22 @@
71 </pre>
72
73 <p>
74 -To see fetchmail in action, use the verbose mode (-v). To fetch all messages use -a.
75 -And you must use the option -m to tell fetchmail to send the mail to procmail.
76 +To see fetchmail in action, use the verbose mode (-v). To fetch all messages
77 +use -a. And you must use the option -m to tell fetchmail to send the mail to
78 +procmail.
79 </p>
80
81 <warn>
82 While testing, it's a good idea to tell fetchmail to keep (-k) the mail on the
83 remote server in case something goes wrong and you need to fetch it again.
84 -</warn>
85 +</warn>
86
87 <p>
88 Run it now to see fetchmail in action!
89 </p>
90
91 <pre caption="Fetchmail test #1">
92 -$ <i>fetchmail -akv -m "/usr/bin/procmail -d %T"</i>
93 +$ <i>fetchmail -akv -m "/usr/bin/procmail -d %T"</i>
94 </pre>
95
96 <p>
97 @@ -138,7 +141,7 @@
98
99 <chapter>
100 <title>Procmail</title>
101 -<section>
102 +<section>
103 <body>
104
105 <p>
106 @@ -149,7 +152,7 @@
107
108 <p>
109 To use procmail you need to create a <path>.procmailrc</path> file in your home
110 -directory. For our quickstart purposes we will use a very simple
111 +directory. For our quickstart purposes we will use a very simple
112 <path>.procmailrc</path> that will filter mail from three gentoo mailing lists
113 into these mailboxes:<e>gentoo-dev, gentoo-user</e> and <e>gentoo-announce</e>
114 </p>
115 @@ -183,12 +186,12 @@
116 $MAILDIR/duplicates
117
118 #people we always allow mail from
119 -:0
120 +:0
121 * ^From:.*(craig\@hotmail|renee\@local.com)
122 -$MAILDIR/friends
123 +$MAILDIR/friends
124
125 -#now flush some spam out
126 -:0
127 +#now flush some spam out
128 +:0
129 * ^Subject:.*(credit|cash|money|debt|sex|sale|loan)
130 $MAILDIR/spam
131
132 @@ -198,32 +201,32 @@
133 $MAILDIR/junk
134
135 #now put my mail lists into mailboxes
136 -:0
137 +:0
138 * ^List-Id:.*gentoo-user
139 gentoo-user
140
141 -:0
142 +:0
143 * ^List-Id:.*gentoo-dev
144 gentoo-dev
145
146 -:0
147 +:0
148 * ^List-Id:.*gentoo-announce
149 gentoo-announce
150
151 #catch any other gentoo mail
152 -:0
153 +:0
154 * ^From:.*gentoo.org
155 gentoo
156
157 -:0
158 +:0
159 * ^From:.*@freshmeat\.net
160 freshmeat
161
162 ################################
163 # Last rule: mail that gets #
164 -# this far goes in default box #
165 +# this far goes in default box #
166 ################################
167 -:0
168 +:0
169 * .*
170 default
171
172 @@ -245,7 +248,7 @@
173
174
175 <pre caption="Procmail test #1">
176 -$ <i>fetchmail -akv -m "/usr/bin/procmail -d %T"</i>
177 +$ <i>fetchmail -akv -m "/usr/bin/procmail -d %T"</i>
178 </pre>
179
180 <p>
181 @@ -263,7 +266,8 @@
182 <body>
183
184 <p>
185 -Mutt is used to read and compose e-mail. It is powerful and highly customizable but also small and efficient.
186 +Mutt is used to read and compose e-mail. It is powerful and highly customizable
187 +but also small and efficient.
188 </p>
189
190 <p>
191 @@ -286,14 +290,14 @@
192 </p>
193
194 <pre caption="Sample .muttrc">
195 -<comment>(Be sure to read the fine Mutt manual in /usr/share/doc/mutt*)</comment>
196 -<comment>(Any settings here override the system settings in /etc/mutt/Muttrc)</comment>
197 +<comment>(Be sure to read the fine Mutt manual in /usr/share/doc/mutt*)
198 +(Any settings here override the system settings in /etc/mutt/Muttrc)</comment>
199
200 # <i>cp /etc/mutt/Muttrc ~/.muttrc</i>
201 # <i>nano -w .muttrc</i>
202 -set pager_context=1
203 +set pager_context=1
204 set pager_index_lines=6 #show a mini-index in pager
205 -set menu_scroll
206 +set menu_scroll
207 set pgp_verify_sig=no #dont show pgp in pager
208 set status_on_top #put status line at top
209 set sort=threads #sort by message threads in index
210 @@ -311,22 +315,22 @@
211
212 set record="$HOME/MuttMail/sent" #sent mail is saved here
213 set delete=yes #delete without prompting
214 -set include=yes #quote msg in reply
215 -set fast_reply=yes #no prompting on reply
216 -set beep=no #no noise
217 -set markers=no #no + on wrapped lines
218 -set confirmappend=no #no prompt for save to =keep
219 +set include=yes #quote msg in reply
220 +set fast_reply=yes #no prompting on reply
221 +set beep=no #no noise
222 +set markers=no #no + on wrapped lines
223 +set confirmappend=no #no prompt for save to =keep
224 set to_chars=" +TCF" #no L for mail_list
225
226 set folder = $HOME/MuttMail
227 mailboxes =gentoo-user
228 mailboxes =gentoo-dev
229 mailboxes =gentoo-announce
230 -mailboxes =gentoo
231 +mailboxes =gentoo
232 mailboxes =freshmeat
233 mailboxes =duplicates
234 -mailboxes =default
235 -mailboxes =friends
236 +mailboxes =default
237 +mailboxes =friends
238 mailboxes =junk
239 mailboxes =spam
240 mailboxes =keep
241 @@ -334,7 +338,7 @@
242 save-hook .* =keep #default mbox to (s)ave mail is =keep
243 subscribe gentoo-user gentoo-dev #subscribed to these lists
244
245 -bind pager h display-toggle-weed #toggle headers with h key
246 +bind pager h display-toggle-weed #toggle headers with h key
247
248 # simulate the old url menu
249 macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
250 @@ -342,7 +346,7 @@
251
252 #run fetchmail by hitting key of G
253 macro index G "!fetchmail -a -m 'procmail -d %T'\r"
254 -macro pager G "!fetchmail -a -m 'procmail -d %T'\r"
255 +macro pager G "!fetchmail -a -m 'procmail -d %T'\r"
256
257 #use to edit .muttrc and then source it...no restart necessary
258 macro generic ,sm ":source $HOME/.muttrc\r"
259 @@ -352,47 +356,47 @@
260 #ignore them all and then unignore what you want to see
261 ignore *
262 unignore Date To From: Subject X-Mailer Organization User-Agent
263 -hdr_order Date From To Subject X-Mailer User-Agent Organization
264 +hdr_order Date From To Subject X-Mailer User-Agent Organization
265
266 ##your Mutt has to have some colors
267 ##these are for four levels of quoted text
268 ##they override the system settings in /etc/mutt/Muttrc
269
270 #color quoted green default
271 -color quoted1 magenta blue
272 +color quoted1 magenta blue
273 #color quoted2 yellow default
274 -#color quoted3 red default
275 -#color signature cyan cyan
276 +#color quoted3 red default
277 +#color signature cyan cyan
278
279
280 #this color setup is copied from /etc/mutt/Muttrc.color
281 #comment it out if you want the default colors in /etc/mutt/Muttrc
282 -# Je vois la vie en rose :-)
283 -color hdrdefault brightcyan blue
284 -color header brightwhite blue "^from:"
285 -color header brightwhite blue "^subject:"
286 +# Je vois la vie en rose :-)
287 +color hdrdefault brightcyan blue
288 +color header brightwhite blue "^from:"
289 +color header brightwhite blue "^subject:"
290
291 color quoted brightgreen blue
292 -color signature brightwhite blue
293 +color signature brightwhite blue
294
295 -color indicator blue green
296 +color indicator blue green
297
298 color error red black
299 mono error bold
300 color status black cyan
301 -mono status bold
302 -color tree yellow blue
303 +mono status bold
304 +color tree yellow blue
305
306 color tilde brightmagenta blue
307 -color body brightwhite blue "[-a-z_0-9.]+@[-a-z_0-9.]+"
308 -mono body bold "[-a-z_0-9.]+@[-a-z_0-9.]+"
309 +color body brightwhite blue "[-a-z_0-9.]+@[-a-z_0-9.]+"
310 +mono body bold "[-a-z_0-9.]+@[-a-z_0-9.]+"
311 color body brightyellow black "^Good signature"
312 mono body bold "^Good signature"
313 color body brightwhite red "^Bad signature from.*"
314 mono body bold "^Bad signature from.*"
315 -color normal white blue
316 -color message green black
317 -color attachment brightgreen blue
318 +color normal white blue
319 +color message green black
320 +color attachment brightgreen blue
321
322 # End of file...but it can go on and on and on....:)
323 </pre>
324 @@ -414,7 +418,7 @@
325
326 <p>
327 This should open Mutt with a menu showing the Mutt mailboxes that you created
328 -in Test 2 when you ran the fetchmail command.
329 +in Test 2 when you ran the fetchmail command.
330 </p>
331
332 <p>
333 @@ -482,7 +486,7 @@
334 </note>
335
336 <pre caption="Getting urlview">
337 -# <i>emerge urlview</i>
338 +# <i>emerge urlview</i>
339 </pre>
340
341 <p>
342 @@ -555,7 +559,7 @@
343 host <i>smtp.your_provider.net</i>
344 from <i>your_username@×××××××××.net</i>
345 <comment>#see man page for more auth options</comment>
346 -auth login
347 +auth login
348 user <i>your_username</i>
349 password <i>your_password</i>
350 <comment>#If your SMTP Server supports TLS encryption, uncomment the next line
351 @@ -580,7 +584,7 @@
352 </pre>
353
354 <p>
355 -Fire up <c>mutt</c> and send yourself a test email to see if it worked! See
356 +Fire up <c>mutt</c> and send yourself a test email to see if it worked! See
357 the msmtp man page for more options and another example.
358 </p>
359
360
361
362
363 --
364 gentoo-doc-cvs@g.o mailing list