On Tue, Apr 26, 2011 at 08:50:54AM -0700, Michael Elkins wrote: > On Tue, Apr 19, 2011 at 12:38:56PM +0200, Elias Diem wrote: > >Hello list > > > >I use the built-in smtp to send mails. It just works fine if I enter the > >correct > >password. If I enter a wrong one, the whole program freezes. My config: > > make sure your mutt binary was compiled with debugging (mutt -v |grep > DEBUG) > > then run "mutt -d 3" and trigger the freeze. then look at > ~/.muttdebug0. it may provide some clues.
Well, I can't find an error myself. Here is the ~/.muttdebug0 I could produce. Some lines at the begining are cut away. ------------------------------------------- [2011-04-28 14:53:12] Connecting to imap.webconect.ch... [2011-04-28 14:53:13] SSL/TLS connection using TLS1.0 (DHE-RSA/AES-128-CBC/SHA1) [2011-04-28 14:53:14] Connected to imap.webconect.ch:993 on fd=4 [2011-04-28 14:53:14] imap_cmd_step: grew buffer to 512 bytes [2011-04-28 14:53:14] 4< * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN] Dovecot ready. [2011-04-28 14:53:14] Handling CAPABILITY [2011-04-28 14:53:14] IMAP queue drained [2011-04-28 14:53:14] imap_authenticate: Using any available method. [2011-04-28 14:53:14] SASL local ip: 192.168.1.37;42945, remote ip:217.26.49.199;993 [2011-04-28 14:53:14] External SSF: 128 [2011-04-28 14:53:14] External authentication name: el...@webconect.ch [2011-04-28 14:53:14] mutt_sasl_cb_authname: getting authname for imap.webconect.ch:993 [2011-04-28 14:53:14] mutt_sasl_cb_authname: getting user for imap.webconect.ch:993 [2011-04-28 14:53:14] mutt_sasl_cb_pass: getting password for el...@webconect.ch@imap.webconect.ch:993 [2011-04-28 14:53:18] Authenticating (PLAIN)... [2011-04-28 14:53:18] 4> a0000 AUTHENTICATE PLAIN ZWxpYXNAd2ViY29uZWN0LmNoAGVsaWFzQHdlYmNvbmVjdC5jaABLVzQ5Ymxh [2011-04-28 14:53:18] 4< a0000 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA] Logged in [2011-04-28 14:53:18] Handling CAPABILITY [2011-04-28 14:53:18] IMAP queue drained [2011-04-28 14:53:18] SASL protection strength: 0 [2011-04-28 14:53:18] SASL protection buffer size: 65536 [2011-04-28 14:53:18] Communication encrypted at 128 bits [2011-04-28 14:53:18] 4> a0001 CAPABILITY a0002 LIST "" "" [2011-04-28 14:53:18] 4< * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA [2011-04-28 14:53:18] Handling CAPABILITY [2011-04-28 14:53:18] 4< a0001 OK Capability completed. [2011-04-28 14:53:18] 4< * LIST (\Noselect) "." "" [2011-04-28 14:53:18] Root delimiter: . [2011-04-28 14:53:18] 4< a0002 OK List completed. [2011-04-28 14:53:18] IMAP queue drained [2011-04-28 14:53:18] Selecting INBOX... [2011-04-28 14:53:18] 4> a0003 STATUS "INBOX.Drafts" (MESSAGES) a0004 SELECT "INBOX" [2011-04-28 14:53:18] mboxcache: hcache uidvalidity 1228136460, uidnext 2831 [2011-04-28 14:53:18] 4< * STATUS "INBOX.Drafts" (MESSAGES 0) [2011-04-28 14:53:19] mboxcache: hcache uidvalidity 1229100200, uidnext 78 [2011-04-28 14:53:19] INBOX.Drafts (UIDVALIDITY: 1229100200, UIDNEXT: 78) 0 messages, 0 recent, 0 unseen [2011-04-28 14:53:19] Running default STATUS handler [2011-04-28 14:53:19] 4< a0003 OK Status completed. [2011-04-28 14:53:19] 4< * FLAGS (\Answered \Flagged \Deleted \Seen \Draft KMAILFORWARDED KMAILTODO KMAILWATCHED KMAILIGNORED $FORWARDED $TODO $WATCHED $IGNORED receipt-handled) [2011-04-28 14:53:19] Getting mailbox FLAGS [2011-04-28 14:53:19] 4< * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft KMAILFORWARDED KMAILTODO KMAILWATCHED KMAILIGNORED $FORWARDED $TODO $WATCHED $IGNORED receipt-handled \*)] Flags permitted. [2011-04-28 14:53:19] Getting mailbox PERMANENTFLAGS [2011-04-28 14:53:19] 4< * 13 EXISTS [2011-04-28 14:53:19] Handling EXISTS [2011-04-28 14:53:19] cmd_handle_untagged: New mail in INBOX - 13 messages total. [2011-04-28 14:53:19] 4< * 0 RECENT [2011-04-28 14:53:19] 4< * OK [UNSEEN 13] First unseen. [2011-04-28 14:53:19] 4< * OK [UIDVALIDITY 1228136460] UIDs valid [2011-04-28 14:53:19] Getting mailbox UIDVALIDITY [2011-04-28 14:53:19] 4< * OK [UIDNEXT 2831] Predicted next UID [2011-04-28 14:53:19] Getting mailbox UIDNEXT [2011-04-28 14:53:19] 4< * OK [HIGHESTMODSEQ 186] Highest [2011-04-28 14:53:19] 4< a0004 OK [READ-WRITE] Select completed. [2011-04-28 14:53:19] IMAP queue drained [2011-04-28 14:53:19] Mailbox flags: [2011-04-28 14:53:19] [\Answered] [2011-04-28 14:53:19] [\Flagged] [2011-04-28 14:53:19] [\Deleted] [2011-04-28 14:53:19] [\Seen] [2011-04-28 14:53:19] [\Draft] [2011-04-28 14:53:19] [KMAILFORWARDED] [2011-04-28 14:53:19] [KMAILTODO] [2011-04-28 14:53:19] [KMAILWATCHED] [2011-04-28 14:53:19] [KMAILIGNORED] [2011-04-28 14:53:19] [$FORWARDED] [2011-04-28 14:53:19] [$TODO] [2011-04-28 14:53:19] [$WATCHED] [2011-04-28 14:53:19] [$IGNORED] [2011-04-28 14:53:19] [receipt-handled] [2011-04-28 14:53:19] [\*] [2011-04-28 14:53:19] [2011-04-28 14:53:19] message.c:106: mutt_mktemp returns "/tmp/mutt-edi-notebook-500-5042-1846567927112251308". [2011-04-28 14:53:19] Evaluating cache... 0/13 (0%) [2011-04-28 14:53:19] 4> a0005 UID FETCH 1:2830 (UID FLAGS) [2011-04-28 14:53:19] 4< * 1 FETCH (UID 2526 FLAGS (\Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< * 2 FETCH (UID 2564 FLAGS (\Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< * 3 FETCH (UID 2641 FLAGS (\Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< * 4 FETCH (UID 2691 FLAGS (\Answered \Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< * 5 FETCH (UID 2707 FLAGS (\Answered \Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< * 6 FETCH (UID 2753 FLAGS (\Answered \Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< * 7 FETCH (UID 2767 FLAGS (\Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< * 8 FETCH (UID 2768 FLAGS (\Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< * 9 FETCH (UID 2801 FLAGS (\Answered \Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] Evaluating cache... 10/13 (76%) [2011-04-28 14:53:19] 4< * 10 FETCH (UID 2811 FLAGS (\Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< * 11 FETCH (UID 2814 FLAGS (\Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< * 12 FETCH (UID 2824 FLAGS (\Seen)) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< * 13 FETCH (UID 2830 FLAGS ()) [2011-04-28 14:53:19] Handling FETCH [2011-04-28 14:53:19] FETCH response ignored for this message [2011-04-28 14:53:19] 4< a0005 OK Fetch completed. [2011-04-28 14:53:19] IMAP queue drained [2011-04-28 14:53:19] Fetching message headers... 0/13 (0%) [2011-04-28 14:53:19] imap_open_mailbox: msgcount is 13 [2011-04-28 14:53:19] Sorting mailbox... [2011-04-28 14:53:19] mutt_num_postponed: 0 postponed IMAP messages found. [2011-04-28 14:53:26] 4> a0006 STATUS "INBOX.Drafts" (MESSAGES) [2011-04-28 14:53:27] 4< * STATUS "INBOX.Drafts" (MESSAGES 0) [2011-04-28 14:53:27] INBOX.Drafts (UIDVALIDITY: 1229100200, UIDNEXT: 78) 0 messages, 0 recent, 0 unseen [2011-04-28 14:53:27] Running default STATUS handler [2011-04-28 14:53:27] 4< a0006 OK Status completed. [2011-04-28 14:53:27] IMAP queue drained [2011-04-28 14:53:27] mutt_num_postponed: 0 postponed IMAP messages found. [2011-04-28 14:53:27] send.c:1214: mutt_mktemp returns "/tmp/mutt-edi-notebook-500-5042-316767051346554000". [2011-04-28 14:53:52] Sending message... [2011-04-28 14:53:52] mboxcache: hcache uidvalidity 1228136490, uidnext 384 [2011-04-28 14:53:52] imap_access: found INBOX.Sent in cache [2011-04-28 14:53:52] mx.c:1204: mutt_mktemp returns "/tmp/mutt-edi-notebook-500-5042-2757777711219685919". [2011-04-28 14:53:52] Uploading message... 0K/0.3K (0%) [2011-04-28 14:53:52] 4> a0007 APPEND "INBOX.Sent" (\Seen) "28-Apr-2011 14:53:52 +0200" {317} [2011-04-28 14:53:52] 4< + OK [2011-04-28 14:53:52] 4> Date: Thu, 28 Apr 2011 14:53:52 +0200 From: Elias <el...@webconect.ch> To: el...@webconect.ch Subject: freeze Message-ID: <20110428125352.GA5042@edi-notebook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) laskdfja;sldfjk [2011-04-28 14:53:52] 4> [2011-04-28 14:53:53] 4< a0007 OK [APPENDUID 1228136490 397] Append completed. [2011-04-28 14:53:53] IMAP queue drained [2011-04-28 14:53:53] mx_close_message (): unlinking /tmp/mutt-edi-notebook-500-5042-2757777711219685919 [2011-04-28 14:53:53] send.c:988: mutt_mktemp returns "/tmp/mutt-edi-notebook-500-5042-302453148880938039". [2011-04-28 14:53:53] Using default SMTP port 25 [2011-04-28 14:53:53] Looking up smtp.webconect.ch... [2011-04-28 14:53:53] Connecting to smtp.webconect.ch... [2011-04-28 14:53:53] Connected to smtp.webconect.ch:25 on fd=5 [2011-04-28 14:53:53] 5< 220 asmtp001.mail.hostpoint.ch ESMTP Exim 4.72 Thu, 28 Apr 2011 14:51:37 +0200 [2011-04-28 14:53:53] 5> EHLO edi-notebook [2011-04-28 14:53:53] 5< 250-asmtp001.mail.hostpoint.ch Hello edi-notebook [92.105.99.164] [2011-04-28 14:53:53] 5< 250-SIZE 52428800 [2011-04-28 14:53:53] 5< 250-PIPELINING [2011-04-28 14:53:53] 5< 250-AUTH PLAIN LOGIN [2011-04-28 14:53:53] 5< 250-STARTTLS [2011-04-28 14:53:53] 5< 250 HELP [2011-04-28 14:53:53] 5> STARTTLS [2011-04-28 14:53:53] 5< 220 TLS go ahead [2011-04-28 14:53:53] SSL/TLS connection using TLS1.0 (RSA/AES-128-CBC/SHA1) [2011-04-28 14:53:54] 5> EHLO edi-notebook [2011-04-28 14:53:54] 5< 250-asmtp001.mail.hostpoint.ch Hello edi-notebook [92.105.99.164] [2011-04-28 14:53:54] 5< 250-SIZE 52428800 [2011-04-28 14:53:54] 5< 250-PIPELINING [2011-04-28 14:53:54] 5< 250-AUTH PLAIN LOGIN [2011-04-28 14:53:54] 5< 250 HELP [2011-04-28 14:53:54] SASL local ip: 192.168.1.37;44874, remote ip:217.26.49.210;25 [2011-04-28 14:53:54] External SSF: 128 [2011-04-28 14:53:54] External authentication name: el...@webconect.ch [2011-04-28 14:53:54] mutt_sasl_cb_authname: getting authname for smtp.webconect.ch:25 [2011-04-28 14:53:54] mutt_sasl_cb_authname: getting user for smtp.webconect.ch:25 [2011-04-28 14:53:54] mutt_sasl_cb_pass: getting password for el...@webconect.ch@smtp.webconect.ch:25 [2011-04-28 14:53:57] Authenticating (PLAIN)... [2011-04-28 14:53:57] 5> AUTH PLAIN ZWxpYXNAd2ViY29uZWN0LmNoAGVsaWFzQHdlYmNvbmVjdC5jaABhc2Rm [2011-04-28 14:53:57] 5< 535 Incorrect authentication data [2011-04-28 14:53:57] SASL authentication failed [2011-04-28 14:59:05] You are on the last entry. [2011-04-28 14:59:18] Exit Mutt? ([yes]/no): [2011-04-28 14:59:21] Postpone this message? ([yes]/no): [2011-04-28 14:59:22] mutt_free_body: unlinking /tmp/mutt-edi-notebook-500-5042-316767051346554000. [2011-04-28 14:59:22] Mail not sent. [2011-04-28 14:59:22] 4> a0008 NOOP [2011-04-28 14:59:22] 4< a0008 OK NOOP completed. [2011-04-28 14:59:22] IMAP queue drained [2011-04-28 14:59:38] 4> a0009 NOOP [2011-04-28 14:59:38] 4< a0009 OK NOOP completed. [2011-04-28 14:59:38] IMAP queue drained [2011-04-28 14:59:53] 4> a0010 NOOP [2011-04-28 14:59:53] 4< a0010 OK NOOP completed. [2011-04-28 14:59:53] IMAP queue drained -------------------------------------------- You can see that it freezes for about five minutes. Do you need more information?