<<< Date Index >>>     <<< Thread Index >>>

bug#1703: marked as done (mutt-1.5.4i: failure to find imap mbox names)



Your message dated Sun, 4 Jan 2004 10:47:23 +0100
with message-id <20040104094723.GN2144@xxxxxxxxxxxxxxxxxxxxxxxxxx>
and subject line bug#1703: This seems to fix oft seen bug
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Herr der Kaefer
(administrator, GUUG bugs database)

--------------------------------------
Received: (at submit) by bugs.guug.de; 11 Nov 2003 17:57:53 +0000
>From cypher@xxxxxxxxxxxxxxxxxxxx Tue Nov 11 18:57:51 2003
Received: from adsl-67-66-145-204.dsl.stlsmo.swbell.net ([67.66.145.204] 
helo=metaverse.homeip.net)
        by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
        id 1AJcly-0002w3-00
        for <submit@xxxxxxxxxxxx>; Tue, 11 Nov 2003 18:57:50 +0100
Received: from cypher by metaverse.homeip.net with local (Exim 3.36 #1 (Debian))
        id 1AJcoN-0002Gg-00; Tue, 11 Nov 2003 12:00:19 -0600
From: nam1@xxxxxxxxxxxxx
Subject: mutt-1.5.4i: failure to find imap mbox names
To: submit@xxxxxxxxxxxx
Message-Id: <E1AJcoN-0002Gg-00@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Nov 2003 12:00:19 -0600
X-Spam-Status: No, hits=-1.6 required=5.0
        tests=BAYES_10,NO_REAL_NAME,SEARCH_ENGINE_PROMO
        version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

Package: mutt
Version: 1.5.4+20031024
Severity: normal

-- Please type your report below this line

I use uw-imap, and my mail is stored in ~/Mail in mbox format.  When I start
mutt, to change from my spool to some other folder (say sent-mail), I type:
c=sent<tab>

This fails, and mutt prompts me to complete the line:
Open mailbox: imap://localhost/Mail/

I have two alternatives:
 1) If I type the entire name of the mailbox, mutt returns an error:
 SELECT failed: Can't open Mail: not a selectable mailbox

 2) If I hit <tab> twice here, I am presented with a list of folders in the
 Mail directory.  sent-mail appears here.  If I select it from this list, it
 opens with no further complaints.  For the remainder of the mutt session,
 tab-completion works correctly.

-- System Information
System Version: Linux metaverse 2.4.22 #1 Sat Sep 13 03:01:27 CDT 2003 i686 
GNU/Linux

-- Build environment information

(Note: This is the build environment installed on the system
muttbug is run on.  Information may or may not match the environment
used to build mutt.)

- gcc version information
cc
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.2/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr 
--mandir=/usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib 
--enable-nls --without-included-gettext --enable-__cxa_atexit 
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm 
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.2 (Debian)

- CFLAGS
-Wall -pedantic -g -O2

-- Mutt Version Information

Mutt 1.5.4i (2003-03-19)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.22 (i686) [using ncurses 5.3] [using libidn 0.1.14 (compiled 
with 0.1.14)]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  +IMAP_EDIT_THREADS  -USE_GSS  -USE_SSL  +USE_GNUTLS  
+USE_SASL  +USE_SASL2  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  -CRYPT_BACKEND_GPGME  
-BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +HAVE_GETADDRINFO  
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.

patch-1.5.4.vk.pgp_verbose_mime
patch-1.5.3.rr.compressed.1
patch-1.5.4.helmersson.incomplete_multibyte
patch-1.5.4.fw.maildir_inode_sort
patch-1.3.23.1.ametzler.pgp_good_sign
patch-1.5.3.Md.gpg_status_fd
patch-1.4.Md.gpg-agent
patch-1.5.3.Md.etc_mailname_gethostbyname
patch-1.5.1.cd.edit_threads.9.2
patch-1.3.27.bse.xtitles.1
Md.use_debian_editor
Md.muttbug
patch-1.4.admcd.gnutlsdlopen.53d
patch-1.4.admcd.gnutlsbuild.53d
patch-1.4.admcd.gnutls.56d

--- Begin /home/cypher/.muttrc
set editor="vim -c ':0;/^$'"
set tunnel="/usr/sbin/imapd"
set spoolfile={localhost}INBOX
set folder={localhost}Mail/
set imap_servernoise=no
set imap_home_namespace={localhost}Mail/
set mail_check=5
set timeout=5
mailboxes +inbox +inbox-cec +inbox-cse +wuarchive +devotions
set postponed=+postponed
set recall=ask-yes
set hidden_host
set edit_hdrs
unmy_hdr Reply-To
set copy=yes
set record=+sent-mail
set noconfirmappend
unset mark_old
bind pager <up> previous-line
bind pager <down> next-line
bind pager / search
set pager_stop             # why would I want to go to next msg here?
set tilde                  # like vim
ignore X-Spam- X-Evolution
alternative_order text/plain text text/html
folder-hook . set sort=date-received
folder-hook +presario900 set sort=threads
folder-hook +cse/iptables set sort=threads
folder-hook +cse/playerstage-lists set sort=threads
folder-hook +sent-mail set sort=date-sent
folder-hook +cec/sent-mail set sort=date-sent
folder-hook +cse/sent-mail set sort=date-sent
folder-hook +restech/sent-mail set sort=date-sent
--- End /home/cypher/.muttrc


--- Begin /etc/Muttrc
ignore "from " received content- mime-version status x-status message-id
ignore sender references return-path lines
ignore date delivered-to precedence errors-to in-reply-to user-agent
ignore x-loop x-sender x-mailer x-msmail-priority x-mimeole x-priority
ignore x-accept-language x-authentication-warning thread- priority
bind editor    "\e<delete>"    kill-word
bind editor    "\e<backspace>" kill-word
bind editor     <delete>  delete-char
unset use_domain
unset use_from
set sort=threads
unset write_bcc
unset bounce_delivered
macro index \eb '/~b ' 'search in message bodies'
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
set pipe_decode
macro generic <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-pager\n" 
"Show Mutt documentation"
macro index   <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-pager\n" 
"Show Mutt documentation"
macro pager   <f1> "!zcat /usr/share/doc/mutt/manual.txt.gz | sensible-pager\n" 
"Show Mutt documentation"
open-hook       \\.gz$ "gzip -cd %f > %t"
close-hook      \\.gz$ "gzip -c %t > %f"
append-hook     \\.gz$ "gzip -c %t >> %f"
open-hook       \\.bz2$ "bzip2 -cd %f > %t"
close-hook      \\.bz2$ "bzip2 -c %t > %f"
append-hook     \\.bz2$ "bzip2 -c %t >> %f"
color normal    white black
color attachment brightyellow black
color hdrdefault cyan black
color indicator black cyan
color markers   brightred black
color quoted    green black
color signature cyan black
color status    brightgreen blue
color tilde     blue black
color tree      red black
set pgp_decode_command="gpg  --charset utf-8   --status-fd=2 
%?p?--passphrase-fd 0? --no-verbose --quiet  --batch  --output - %f"
set pgp_verify_command="gpg   --status-fd=2 --no-verbose --quiet  --batch  
--output - --verify %s %f"
set pgp_decrypt_command="gpg   --status-fd=2 --passphrase-fd 0 --no-verbose 
--quiet  --batch  --output - %f"
set pgp_sign_command="gpg    --no-verbose --batch --quiet   --output - 
--passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg   --charset utf-8 --no-verbose --batch --quiet   
--output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg  --charset utf-8    
--batch  --quiet  --no-verbose --output - --encrypt --textmode --armor 
--always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg  --charset utf-8 
--passphrase-fd 0  --batch --quiet  --no-verbose  --textmode --output - 
--encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_import_command="gpg  --no-verbose --import %f"
set pgp_export_command="gpg   --no-verbose --export --armor %k"
set pgp_verify_key_command="gpg   --verbose --batch  --fingerprint --check-sigs 
%r"
set pgp_list_pubring_command="gpg   --no-verbose --batch --quiet   
--with-colons --list-keys %k" 
set pgp_list_secring_command="gpg   --no-verbose --batch --quiet   
--with-colons --list-secret-keys %k" 
set pgp_good_sign="^\\[GNUPG:\\] GOODSIG"
set smime_ca_location="~/.smime/ca-bundle.crt"
set smime_certificates="~/.smime/certificates"
set smime_keys="~/.smime/keys"
set smime_pk7out_command="openssl smime -verify -in %f -noverify -pk7out"
set smime_get_cert_command="openssl pkcs7 -print_certs -in %f"
set smime_get_signer_cert_command="openssl smime -verify -in %f -noverify 
-signer %c -out /dev/null"
set smime_get_cert_email_command="openssl x509 -in %f -noout -email"
set smime_import_cert_command="/usr/lib/mutt/smime_keys add_cert %f"
set smime_encrypt_command="openssl smime -encrypt -%a -outform DER -in %f %c"
set smime_sign_command="openssl smime -sign -signer %c -inkey %k -passin stdin 
-in %f -certfile %i -outform DER"
set smime_decrypt_command="openssl smime -decrypt -passin stdin -inform DER -in 
%f -inkey %k -recip %c"
set smime_verify_command="openssl smime -verify -inform DER -in %s %C -content 
%f"
set smime_verify_opaque_command="openssl smime -verify -inform DER -in %s %C"
--- End /etc/Muttrc


---------------------------------------
Received: (at 1703-done) by bugs.guug.de; 4 Jan 2004 09:44:49 +0000
>From roessler+bounce@xxxxxxxxxxxxxxxxxx Sun Jan 04 10:44:46 2004
Received: from does-not-exist.info ([217.160.221.198] 
helo=kamino.does-not-exist.org)
        by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
        id 1Ad4oQ-0002a9-00
        for <1703-done@xxxxxxxxxxxx>; Sun, 04 Jan 2004 10:44:46 +0100
Received: from voyager.does-not-exist.org (p3E9B9DFA.dip0.t-ipconnect.de 
[62.155.157.250])
        (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
        (No client certificate requested)
        by kamino.does-not-exist.org (Postfix) with ESMTP
        id 9B8733140D5; Sun,  4 Jan 2004 10:47:26 +0100 (CET)
Received: by voyager.does-not-exist.org (Postfix, from userid 500)
        id DFD8F8076; Sun,  4 Jan 2004 10:47:23 +0100 (CET)
Date: Sun, 4 Jan 2004 10:47:23 +0100
From: Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>
To: Brendan Cully <brendan@xxxxxxxxxx>, 1703-done@xxxxxxxxxxxx
Cc: Kapil Hari Paranjape <kapil@xxxxxxxxxxx>, 209025@xxxxxxxxxxxxxxx
Subject: Re: bug#1703: This seems to fix oft seen bug
Message-ID: <20040104094723.GN2144@xxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <20031230053356.GA6837@xxxxxxxxxxx> 
<20040102162002.GF406@xxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040102162002.GF406@xxxxxxxxxxxxxx>
User-Agent: Mutt/1.5.5.1i
X-Spam-Status: No, hits=-108.6 required=4.0
        tests=AWL,BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
              REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,
              USER_IN_WHITELIST
        autolearn=ham version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

Thanks, patch committed to the CVS.

On 2004-01-02 11:20:02 -0500, Brendan Cully wrote:
> From: Brendan Cully <brendan@xxxxxxxxxx>
> To: Kapil Hari Paranjape <kapil@xxxxxxxxxxx>
> Cc: 209025@xxxxxxxxxxxxxxx, 1703@xxxxxxxxxxxx
> Date: Fri, 2 Jan 2004 11:20:02 -0500
> Subject: bug#1703: This seems to fix oft seen bug
> Reply-To: Brendan Cully <brendan@xxxxxxxxxx>, 1703@xxxxxxxxxxxx
> X-Spam-Level: 
> 
> Thanks. Here's an alternative that keeps the IMAP_AUTHENTICATED hook
> in one place.
> 
> On Tuesday, 30 December 2003 at 11:03, Kapil Hari Paranjape wrote:
> > Hello,
> > 
> > I noticed that "imap_get_delim" was called for "PREAUTH" connections
> > in mutt 1.5.4 but not in the 20031024 snapshot. Here is a fix that
> > seems to answer the bug reports 209025@xxxxxxxxxxxxxxx and
> > 1703@xxxxxxxxxxxxx
> 

> Index: imap/imap.c
> ===================================================================
> RCS file: /home/roessler/cvs/mutt/imap/imap.c,v
> retrieving revision 3.11
> diff -u -p -r3.11 imap.c
> --- imap/imap.c       11 Aug 2003 14:06:08 -0000      3.11
> +++ imap/imap.c       2 Jan 2004 16:14:49 -0000
> @@ -373,13 +373,14 @@ IMAP_DATA* imap_conn_find (const ACCOUNT
>        if (idata->conn->ssf)
>       dprint (2, (debugfile, "Communication encrypted at %d bits\n",
>                   idata->conn->ssf));
> -      imap_get_delim (idata);
>      }
>      else
>        mutt_account_unsetpass (&idata->conn->account);
>      
>      FREE (&idata->capstr);
>    }
> +  if (idata->state == IMAP_AUTHENTICATED)
> +    imap_get_delim (idata);
>    
>    return idata;
>  }




-- 
Thomas Roessler                       <roessler@xxxxxxxxxxxxxxxxxx>