The time now is Thu 26 Apr 2018, 04:07
All times are UTC - 4 |
Author |
Message |
MU

Joined: 24 Aug 2005 Posts: 13648 Location: Karlsruhe, Germany
|
Posted: Fri 17 Sep 2010, 17:44 Post subject:
Mutt and msmtp Subject description: consolemailer, sendmail replacement |
|
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/viewtopic.php?t=55740&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: | #### 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/Internet/mutt-1.5.18-6_msmtp-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
_________________ my recommended links
|
Back to top
|
|
 |
daxo
Joined: 15 Aug 2010 Posts: 6
|
Posted: Sun 19 Sep 2010, 23:59 Post subject:
|
|
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
thanks again
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|