Mutt and msmtp

Browsers, email, chat, etc.
Post Reply
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

Mutt and msmtp

#1 Post by MU »

I just tested it in Newyearspup, that is based on Puppy 4.11.

So it should work in many puplets, but I did not test that yet.

If you use Lucid Puppy or need IMAP, try Tronkels Pet:
http://www.murga-linux.com/puppy/viewto ... start=1440

Mutt is a console based mailclient.
To be able to send mails via SMTP, I included msmtp, that is a small Mail Transfer Agent, so no sendmail is required.

Mutt also has inbuilt smtp funcionality, but that is new, and does not work with the german GMX.de. Using msmtp, GMX works.

Mails are stored in Maildir-format in /root/MailMutt/.

To customize Mutt for yourself, edit /etc/Muttrc.

I preconfigured it for POP/SMTP, so you just need to replace my own Mailaddress with yours (and the pop/smtp server):

Code: Select all

#### Account settings ##################################

### replace markulrich@gmx.de with your own address! ###



### to retrieve mail via POP ###

set pop_host="pop.gmx.de"

### if this is commented, you must enter password in mutt.
#set pop_pass="your_password"

set pop_user="MarkUlrich@gmx.de"



### to send mail via smpt ###


my_hdr From: "Mark Ulrich" <markulrich@gmx.de>
set sendmail="/usr/bin/msmtp --host=mail.gmx.net -fmarkulrich@gmx.de"

set smtp_pass = "your_password"

#######################################
To test it:
type in a console:
mutt

In Mutt, type "G" to retrieve mails.
Type "m" to write a new mail.

Note: if you use GMX, you first must retrieve mails, to get a certificate, or you cannot send any!

I made the pet from Debian DEBs:
http://packages.debian.org/lenny/mutt
Dependency libs are included in /usr/lib/mutt
/usr/bin/mutt is a wrapperscript, that includes them.

msmtp was compiled in Newyearspup, but I did not have all the encryption headers, so it might not work to send encrypted mails.
SASL however is supported.
http://msmtp.sourceforge.net/

Download (2 MB, 6 MB extracted):
http://dotpups.de/puppy4/dotpups/Intern ... 1.4.21.pet

Helpfull links (usage, exampleconfigs):
http://wiki.mutt.org/?MuttGuide
http://www.calmar.ws/dotfiles/muttrc.html
http://www.earth.li/~huggie/mutt/muttrc.html

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

daxo
Posts: 6
Joined: Sun 15 Aug 2010, 23:08

#2 Post by daxo »

mark-you rock! i am awed by the amount of time you spent putting this together, many thanks!
it seems to work in fluppy (whatever the current version is, i think its called 005?) on an aspire one netbook. i'm sure it will work much better when i learn the commands but i was able to look at email and that's a great start :D
thanks again

Post Reply