I have a user who is unable to use mutt to login. I tested and sent a muttrc that worked for me and all he needed to do was put in his username and password. Which failed. After some back and forth, I figured out that his password contains a '$' and a '[' in it, and it seems like one of, or both, of these characters may be the issue. Is that expected? The account and password work properly via iOS and macOS mail, so the issue does't appear to be dovecot, but I find it very odd that mutt would have a glaring issue like this, so I am wondering if there is something else that I need to do. Mutt 2.0.4 (2020-12-30) The configuration looks like this: # Imap settings set imap_user = "user at example.com" set imap_pass = "lasH-hds[er$asd" # Not a real password # Smtp settings set smtp_url = "smtps://mail.covisp.net:587" set smtp_pass = "lasHhds[er$asd" # Remote mail folders set folder = "imaps://mail.covisp.net:993" set spoolfile = "+INBOX" set postponed = "+/Drafts" set record = "+/Sent Mail" set trash = "+/Trash" --
> On 20/01/2021 13:27 @lbutlr <kremels at kreme.com> wrote: > > > I have a user who is unable to use mutt to login. I tested and sent a muttrc that worked for me and all he needed to do was put in his username and password. > > Which failed. > > After some back and forth, I figured out that his password contains a '$' and a '[' in it, and it seems like one of, or both, of these characters may be the issue. Is that expected? The account and password work properly via iOS and macOS mail, so the issue does't appear to be dovecot, but I find it very odd that mutt would have a glaring issue like this, so I am wondering if there is something else that I need to do. > > Mutt 2.0.4 (2020-12-30) > > The configuration looks like this: > > # Imap settings > set imap_user = "user at example.com" > set imap_pass = "lasH-hds[er$asd" # Not a real password > > # Smtp settings > set smtp_url = "smtps://mail.covisp.net:587" > set smtp_pass = "lasHhds[er$asd" > > # Remote mail folders > set folder = "imaps://mail.covisp.net:993" > set spoolfile = "+INBOX" > set postponed = "+/Drafts" > set record = "+/Sent Mail" > set trash = "+/Trash" > > --mutt treats them as variables most likely. Have you tried adding \ ? Aki
On Wed, Jan 20, 2021 at 04:27:11AM -0700, @lbutlr wrote:> set imap_pass = "lasH-hds[er$asd" # Not a real passwordUse single quotes around the password. Double quotes make $asd to be interpreted as shell variable and replaced with (most likely) empty string, so you get a shortened passwort in effect. PS. Also a mutt lover :-) -- Piotr "Malgond" Auksztulewicz firstname at lastname.net