Gmail Kalender Dokument Reader Nätet mer »
Nyligen besökta grupper | Hjälp | Logga in
Startsida för Google-grupper
Bug#569038: mutt: No timeout for an unreachable host
Det är för många ämnen i denna grupp som visas först. För att visa detta ämne först, så måste inställningen tas bort från något annat ämne.
Det uppstod ett fel när din begäran skulle bearbetas. Försök igen.
flagga
  4 meddelanden - Komprimera alla  -  Översätt allt till Översatt (visa alla ursprungstexter)
Gruppen som du skickar meddelanden till är en Usenet-grupp. Meddelanden som skickas till den här gruppen gör ditt mail synligt för alla på Internet.
Ditt svarsmeddelande har inte skickats.
Ditt meddelande har publicerats
 
Från:
Till:
Kopia:
Uppföljning på:
Lägg till kopia | Lägg till uppföljning | Redigera ämne
Ämne:
Validering:
Av verifieringsskäl ber vi dig att skriva in de bokstäver du ser i bilden nedan eller de siffror som du hör om du klickar på tillgänglighetsikonen. Lyssna och skriv talen du hör
 
Philip Richardson  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 9 Feb, 17:50
Nyhetsgrupper: linux.debian.bugs.dist
Från: Philip Richardson <pprichard...@gmail.com>
Datum: Tue, 09 Feb 2010 17:50:02 +0100
Lokalt: Tis 9 Feb 2010 17:50
Ämne: Bug#569038: mutt: No timeout for an unreachable host
Package: mutt
Version: 1.5.20-7
Severity: important

Hello,

When IMAP host is unreachable mutt is infinitly trying to connect.
I need to kill the process.
It's quite easy to reproduce this effect when pointing to a non existant host.
mutt -f imap:/...@nowhere.onthemoon (same with pop).
Trying this with lenny version 1.5.18 (lenny) I have not this trouble.

Thanks.

Philip

-- Package-specific info:
Mutt 1.5.20 (2009-06-14)
Copyright (C) 1996-2009 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.6.32-trunk-686 (i686)
ncurses: ncurses 5.7.20090803 (compiled with 5.7)
libidn: 1.15 (compiled with 1.15)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Nov 21 2009 11:02:22)
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK  
+USE_POP  +USE_IMAP  +USE_SMTP  
-USE_SSL_OPENSSL  +USE_SSL_GNUTLS  +USE_SASL  +USE_GSS  +HAVE_GETADDRINFO  
+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  
-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  +USE_HCACHE  
-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-...@mutt.org>.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.13.cd.ifdef.2

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mutt depends on:
ii  libc6                  2.10.2-5          Embedded GNU C Library: Shared lib
ii  libcomerr2             1.41.9-1          common error description library
ii  libgdbm3               1.8.3-9           GNU dbm database routines (runtime
ii  libgnutls26            2.8.5-2           the GNU TLS library - runtime libr
ii  libgpg-error0          1.6-1             library for common error values an
ii  libgpgme11             1.2.0-1.2         GPGME - GnuPG Made Easy
ii  libgssapi-krb5-2       1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries - k
ii  libidn11               1.15-2            GNU Libidn library, implementation
ii  libk5crypto3           1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries - C
ii  libkrb5-3              1.8+dfsg~alpha1-5 MIT Kerberos runtime libraries
ii  libncursesw5           5.7+20090803-2    shared libraries for terminal hand
ii  libsasl2-2             2.1.23.dfsg1-5    Cyrus SASL - authentication abstra

Versions of packages mutt recommends:
ii  libsasl2-modules          2.1.23.dfsg1-5 Cyrus SASL - pluggable authenticat
ii  locales                   2.10.2-5       Embedded GNU C Library: National L
ii  mime-support              3.48-1         MIME files 'mime.types' & 'mailcap
ii  ssmtp [mail-transport-age 2.64-1         extremely simple MTA to get mail o

Versions of packages mutt suggests:
ii  aspell                        0.60.6-3   GNU Aspell spell-checker
ii  ca-certificates               20090814   Common CA certificates
ii  gnupg                         1.4.10-2   GNU privacy guard - a free PGP rep
ii  ispell                        3.1.20.0-7 International Ispell (an interacti
pn  mixmaster                     <none>     (no description available)
ii  openssl                       0.9.8k-8   Secure Socket Layer (SSL) binary a
ii  urlview                       0.9-18.1   Extracts URLs from text

Versions of packages mutt is related to:
ii  mutt                          1.5.20-7   text-based mailreader supporting M
pn  mutt-dbg                      <none>     (no description available)
pn  mutt-patched                  <none>     (no description available)

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs-dist-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


    Vidarebefordra  
Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
Antonio Radici  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 9 Feb, 22:40
Nyhetsgrupper: linux.debian.bugs.dist
Från: Antonio Radici <anto...@dyne.org>
Datum: Tue, 09 Feb 2010 22:40:02 +0100
Lokalt: Tis 9 Feb 2010 22:40
Ämne: Bug#569038: mutt: No timeout for an unreachable host
severity 569038 normal
tag 569038 +unreproducible moreinfo
thanks

On Tue, Feb 09, 2010 at 04:52:43PM +0100, Philip Richardson wrote:
> Hello,

> When IMAP host is unreachable mutt is infinitly trying to connect.
> I need to kill the process.
> It's quite easy to reproduce this effect when pointing to a non existant host.
> mutt -f imap:/...@nowhere.onthemoon (same with pop).
> Trying this with lenny version 1.5.18 (lenny) I have not this trouble.

Hi Philip,
the bug is not reproducible if the hostname doesn't exist.

I tried with an hostname which is not listening on the imap port and it
takes some time to timeout but that depends on connect_timeout value:

(from man muttrc)

-----
connect_timeout
      Type: number
      Default: 30

Causes Mutt to timeout a network connection (for IMAP, POP or SMTP)
after this many seconds if the connection is  not  able  to  be estab‐
lished.  A negative value causes Mutt to wait indefinitely for the
connection attempt to succeed.
-----

the command

mutt -e 'set connect_timeout=2' -f imap:/...@google.com/

will time out after 2 seconds.

Therefore, since it doesn't sound like a bug, I would like to close this
bug, what do you think?

Cheers
Antonio

--
To UNSUBSCRIBE, email to debian-bugs-dist-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


    Vidarebefordra  
Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
Philip Richardson  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 9 Feb, 23:10
Nyhetsgrupper: linux.debian.bugs.dist
Från: Philip Richardson <pprichard...@gmail.com>
Datum: Tue, 09 Feb 2010 23:10:02 +0100
Lokalt: Tis 9 Feb 2010 23:10
Ämne: Bug#569038: mutt: No timeout for an unreachable host

I agree, it works this way but without this option the default timout (30 sec) isn't working and I had already tried this option  in a .muttrc configuration file launched with mutt -F .muttrc and it didn't worked.

> Therefore, since it doesn't sound like a bug, I would like to close this
> bug, what do you think?

For me sid version isn't working as it should in this case.

Thanks

Philip

--
To UNSUBSCRIBE, email to debian-bugs-dist-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


    Vidarebefordra  
Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
Antonio Radici  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 9 Feb, 23:20
Nyhetsgrupper: linux.debian.bugs.dist
Från: Antonio Radici <anto...@dyne.org>
Datum: Tue, 09 Feb 2010 23:20:02 +0100
Lokalt: Tis 9 Feb 2010 23:20
Ämne: Bug#569038: mutt: No timeout for an unreachable host

On Tue, Feb 09, 2010 at 10:54:36PM +0100, Philip Richardson wrote:
> > the command

> > mutt -e 'set connect_timeout=2' -f imap:/...@google.com/

> > will time out after 2 seconds.
> I agree, it works this way but without this option the default timout (30 sec) isn't working and I had already tried this option  in a .muttrc configuration file launched with mutt -F .muttrc and it didn't worked.

> > Therefore, since it doesn't sound like a bug, I would like to close this
> > bug, what do you think?
> For me sid version isn't working as it should in this case.

What is not working exactly?
If I hit ctrl+C the program will exit

If I do
ssh www.google.com

ssh hangs, and hitting ctrl+C will let ssh exit

I don't think that this is an SSH bug, it is the standard behavior of a
TCP connection when no ICMP is sent back and the packets are just
dropped on the other side.

Cheers
Antonio

--
To UNSUBSCRIBE, email to debian-bugs-dist-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


    Vidarebefordra  
Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
Slut på meddelanden
« Tillbaka till diskussioner « Nyare ämnen     Äldre ämnen »

Skapa en grupp - Google-grupper - Googles startsida - Användarvillkor - Sekretesspolicy
©2010 Google