I'm trying to set up mutt to communicate with Gmail. I believe I have everything correct in my .muttrc file (I've followed one of the many guides out there); yet, when I load up mutt, I inevitably get this error:
Connecting to imap.gmail.com... Could not connect to imap.gmail.com (Network is unreachable)
Some random Google searches doesn't really turn up much, so I was hoping someone else would have a bit of information. I have previously set up mutt once when I was flirting with a pure TTY setup, but I also was on the road, so maybe whatever ISP I was using at the time allowed for this kind of connection.
Any help is greatly appreciated.
Try to use telnet to verify that the connection actually allows port 993 (IIRC) access.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Welcome to the boards.
Please read the Forum Etiquette on How To Post.
You will help people assist you if you post the relevant information; in this
case your .muttrc (minus any passwords, etc) and how you are attempting to
connect to Gmail…
You need a cetificate to authentificate to gmail server.
#imap.gmail.com certificate to ensure to connect to Gmail cert_fingerprint = 6d1b5b5ee0180ab493b71d3b94534b5ab937d042
I use offlineimap to fetch mails.
To send, I use msmtp, and need a valid sertificate too:
And the adress is :
Not sure your server adress is valide so.
Hope this may help
Last edited by gabx (2012-10-08 06:52:53)
I'll give the suggestions a shot in sometime today.
Sorry; here is my .muttrc:
set from = "email@example.com" set realname = "Michael Kosler" set hostname = gmail.com set imap_user = "firstname.lastname@example.org" set imap_pass = "****" set folder = "imaps://imap.gmail.com:933" 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 smtp_url = "smtp://email@example.com:587/" set smtp_pass = "****" set move = no set imap_keepalive = 900 set mail_check = 120 set timeout = 300 # Header stuff ignore "Authentication-Results:" ignore "DomainKey-Signature:" ignore "DKM-Signature:" hdr_order Date From To Cc ignore * unignore from: date subject to cc unignore x-mailing-list: posted-to: unignore x-mailer: # For better looks set markers = no set pager_index_lines = 5 set sort = 'threads' set sort_aux = 'last-date-received' set editor = 'vim'