LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-12-2011, 12:34 PM   #1
kgalbraith
LQ Newbie
 
Registered: Oct 2009
Posts: 9

Rep: Reputation: 0
Idiots guide to Mutt


So, I have read the man page, and looked over the Muttrc file and I am a bit over whelmed. I have two email addresses I need to set up for viewing, an exchange work address, and a personal imap address.

Can anyone point me to an idiots guide to setting this up.
 
Old 05-12-2011, 12:48 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Try googling 'mutt tutorial for beginners' - you'll get quite a few pages. I agree Mutt is not the easiest one to set up. A few years ago I managed to configure it with 3 email accounts, but it took me some time. I know it doesn't answer your question but you might also want to try alpine, which is much simpler to set up.
 
Old 05-12-2011, 09:34 PM   #3
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Mutt comes with extensive documentation about pretty much everything. Look into /usr/doc and specifically the file named manual.txt.
Its quite long, but explains every setting available and its the way to go. If you want a for dummies, search the internet. There's lots of guides. Start at wiki.mutt.org.
 
Old 05-12-2011, 10:03 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Mutt is a pain to configure and is very daunting. I think I started here and found some other links as well detailing both IMAP and POP3 e-mail setup. I do not use mutt's built-in IMAP/POP3 support (though you can if you like) and instead opt to use fetchmail/procmail for POP3 and offlineimap for IMAP accounts. This keeps everything separate and allows mutt to be a dummy reader and nothing more (and of course I can send e-mail as well)...but of course that may not be desirable to all. The hardest part for me was figuring out how to include multiple accounts while keeping them completely separate (separate reply-to info, separate SMTP servers [assuming you don't want to use sendmail directly], and keeping each inbox separate). I came up with an inelegant solution that does exactly what I want. I set one of my e-mail accounts as the default (setting spoolfile, from, etc. to point to one account) and setup macros that switch that information with certain key combinations (Ctrl+key changes the active directory [I use maildirs], the smtp server to use [the sendmail variable], the from value, and the realname value). Whenever I send an e-mail it goes from the account of the inbox I'm currently viewing and each account is kept separate so I know there isn't going to be any funny business.

My solution may not be ideal so if you can find a better one, by all means, have at it. Just thought I'd share my general setup.
 
Old 05-12-2011, 10:54 PM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by kgalbraith
So, I have read the man page, and looked over the Muttrc file and I am a bit over whelmed. I have two email addresses I need to set up for viewing, an exchange work address, and a personal imap address.
Quick and simplistic approach, which may or may not be appropriate for you -- add this to your ~/.muttrc:
Code:
set spoolfile=imaps://yourhost.com:993
set folder=imaps://yourhost.com:993
set imap_user=youraccount
Replace protocols, names, and ports as needed.

Even if that gets you up and running, you're going to need to poke around for some more extensive documentation. Many, many options to be aware of.
 
Old 05-12-2011, 11:08 PM   #6
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by T3slider View Post
Mutt is a pain to configure and is very daunting. I think I started here.....
Great page that one and I believe the author is a Slackware user as well .
 
Old 05-13-2011, 06:48 AM   #7
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by andrew.46 View Post
Great page that one and I believe the author is a Slackware user as well .
Was he the guy who did the slrn page as well?
 
Old 05-13-2011, 09:18 AM   #8
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
This site is very nice for an introduction to the setup and elements of mutt as well as relevant programs to use together with it. I used this guide when I started out with this great mail program.

http://mutt.blackfish.org.uk/

This site is a fine place to go for things not covered by the other site:

http://www.spocom.com/users/gjohnson/mutt/
 
Old 05-13-2011, 07:50 PM   #9
michijo
Member
 
Registered: Apr 2011
Posts: 162

Rep: Reputation: 0
smtps

Whoever is giving you the email address is important in MUTT. I have been using a few years, and found essentially this information important for securing MUTT email logins. For SMTP its tricky, and your email provider should have two smtp urls for the .muttrc phrase:

set smtp url = "smtps://some.sslverifiedhost-from-your-provider.com:theportnumber/"

Note the "smtps:". The extra 's' is important in slackware to use MUTT. It makes all the difference. Not 'smtp', but needing an 's'. Your email provider should have 2 distinct smtps hosts: one for high security, one for less security. Typically, the low security host resembles your own domain name. The higher security smtps address is some weird certificate providing server like "terminator.websitewelcome.com". Your .muttrc has to reflect this SSL host to authenticate.

These are the only undocumented snags I ran into on slackware. Otherwise, the normal MUTT tutorials should work. If your email address comes from a hosting account you bought, then it is in the CPANEL under email that you will find the separate authentication addresses.


http://en.wikipedia.org/wiki/SMTPS

If you are using 2 email addresses, a good trick is to forward the email from one address to the other, and use only one with mutt, the destination email that the others forward to. I have 3 email addresses forwarding to each other.

Another useful trick is setting up HTML email viewing by putting in your .muttrc this line:

auto_view text/html

I believe that is all I did to get HTML weeded out. Otherwise you have a jumble of hard to read html and text stuff.

http://wiki.mutt.org/?MuttFaq/Attachment

Last edited by michijo; 05-13-2011 at 08:28 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Idiots guide to debian mcgworld Debian 3 02-19-2005 12:51 PM
Where can I find an idiots guide to dvd ripping? jimdaworm Linux - Software 4 06-04-2004 03:57 PM
idiots guide to CD burning needed woodywellhung Linux - Software 5 05-08-2004 07:12 PM
Idiots guide to DVB Nova-t Looking_Lost Linux - Hardware 4 04-26-2004 07:55 AM
Is there a complete guide for Postfix for idiots? ziggie216 Linux - Software 1 11-12-2003 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration