IMAP login failed

Kevin J. McCarthy kevin at 8t8.us
Sun Sep 13 16:34:40 UTC 2020


On Sun, Sep 13, 2020 at 02:41:12PM +0200, Pau wrote:
>set imap_user=xxx
>set imap_pass=yyy

Does your password have any special characters?  You might want to try 
using single quotes:
   set imap_pass='yyyy'

If your password *contains* a single quote, then it should be quoted 
like:
   set imap_pass='yy'\''yy'

>et smtp_pass = ${imap_pass}

There's actually an old bug in Mutt pertaining to assigning directly 
from one config variable to another.  It will be fixed in the next major 
release, but until then I suggest you either duplicate the password or 
use a $my_ variable:
   set my_pass='yyyy'
   set imap_pass=$my_pass
   set smtp_pass=$my_pass

>I recompiled mutt with debugging enabled (Mutt 1.14.7 (2020-08-29) )
>
>./configure  --prefix=/tmp --enable-imap --enable-smtp --enable-debug --with-ssl
>
>When running mutt -d 2 I get this:

Try running at debug level 5.  Then you will see the actual
   LOGIN username password
as it is sent to the server.  That might give a clue what's happening.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20200913/10cba170/attachment.asc>


More information about the Mutt-users mailing list