Re: close IMAP connections
On Tue, Apr 02, 2002 at 07:07:35PM +0200, Michael Tatge wrote: Dan Boger ([EMAIL PROTECTED]) muttered: when I don't access that one folder for a while, and I switch to it (with a macro), I get an error connection closed and an empty index. the only thing I could find that would fix this is to quit mutt and start it again - a new connection will then be established. Try setting $imap_keepalive to a higher value. to a higher value? that's counter intuitive, isn't it? anyway, to report, setting it to a lower value did not help - accessing the mailbox before going to sleep last night, and again this morning, I get the same problem. Mutt says some sort of error (is there an easy way to review/catch these?), followed by a Close failed... then I have to quit and reenter mutt. it is not impossible that this problem is with my imap server, btw, but I'm trying to clear all my bases. on the other hand, setting mail_check higher did wonders to the performance of mutt with a lot of IMAP boxes :) -- Dan Boger [EMAIL PROTECTED] msg26580/pgp0.pgp Description: PGP signature
Re: close IMAP connections
Dan -- ...and then Dan Boger said... % % On Tue, Apr 02, 2002 at 07:07:35PM +0200, Michael Tatge wrote: % Dan Boger ([EMAIL PROTECTED]) muttered: ... % the only thing I could find that would fix this is to quit mutt and % start it again - a new connection will then be established. ... % get the same problem. Mutt says some sort of error (is there an easy % way to review/catch these?), followed by a Close failed... then I % have to quit and reenter mutt. I don't have the real answer, but what if you change to a local folder and then back to the imap folder? You might not have to quite mutt after all... % % it is not impossible that this problem is with my imap server, btw, but % I'm trying to clear all my bases. Good idea. % % on the other hand, setting mail_check higher did wonders to the % performance of mutt with a lot of IMAP boxes :) Hey, that's a bonus :-) % % -- % Dan Boger % [EMAIL PROTECTED] HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg26584/pgp0.pgp Description: PGP signature
Re: close IMAP connections
On Wed, Apr 03, 2002 at 09:03:34AM -0500, David T-G wrote: % get the same problem. Mutt says some sort of error (is there an easy % way to review/catch these?), followed by a Close failed... then I % have to quit and reenter mutt. I don't have the real answer, but what if you change to a local folder and then back to the imap folder? You might not have to quite mutt after all... nope, same thing. have to actually quit and restart mutt. :) -- Dan Boger [EMAIL PROTECTED] msg26586/pgp0.pgp Description: PGP signature
Re: close IMAP connections
On Wed, Apr 03, 2002 at 09:07:41AM -0500, Dan Boger wrote: I don't have the real answer, but what if you change to a local folder and then back to the imap folder? You might not have to quite mutt after all... nope, same thing. have to actually quit and restart mutt. :) This sucks. -- Ralf Hildebrandt (Im Auftrag des Referat V A) [EMAIL PROTECTED] Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 I realise computers suck. The only reason why they are a hobby of mine is because I enjoy pain!
Re: Outhouse on Mutt-Users? Was: Re: close IMAP connections
Hi, On Tue, Apr 02, 2002 at 06:59:26PM +, Simon White wrote: 02-Apr-02 at 19:48, Luke Ross ([EMAIL PROTECTED]) wrote : I use mutt patched with vvv-nntp (I know not now - I'm on holiday on a strange computer), and if the NNTP connection gets closed it asks if you want to reconnect, and then continues where it left off - perhaps IMAP can be patched to do the same. Good job you said you were on holiday, with headers like X-Mailer: Microsoft Outlook Express 5.50.4807.1700 that is a travesty :) I knew someone here would snoop my headers! I'm back now, so ner! Luke
Re: close IMAP connections
On Tue, Apr 02, 2002 at 10:50:24AM -0500, Dan Boger wrote: when I don't access that one folder for a while, and I switch to it (with a macro), I get an error connection closed and an empty index. the only thing I could find that would fix this is to quit mutt and start it again - a new connection will then be established. I have the same problem here. I find it very annoying that due to the lost connection my sent E-Mail cannot be saved. By the way - I use the preconnect-feature in order to access my imap-port: set preconnect=ssh -f -q -L 8090:127.0.0.1:143 -L 8091:127.0.0.1:389 \ [EMAIL PROTECTED] sleep 120 /dev/null /dev/null 21 -- Cheers, Heiko Heil using Mutt 1.3.28i (2002-03-13)
Re: close IMAP connections
On Tue, Apr 02, 2002 at 06:32:07PM +0200, Heiko Heil wrote: I have the same problem here. I find it very annoying that due to the lost connection my sent E-Mail cannot be saved. By the way - I use the preconnect-feature in order to access my imap-port: set preconnect=ssh -f -q -L 8090:127.0.0.1:143 -L 8091:127.0.0.1:389 \ [EMAIL PROTECTED] sleep 120 /dev/null /dev/null 21 I just use imaps, and it's all behind my firewall anyway... but that doesn't solve the problem ... -- Dan Boger [EMAIL PROTECTED] msg26525/pgp0.pgp Description: PGP signature
Re: close IMAP connections
02-Apr-02 at 11:35, Dan Boger ([EMAIL PROTECTED]) wrote : I just use imaps, and it's all behind my firewall anyway... but that doesn't solve the problem ... All my mailboxes are IMAP, so I don't have this problem, since I'm always connected to the server. However, I have a fairly short imap_checkinterval: set imap_checkinterval=60 I don't know if this will help keep your IMAP connection alive whilst in IMAP folders... -- [Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:61.06% see www.mersenne.org] Whenever I watch TV and see those poor starving kids all over the world, I can't help but cry. I mean, I'd love to be skinny like that but not with all those flies and death and stuff. -- Mariah Carey [Linux user #170823 http://counter.li.org. Home cooked signature rotator.]
Re: close IMAP connections
On Tue, Apr 02, 2002 at 04:56:41PM +, Simon White wrote: All my mailboxes are IMAP, so I don't have this problem, since I'm always connected to the server. However, I have a fairly short imap_checkinterval: set imap_checkinterval=60 I saw that in the manual, but when I try it, I get an unknown setting error... here's my mutt -v: Mutt 1.3.28i (2002-03-13) Copyright (C) 1996-2001 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.2.19-6.2.7 (i586) [using ncurses 4.0] Compile options: -DOMAIN -DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK -USE_POP +USE_NNTP +USE_IMAP -USE_GSS +USE_SSL -USE_SASL +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM +HAVE_PGP -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_GETSID +HAVE_GETADDRINFO ISPELL=/usr/bin/ispell SENDMAIL=/usr/sbin/sendmail MAILPATH=/var/spool/mail PKGDATADIR=/usr/local/share/mutt SYSCONFDIR=/usr/local/etc EXECSHELL=/bin/sh -MIXMASTER To contact the developers, please mail to [EMAIL PROTECTED]. To report a bug, please use the flea(1) utility. vvv.nntp patch-1.3.28.rr.compressed.1 patch-1.2.xtitles.1 -- Dan Boger [EMAIL PROTECTED] msg26528/pgp0.pgp Description: PGP signature
Re: close IMAP connections
02-Apr-02 at 11:59, Dan Boger ([EMAIL PROTECTED]) wrote : On Tue, Apr 02, 2002 at 04:56:41PM +, Simon White wrote: All my mailboxes are IMAP, so I don't have this problem, since I'm always connected to the server. However, I have a fairly short imap_checkinterval: set imap_checkinterval=60 I saw that in the manual, but when I try it, I get an unknown setting error... Duh. So do I. I had the line commented and I didn't notice. So, does mail_check work for IMAP too, or is this a problem? My INBOX certainly seems to update on a reasonably frequent basis. Let me confirm for Heike and Dan, that you have local folders and IMAP folders in your config, and this is why your IMAP folders are timing out (on the server) causing the connection to close and thus creating your problem with not being able to log back in without restarting? -- [Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:61.06% see www.mersenne.org] UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. -- Dennis Ritchie [Linux user #170823 http://counter.li.org. Home cooked signature rotator.]
Re: close IMAP connections
On Tue, Apr 02, 2002 at 06:17:50PM +, Simon White wrote: Let me confirm for Heike and Dan, that you have local folders and IMAP folders in your config, and this is why your IMAP folders are timing out (on the server) causing the connection to close and thus creating your problem with not being able to log back in without restarting? I have two setups (two different boxes) - one has a bunch of local (non-imap) folders, and a macro defined to access an IMAP folder (infrequently). the other box is all IMAP - my folders via IMAP (which update and work fine), and that same macro for an imap folder (on the same server, but with a different username). When I access that one IMAP folder, leave it for a while, and try to come back is when I run into this problem. -- Dan Boger [EMAIL PROTECTED] msg26536/pgp0.pgp Description: PGP signature
Re: close IMAP connections
Dan Boger ([EMAIL PROTECTED]) muttered: when I don't access that one folder for a while, and I switch to it (with a macro), I get an error connection closed and an empty index. the only thing I could find that would fix this is to quit mutt and start it again - a new connection will then be established. Check out $imap_keepalive HTH, Michael -- There are no threads in a.b.p.erotica, so there's no gain in using a threaded news reader. (Unknown source) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key
Re: close IMAP connections
* On 2002.04.02, in [EMAIL PROTECTED], * Dan Boger [EMAIL PROTECTED] wrote: On Tue, Apr 02, 2002 at 04:56:41PM +, Simon White wrote: All my mailboxes are IMAP, so I don't have this problem, since I'm always connected to the server. However, I have a fairly short imap_checkinterval: set imap_checkinterval=60 I saw that in the manual, but when I try it, I get an unknown setting error... $imap_checkinterval was removed in recent 1.3.x releases. Here's the section the original patch from Brendan: +- $imap_checkinterval has been retired. You use $mail_check to control + how often your mailboxes are polled. Note that the default setting of + $mail_check (5 seconds) makes mutt sluggish if you have more than a + couple of IMAP mailboxes defined. Also note that mutt polls the current + IMAP mailbox for new mail no more often than $timeout seconds, and its + default may also surprise you. It's a little briefer in the actual NEWS file (which this was meant to patch). Basically, it was determined that $imap_checkinterval and $mail_check were redundant, so we dropped the special imap one. -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: close IMAP connections
02-Apr-02 at 13:22, Dan Boger ([EMAIL PROTECTED]) wrote : I have two setups (two different boxes) - one has a bunch of local (non-imap) folders, and a macro defined to access an IMAP folder (infrequently). the other box is all IMAP - my folders via IMAP (which update and work fine), and that same macro for an imap folder (on the same server, but with a different username). When I access that one IMAP folder, leave it for a while, and try to come back is when I run into this problem. I'm assuming that you mean the IMAP folder with a different username. Do you have anything set for mail_check in your .muttrc? How about you, Heike? -- [Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:61.06% see www.mersenne.org] Microsoft isn't the answer. Microsoft is the question, and the answer is no. [Linux user #170823 http://counter.li.org. Home cooked signature rotator.]
Re: close IMAP connections
02-Apr-02 at 20:22, Michael Tatge ([EMAIL PROTECTED]) wrote : Check out $imap_keepalive The default is 600 seconds for imap_keepalive, so I guess those who have problems should set this lower. I assume if mail_check is set to 30 (as in my config) then I needn't set an imap_keepalive, since I haven't had problems, and my mailbox will get polled anyway. Anyone? -- [Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:61.07% see www.mersenne.org] Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rich Cook [Linux user #170823 http://counter.li.org. Home cooked signature rotator.]
Re: close IMAP connections
On Tue, Apr 02, 2002 at 12:23:01PM -0600, David Champion wrote: It's a little briefer in the actual NEWS file (which this was meant to patch). Basically, it was determined that $imap_checkinterval and $mail_check were redundant, so we dropped the special imap one. _very_ interesting. so while it doesn't help with my current problem (since the mailbox that's timing out isn't one that's getting polled for new mail) it might explain why my all-IMAP config is very slow, compared with the local one... esp since my IMAP server is a P90 with 48M of ram :) -- Dan Boger [EMAIL PROTECTED] msg26541/pgp0.pgp Description: PGP signature
Re: close IMAP connections
On Tue, Apr 02, 2002 at 06:24:45PM +, Simon White wrote: 02-Apr-02 at 13:22, Dan Boger ([EMAIL PROTECTED]) wrote : I have two setups (two different boxes) - one has a bunch of local (non-imap) folders, and a macro defined to access an IMAP folder (infrequently). the other box is all IMAP - my folders via IMAP (which update and work fine), and that same macro for an imap folder (on the same server, but with a different username). When I access that one IMAP folder, leave it for a while, and try to come back is when I run into this problem. I'm assuming that you mean the IMAP folder with a different username. correct. Do you have anything set for mail_check in your .muttrc? yup - set mail_check = 5 -- Dan Boger [EMAIL PROTECTED] msg26542/pgp0.pgp Description: PGP signature
Re: close IMAP connections
Hi, when I don't access that one folder for a while, and I switch to it (with a macro), I get an error connection closed and an empty index. the only thing I could find that would fix this is to quit mutt and start it again - a new connection will then be established. Check out $imap_keepalive This, and the other suggestions, don't work if, say your connection drops. I use mutt patched with vvv-nntp (I know not now - I'm on holiday on a strange computer), and if the NNTP connection gets closed it asks if you want to reconnect, and then continues where it left off - perhaps IMAP can be patched to do the same. Luke
Re: close IMAP connections
On Tue, Apr 02, 2002 at 06:24:45PM +, Simon White wrote: I'm assuming that you mean the IMAP folder with a different username. Do you have anything set for mail_check in your .muttrc? How about you, Heike? my gender=male/ ^ -- o ;-) Currently I use: set mail_check=120 set timeout=15 After I have sent some mail my connection is lost an therefore my E-Mail cannot be saved... -- Cheers, Heiko Heil msg26546/pgp0.pgp Description: PGP signature
Re: close IMAP connections
02-Apr-02 at 13:34, Dan Boger ([EMAIL PROTECTED]) wrote : On Tue, Apr 02, 2002 at 06:24:45PM +, Simon White wrote: Do you have anything set for mail_check in your .muttrc? yup - set mail_check = 5 So... let me know how you get on if you lower imap_keepalive and/or if you add the IMAP folder to your new mail poll... although you'll set mail_check higher or that poor old P90 might get a bit overworked :) -- [Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:61.07% see www.mersenne.org] History is the version of past events that people have decided to agree upon. -- Napoleon Bonaparte [Linux user #170823 http://counter.li.org. Home cooked signature rotator.]
Outhouse on Mutt-Users? Was: Re: close IMAP connections
02-Apr-02 at 19:48, Luke Ross ([EMAIL PROTECTED]) wrote : I use mutt patched with vvv-nntp (I know not now - I'm on holiday on a strange computer), and if the NNTP connection gets closed it asks if you want to reconnect, and then continues where it left off - perhaps IMAP can be patched to do the same. Good job you said you were on holiday, with headers like X-Mailer: Microsoft Outlook Express 5.50.4807.1700 that is a travesty :) -- [Simon White. vim/mutt. [EMAIL PROTECTED] GIMPS:61.07% see www.mersenne.org] The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet. [Linux user #170823 http://counter.li.org. Home cooked signature rotator.]
Re: close IMAP connections
On Tue, Apr 02, 2002 at 01:32:01PM -0500, Dan Boger wrote: _very_ interesting. so while it doesn't help with my current problem (since the mailbox that's timing out isn't one that's getting polled for ^^^ The same applies for me... new mail) [...] -- Cheers, Heiko Heil msg26551/pgp0.pgp Description: PGP signature
Re: close IMAP connections
Dan -- ...and then Dan Boger said... % % On Tue, Apr 02, 2002 at 12:23:01PM -0600, David Champion wrote: % ... % with the local one... esp since my IMAP server is a P90 with 48M of ram You have 48M? Wow; lucky you. My box at home is only a P60 with 16M :-) HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg26554/pgp0.pgp Description: PGP signature
Re: close IMAP connections
On Tue, Apr 02, 2002 at 06:57:59PM +, Simon White wrote: So... let me know how you get on if you lower imap_keepalive and/or if you add the IMAP folder to your new mail poll... although you'll set mail_check higher or that poor old P90 might get a bit overworked :) I changed my keepalive, and will report - thanks for the help! -- Dan Boger [EMAIL PROTECTED] msg26555/pgp0.pgp Description: PGP signature
[OT] Re: close IMAP connections
On Tue, Apr 02, 2002 at 02:10:43PM -0500, David T-G wrote: You have 48M? Wow; lucky you. My box at home is only a P60 with 16M :-) yah, we upgraded after it was too slow acting as a fileserver/dns/dhcp/web server/twiki/cvs/smb master etc... it's actually working quite nice, except that AIDE takes too long to run on it (17 hrs/day), so I need to fix that... and it still beats my firewall - 486/25 with 7.8M of ram (don't ask)... though that one is purring away nicely :) -- Dan Boger [EMAIL PROTECTED] msg26556/pgp0.pgp Description: PGP signature
Re: close IMAP connections
Dan Boger ([EMAIL PROTECTED]) muttered: when I don't access that one folder for a while, and I switch to it (with a macro), I get an error connection closed and an empty index. the only thing I could find that would fix this is to quit mutt and start it again - a new connection will then be established. Try setting $imap_keepalive to a higher value. HTH, Michael -- I did this 'cause Linux gives me a woody. It doesn't generate revenue. (Dave '-ddt-` Taylor, announcing DOOM for Linux) PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key