On Tuesday 13 Aug 2013 16:04:51 [email protected] wrote: > Hi, > > I'm a completely new Mutt user with some CLI experience, and I'm trying > to set it up with an IMAP provider. I've run into a couple of obstacles > I haven't been able to solve by performing a web search, using IRC or > reading the wiki. > > Spec: Debian 7 "Wheezy", Mutt 1.5.21. I'm successfully connecting to > IMAPS using TLS1.2 and can retrieve mail. Sending is set up to use > Mutt's built-in SMTPS capability, though because of the problems below I > haven't been able to confirm it works yet. > > 1) When attempting to send an email, immediately after tapping, "y", I > get asked to authenticate over TLS. Reading the log shows that this is > an attempt to save the message to the IMAP "sent" folder. But after > authenticating the process fails with the following (prior lines have > been included for context): > > [LOG BEGINS] > [2013-08-13 15:23:26] mutt_sasl_cb_authname: getting authname for > REDACTED:993 > [2013-08-13 15:23:26] mutt_sasl_cb_authname: getting user for > REDACTED:993 > [2013-08-13 15:23:26] mutt_sasl_cb_pass: getting password for > REDACTED@REDACTED@REDACTED:993 > [2013-08-13 15:23:33] Authenticating (PLAIN)... > [2013-08-13 15:23:33] 6> a0000 AUTHENTICATE PLAIN REDACTED > [2013-08-13 15:23:33] 6< a0000 OK [CAPABILITY IMAP4rev1 LITERAL+ > SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY > THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE > UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT > SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE QUOTA] Logged in > [2013-08-13 15:23:33] Handling CAPABILITY > [2013-08-13 15:23:33] IMAP queue drained > [2013-08-13 15:23:33] SASL protection strength: 0 > [2013-08-13 15:23:33] SASL protection buffer size: 65536 > [2013-08-13 15:23:33] Communication encrypted at 128 bits > [2013-08-13 15:23:33] 6> a0001 CAPABILITY > a0002 LIST "" "" > [2013-08-13 15:23:33] 6< * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR > LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES > THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS > LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES > WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE QUOTA > [2013-08-13 15:23:33] Handling CAPABILITY > [2013-08-13 15:23:33] 6< a0001 OK Capability completed. > [2013-08-13 15:23:33] 6< * LIST (\Noselect) "." "" > [2013-08-13 15:23:33] Root delimiter: . > [2013-08-13 15:23:33] 6< a0002 OK List completed. > [2013-08-13 15:23:33] IMAP queue drained > [2013-08-13 15:23:33] mutt_write_fcc(): unable to open mailbox > imaps://REDACTED/Sent in append-mode, aborting. > [LOG ENDS] > > I can successfully navigate manually into the "Sent" folder on the > server using Mutt, so this suggests to me that my "folder=" setting in > my muttrc is correct. I know the username and password I'm supplying > are correct. And even though the log shows the process as "aborting", > Mutt continues to display, "Authenticating (PLAIN)..." at the foot of > the window - at the moment it's up to 20 minutes and counting. > > 2) During the same process above, when Mutt asks me to authenticate for > IMAPS, it asks for my login username, but pre-fills the field with my > current user account. How can I amend this behaviour so that it uses > the IMAP username by default? A web search reveals the, > "mutt_addr_is_user" variable, but a search on the wiki and in the manual > for this term gives no results. > > Regards, > > SQ.
You may want to try setting 'record' similar to this for sent messages, unless you want to keep a local copy: set record = "+INBOX/sent-mail" if you haven't already done so. With Gmail you wouldn't need to do this. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.
