/[gentoo]/xml/htdocs/doc/en/guide-to-mutt.xml
Gentoo

Diff of /xml/htdocs/doc/en/guide-to-mutt.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml,v 1.10 2004/06/28 10:40:52 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-to-mutt.xml,v 1.11 2004/10/26 08:26:03 swift Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5<guide link="/doc/en/guide-to-mutt.xml"> 5<guide link="/doc/en/guide-to-mutt.xml">
6<title>QuickStart Guide to Mutt E-Mail</title> 6<title>QuickStart Guide to Mutt E-Mail</title>
7<author title="Author"> 7<author title="Author">
8 <mail link="mikpolniak@adelphia.net">Mike Polniak</mail> 8 <mail link="mikpolniak@adelphia.net">Mike Polniak</mail>
9</author> 9</author>
10<author title="Editor"> 10<author title="Editor">
11 <mail link="antifa@gentoo.org">Ken Nowack</mail> 11 <mail link="antifa@gentoo.org">Ken Nowack</mail>
12</author> 12</author>
13<author title="Contributor">
14 <mail link="hitch17@gmail.com">John Hitchings</mail>
15</author>
13 16
14<abstract> 17<abstract>
15This guide shows you how to begin using the powerful command line tools for 18This guide shows you how to begin using the powerful command line tools for
16e-mail: fetchmail, procmail, mutt, and nbsmtp. 19e-mail: fetchmail, procmail, mutt, nbsmtp, msmtp.
17</abstract> 20</abstract>
18 21
19<license/> 22<license/>
20 23
21<version>1.1</version> 24<version>1.2</version>
22<date>June 24, 2004</date> 25<date>October 16, 2004</date>
23 26
24<chapter> 27<chapter>
25<title>Introduction to E-Mail</title> 28<title>Introduction to E-Mail</title>
26<section> 29<section>
27<body> 30<body>
493</p> 496</p>
494 497
495</body> 498</body>
496</section> 499</section>
497</chapter> 500</chapter>
501
502<chapter>
503<title>Alternative SMTP: msmtp</title>
504<section>
505<body>
506
507<p>
508For those who are required to submit their username and password to their
509SMTP server before sending mail, <c>msmtp</c> is a simple alternative.
510</p>
511
512<pre caption="Installing msmtp">
513# <i>emerge msmtp</i>
514</pre>
515
516<p>
517Configure msmtp by creating a <path>~/.msmtprc</path> file, filling in your
518SMTP server's information. Remember to set the permissions to a secure value!
519</p>
520
521<pre caption="Configuring msmtp">
522# <i>nano -w .msmtprc</i>
523account default
524host <i>smtp.your_provider.net</i>
525from <i>your_username@provider1.net</i>
526<comment>#see man page for more auth options</comment>
527auth login
528user <i>your_username</i>
529password <i>your_password</i>
530<comment>#If your SMTP Server supports TLS encryption, uncomment the next line
531#tls</comment>
532</pre>
533
534<p>
535Now set the permissions of the file to a secure value:
536</p>
537
538<pre caption="Setting the permissions for the configuration file">
539# <i>chmod 600 .msmtprc</i>
540</pre>
541
542<p>
543Finally, edit or add the following line to <path>.muttrc</path>
544</p>
545
546<pre caption="Using msmtp with Mutt">
547# <i>nano -w .muttrc</i>
548set sendmail="/usr/bin/msmtp"
549</pre>
550
551<p>
552Fire up <c>mutt</c> and send yourself a test email to see if it worked! See
553the msmtp man page for more options and another example.
554</p>
555
556</body>
557</section>
558</chapter>
498</guide> 559</guide>

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20