* 23.0.50; movemail change
@ 2008-01-18 10:09 jpff
2008-01-18 13:22 ` Dan Nicolaescu
0 siblings, 1 reply; 7+ messages in thread
From: jpff @ 2008-01-18 10:09 UTC (permalink / raw)
To: emacs-pretest-bug
One one of my machines I fetch mail to RMAIL via pop, and on the others
I use reading from a file. Since the change to movemail (on 13 Jan I
think) the pop version fails.
movemail: Error getting message count from POP server: Unexpected response from POP server in pop_stat
(No new mail has arrived)
There are messages; using fetchmail on a different system I can get
them to the mail box, but that is hard (involving home and work
systems). I think that a bug was introduced in the po: form of mail
box
Message below if from a machine that is OK problem machine is an
AMD64x2 running Suse 10.3
In GNU Emacs 23.0.50.26 (i686-pc-linux-gnu, GTK+ Version 2.12.0)
of 2008-01-17 on cardew
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
auto-image-file-mode: t
show-paren-mode: t
display-time-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
C-x C-r R M A <tab> <return> M-R m o v e m a i l <return>
<help-echo> M-m C-x k <return> M-x e m <tab> a <tab>
b <tab> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> s e <tab> <backspace>
<backspace> r e <tab> p <tab> o r <tab> <return>
Recent messages:
Loading logger...done
Loading /home/jpff/myemacs.elc...done
Loading delsel...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Counting messages...done
Loading mail-extr...done
Reverse Rmail search for movemail...
Search failed: movemail
Parsing /home/jpff/.mailrc... done
Making completion list... [4 times]
==John ffitch
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; movemail change
2008-01-18 10:09 23.0.50; movemail change jpff
@ 2008-01-18 13:22 ` Dan Nicolaescu
2008-01-18 14:56 ` jpff
2008-01-18 16:38 ` jpff
0 siblings, 2 replies; 7+ messages in thread
From: Dan Nicolaescu @ 2008-01-18 13:22 UTC (permalink / raw)
To: jpff; +Cc: emacs-pretest-bug
jpff <jpff@codemist.co.uk> writes:
> One one of my machines I fetch mail to RMAIL via pop, and on the others
> I use reading from a file. Since the change to movemail (on 13 Jan I
> think) the pop version fails.
>
> movemail: Error getting message count from POP server: Unexpected response from POP server in pop_stat
> (No new mail has arrived)
>
> There are messages; using fetchmail on a different system I can get
> them to the mail box, but that is hard (involving home and work
> systems). I think that a bug was introduced in the po: form of mail
> box
>
> Message below if from a machine that is OK problem machine is an
> AMD64x2 running Suse 10.3
Can you please send a diff between the results of preprocessing
movemail.c before and after the Jan 13 change?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; movemail change
2008-01-18 13:22 ` Dan Nicolaescu
@ 2008-01-18 14:56 ` jpff
2008-01-18 16:38 ` jpff
1 sibling, 0 replies; 7+ messages in thread
From: jpff @ 2008-01-18 14:56 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: emacs-pretest-bug
Looking more closely, this seems to be the change in lib-src/pop.c
(diff below...) as this is the error message I am seeing. At present
I am trying to see how to devise a simple test without trashing all my
mail!
378 return (-1); return (-1);
379 } }
380
381 *count = atoi (&fromserver[4]); errno = 0;
382 *count = strtol (&fromserver[4], &end_ptr, 10);
383 /* Check validity of string-to-integer conversion. */
384 if (fromserver[4] == 0 || *end_ptr != 0 || errno)
385 {
386 strcpy (pop_error, "Unexpected response from POP server in pop_stat");
387 pop_trash (server);
388 return (-1);
389 }
390
391 fromserver = index (&fromserver[4], ' '); fromserver = index (&fromserver[4], ' ');
392 if (! fromserver) if (! fromserver)
# Line 388 Line 397
397 return (-1); return (-1);
398 } }
399
400 *size = atoi (fromserver + 1); errno = 0;
401 *size = strtol (fromserver + 1, &end_ptr, 10);
402 if (*(fromserver + 1) == 0 || *end_ptr != 0 || errno)
403 {
404 strcpy (pop_error, "Unexpected response from POP server in pop_stat");
405 pop_trash (server);
406 return (-1);
407 }
408
}
# Line 913 Line 929
929 } }
930 else else
931 { {
932 return (atoi (&fromserver[4])); char *end_ptr;
933 int count;
934 errno = 0;
935 count = strtol (&fromserver[4], &end_ptr, 10);
936 if (fromserver[4] == 0 || *end_ptr != 0 || errno)
937 {
938 strcpy (pop_error, "Unexpected response from server in pop_last");
939 pop_trash (server);
940 return (-1);
941 }
942 return count;
943 } }
944 } }
945
==John ffitch
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; movemail change
2008-01-18 13:22 ` Dan Nicolaescu
2008-01-18 14:56 ` jpff
@ 2008-01-18 16:38 ` jpff
2008-01-18 20:37 ` Dan Nicolaescu
2008-01-22 15:34 ` Chong Yidong
1 sibling, 2 replies; 7+ messages in thread
From: jpff @ 2008-01-18 16:38 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: emacs-pretest-bug
Using strace it seems that movemail returns
+OK 38 324994
and there are 38 messages. I assume that the second number is the
total length in bytes, but emacs is assuming that there is nothing
after the count
The pop/imap server is cyrus
movemail: Error getting message count from POP server: Unexpected response from POP server in pop_stat POP says:+OK 38 324994
(No new mail has arrived)
==John ffitch
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; movemail change
2008-01-18 16:38 ` jpff
@ 2008-01-18 20:37 ` Dan Nicolaescu
2008-01-22 15:34 ` Chong Yidong
1 sibling, 0 replies; 7+ messages in thread
From: Dan Nicolaescu @ 2008-01-18 20:37 UTC (permalink / raw)
To: jpff; +Cc: emacs-pretest-bug
<jpff@cs.bath.ac.uk> writes:
> Using strace it seems that movemail returns
> +OK 38 324994
> and there are 38 messages. I assume that the second number is the
> total length in bytes, but emacs is assuming that there is nothing
> after the count
>
>
> The pop/imap server is cyrus
>
>
> movemail: Error getting message count from POP server: Unexpected response from POP server in pop_stat POP says:+OK 38 324994
> (No new mail has arrived)
It would be great if you try do a binary search and find out when
exactly this broke. The number of changes to pop.c/movemail.c is rather
small, so it should not be too hard.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; movemail change
2008-01-18 16:38 ` jpff
2008-01-18 20:37 ` Dan Nicolaescu
@ 2008-01-22 15:34 ` Chong Yidong
2008-01-24 16:24 ` jpff
1 sibling, 1 reply; 7+ messages in thread
From: Chong Yidong @ 2008-01-22 15:34 UTC (permalink / raw)
To: jpff; +Cc: emacs-pretest-bug, Dan Nicolaescu
<jpff@cs.bath.ac.uk> writes:
> Using strace it seems that movemail returns
> +OK 38 324994
> and there are 38 messages. I assume that the second number is the
> total length in bytes, but emacs is assuming that there is nothing
> after the count
>
> movemail: Error getting message count from POP server: Unexpected
> response from POP server in pop_stat POP says:+OK 38 324994 (No new
> mail has arrived)
I checked in a fix. Please verify if it works, and thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; movemail change
2008-01-22 15:34 ` Chong Yidong
@ 2008-01-24 16:24 ` jpff
0 siblings, 0 replies; 7+ messages in thread
From: jpff @ 2008-01-24 16:24 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-pretest-bug, dann
Sorry for the delay but I have been marking examinations.
Checked out this afternoon and rebuilt. It is working now.
Thank so much. Now back to reading e-mail
==John ffitch
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-01-24 16:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-18 10:09 23.0.50; movemail change jpff
2008-01-18 13:22 ` Dan Nicolaescu
2008-01-18 14:56 ` jpff
2008-01-18 16:38 ` jpff
2008-01-18 20:37 ` Dan Nicolaescu
2008-01-22 15:34 ` Chong Yidong
2008-01-24 16:24 ` jpff
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.