Email setup

New to Debian (Or Linux in general)? Ask your questions here!

Email setup

Postby Giggy » 2009-12-02 02:13

I am a Linux newbie, but I have got my iBook running perfect on Lenny. Except no Emailer. I can't get out even if I go to gmail, but I can read incoming mail in gmail. I'd like to set up Mutt because of the great little word processor. I haven't got much memory, so don't tell me to download postfix and emacs and squirrelmail and half a dozen other programs, which are BIG, including spamassassin. The disk space ain't there. There must be some simple way to get my mail either from gmail or @myname.com and use Mutt (Nano) as the word processor.
Giggy
 
Posts: 14
Joined: 2009-10-11 01:19

Re: Email setup

Postby Telemachus » 2009-12-02 13:12

You can use a light-weight smtp program (like msmtp or esmtp or ssmtp), and there are good instructions for setting up Vim and Gmail here: http://www.andrews-corner.org/mutt.html

Setting up Mutt fully (especially for the first time) is likely to take 30 minutes to an hour. (More if you get into heavy tweaking), and the Gmail thing took me about 20 minutes the one time I tried it. It's not terrifically difficult, but it's not nothing.

If you are new to Mutt, I highly recommend this site: http://mutt.blackfish.org.uk/
"We have not been faced with the need to satisfy someone else's requirements, and for this freedom we are grateful."
Dennis Ritchie and Ken Thompson, The UNIX Time-Sharing System
User avatar
Telemachus
 
Posts: 4677
Joined: 2006-12-25 15:53

Re: Email setup

Postby craigevil » 2009-12-02 13:41

Using Gmail with mutt, the minimal way (IMAP update) « The Lumber Room - http://shreevatsa.wordpress.com/2007/07 ... nimal-way/
As Gmail has IMAP access, it is fairly trivial to get it working with mutt. First, if you’re on Ubuntu/Debian, run sudo apt-get install openssl mutt to get mutt if you don’t already have it. Then, just put the following lines into your ~/.muttrc:

set imap_user = "username@gmail.com"
set imap_pass = "password"

set smtp_url = "smtp://username@smtp.gmail.com:587/"
set smtp_pass = "password"
set from = "username@gmail.com"
set realname = "Your Real Name"

set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed="+[Gmail]/Drafts"

set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates

set move = no

Make sure your ~/.muttrc isn’t world-readable; it contains your password. (Alternatively, you can leave them out and mutt will prompt you for the password each time.) Also, if you copy-paste from the above, make sure that you have only “normal” quotes, not “smart quotes” which WordPress might have inserted here into this post.

[Other things I have:

set sort = 'threads'
set sort_aux = 'last-date-received'
set imap_check_subscribed

ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc

I did not include above to justify the "minimal" :)]
Debian Sid KDE Kernel 3.17 Thinkpad R40 Intel M 1.3 CPU 2GB RAM Radeon Mobility 7500
Debian - "If you can't apt-get something, it isn't useful or doesn't exist"
Debian upgrade script smxi | sysinfo script inxi
User avatar
craigevil
 
Posts: 5192
Joined: 2006-09-17 03:17
Location: Oz

Re: Email setup

Postby Giggy » 2009-12-03 19:17

Thanks Telemachus and Craigevil. I got my ~/.muttrc going. Now I can get incoming from gmail. But I still can't send. Mutt gives me the message "no authenticators available". I checked to see if Mutt knew where /usr/sbin/sendmail was. It did. But when I opened up /usr/sbin/sendmail to look at it, it was all unreadable, to me, garbage or whatever. I don't know what it is. Should I download mutt again? or Sendmail? or what?
Giggy
 
Posts: 14
Joined: 2009-10-11 01:19


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable