On Mon, Aug 13, 2012 at 12:56 AM, jsteel <mail@jsteel.org> wrote:
On 2 August 2012 16:40, Aurko Roy <roy.aurko@gmail.com> wrote:
I am trying to get my gmail to work with mutt but keep getting this error: "SSL failed: I/O error".
Does anybody have a clue what could be the problem?
What does your muttrc look like? This works for me:
set imap_user=your-username set imap_pass=your-password set folder=imaps://imap.gmail.com/ set spoolfile = +INBOX mailboxes = +INBOX set header_cache = ~/.mutt/hcache set postponed = +[Gmail]/Drafts unset imap_passive set imap_keepalive = 300 set mail_check = 120 set sort=threads
jsteel
My muttrc has the following lines for my gmail: account-hook 'imaps://roy.aurko@imap.gmail.com/' "\ set imap_user="roy.aurko@gmail.com" imap_pass=$my_gpass " set folder="imaps://roy.aurko@imap.gmail.com" mailboxes =INBOX =[Gmail]/Drafts =[Gmail]/'Sent Mail' =[Gmail]/Spam folder-hook 'imaps://roy.aurko@imap.gmail.com:993' " \ set folder=imaps://roy.aurko@imap.gmail.com/ \ postponed=+[Gmail]/Drafts \ record=+[Gmail]/'Sent Mail' \ smtp_url=smtps://smtp.gmail.com:587 \ smtp_pass=$my_gpass \ from='aurko <roy.aurko@gmail.com> ' \ set ssl_force_tls = yes \ realname='Aurko Roy' " I tried with your config, but I get the same error. I doubt this is a mutt issue, since the openssl handshake is failing and mutt cannot connect to imap without it. On a side note I tried using gnutls+emacs for sending mail from my gmail account and that works fine. So I'm wondering if mutt can be set to use gnutls instead of openssl? -- Aurko Roy GPG key: 0x20C5BC31 Fingerprint:76B4 9677 15BE 731D 1949 85BA 2A31 B442 20C5 BC31