"SASL authentication failed" with mutt and Gmail, why?
        Posted  
        
            by 
                hhh
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by hhh
        
        
        
        Published on 2011-11-23T00:31:18Z
        Indexed on 
            2011/11/23
            2:09 UTC
        
        
        Read the original article
        Hit count: 678
        
I am confused by this, I have installed a lot of new pkgs and followed some tutorials after googling but I keep getting this kind of SASL -err. I am not sure whether the mistake is in some Gmail settings or should I check some settings in Ubuntu?
I thought this tutorial here would have solved this problem (i am simply trying to set up local mail reading with mutt, using gmail) but I cannot see the instructed things with telnet: "250-STARTTLS 250-AUTH PLAIN LOGIN" so that is why it is not working.
$cat .muttrc
set imap_user = "[email protected]"  
set imap_pass = "pass"   
#set smtp_url = "smtp://[email protected]:465/"  
set smtp_url = "smtp://[email protected]:587/"    
set smtp_pass = "pass"  
set from = "[email protected]"  
set realname = "name"    
set folder = "imaps://imap.gmail.com:993" 
set spoolfile = "+INBOX"  
set postponed="+[Gmail]/Drafts"    
set move = no
© Ask Ubuntu or respective owner