Re: SSL I/O error with gmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Aug 13, 2012 at 12:56 AM, jsteel <mail@xxxxxxxxxx> wrote:

> On 2 August 2012 16:40, Aurko Roy <roy.aurko@xxxxxxxxx> 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@xxxxxxxxxxxxxx/' "\
              set imap_user="roy.aurko@xxxxxxxxx" imap_pass=$my_gpass "

set folder="imaps://roy.aurko@xxxxxxxxxxxxxx"
mailboxes =INBOX =[Gmail]/Drafts =[Gmail]/'Sent Mail' =[Gmail]/Spam
folder-hook 'imaps://roy.aurko@xxxxxxxxxxxxxx:993' " \
        set     folder=imaps://roy.aurko@xxxxxxxxxxxxxx/ \
                postponed=+[Gmail]/Drafts \
                record=+[Gmail]/'Sent Mail' \
                smtp_url=smtps://smtp.gmail.com:587 \
                smtp_pass=$my_gpass \
                from='aurko <roy.aurko@xxxxxxxxx> ' \
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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux