* upgrade from Debian's 5.10.6-0.CVS.20050317-1 to 5.11+v0.4.dfsg-1 breaks outbox on imap
@ 2006-05-15 9:22 Alexander Kotelnikov
2006-05-15 11:46 ` Simon Josefsson
0 siblings, 1 reply; 8+ messages in thread
From: Alexander Kotelnikov @ 2006-05-15 9:22 UTC (permalink / raw)
Hello one more time.
After I upgraded from more than one year old gnus my outgoing mail is
no longer stored on imap after I send it.
Parts of imap configuration follow:
(nnimap-stream ssl)
(setq
imap-ssl-program '("stunnel -c -v 3 -a ~/.ssl/ -f -r %s:%p")
imap-use-utf7 nil
imap-log t
imap-client-eol "
\n"
imap-server-eol "
\n"
imap-calculate-literal-size-first t
imap-process-connection-type t)
(setq gnus-message-archive-group "nnimap+myxomop:INBOX.outbox")
Here goes a part of *imap-log*
190 APPEND "INBOX.outbox" {453}
* BAD Invalid tag
+ go ahead
From: Alexander Kotelnikov <sacha@myxomop.com>
To: Alexander Kotelnikov <sacha@myxomop.com>
Subject: No Gnus v0.4 test
Organization: Global disintoxication
Mail-Copies-To: never
Date: Mon, 15 May 2006 12:51:55 +0400
Message-ID: <87fyjbbrh0.fsf@myxomop.com>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
body
--
Alexander Kotelnikov
Saint-Petersburg, Russia
190 NO Message contains invalid header
* BAD Invalid tag
* BAD Invalid tag
191 SELECT "INBOX.outbox"
--
Alexander Kotelnikov
Saint-Petersburg, Russia
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: upgrade from Debian's 5.10.6-0.CVS.20050317-1 to 5.11+v0.4.dfsg-1 breaks outbox on imap
2006-05-15 9:22 upgrade from Debian's 5.10.6-0.CVS.20050317-1 to 5.11+v0.4.dfsg-1 breaks outbox on imap Alexander Kotelnikov
@ 2006-05-15 11:46 ` Simon Josefsson
2006-05-15 12:40 ` Alexander Kotelnikov
0 siblings, 1 reply; 8+ messages in thread
From: Simon Josefsson @ 2006-05-15 11:46 UTC (permalink / raw)
Alexander Kotelnikov <sacha@myxomop.com> writes:
> Hello one more time.
>
> After I upgraded from more than one year old gnus my outgoing mail is
> no longer stored on imap after I send it.
>
> Parts of imap configuration follow:
> (nnimap-stream ssl)
>
> (setq
> imap-ssl-program '("stunnel -c -v 3 -a ~/.ssl/ -f -r %s:%p")
> imap-use-utf7 nil
> imap-log t
> imap-client-eol "
> \n"
> imap-server-eol "
> \n"
> imap-calculate-literal-size-first t
> imap-process-connection-type t)
>
> (setq gnus-message-archive-group "nnimap+myxomop:INBOX.outbox")
>
>
> Here goes a part of *imap-log*
>
> 190 APPEND "INBOX.outbox" {453}
> * BAD Invalid tag
...
> 190 NO Message contains invalid header
This sounds as if your imap-client-eol should be "\n" and not "\r\n".
/Simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: upgrade from Debian's 5.10.6-0.CVS.20050317-1 to 5.11+v0.4.dfsg-1 breaks outbox on imap
2006-05-15 11:46 ` Simon Josefsson
@ 2006-05-15 12:40 ` Alexander Kotelnikov
2006-05-15 14:25 ` Simon Josefsson
0 siblings, 1 reply; 8+ messages in thread
From: Alexander Kotelnikov @ 2006-05-15 12:40 UTC (permalink / raw)
>>>>> On Mon, 15 May 2006 13:46:31 +0200
>>>>> "SJ" == Simon Josefsson <jas@extundo.com> wrote:
SJ>
SJ> Alexander Kotelnikov <sacha@myxomop.com> writes:
>>
>> After I upgraded from more than one year old gnus my outgoing mail is
>> no longer stored on imap after I send it.
>>
>> Parts of imap configuration follow:
>> (nnimap-stream ssl)
>>
>> (setq
>> imap-ssl-program '("stunnel -c -v 3 -a ~/.ssl/ -f -r %s:%p")
>> imap-use-utf7 nil
>> imap-log t
>> imap-client-eol "
>> \n"
>> imap-server-eol "
>> \n"
>> imap-calculate-literal-size-first t
>> imap-process-connection-type t)
>>
>> (setq gnus-message-archive-group "nnimap+myxomop:INBOX.outbox")
>>
>>
>> Here goes a part of *imap-log*
>>
>> 190 APPEND "INBOX.outbox" {453}
>> * BAD Invalid tag
SJ> ...
>> 190 NO Message contains invalid header
SJ>
SJ> This sounds as if your imap-client-eol should be "\n" and not "\r\n".
Now it is
189 OK Completed
190 APPEND "INBOX.outbox" {450}
and gnus needs C-g to get out of infinite wait.
--
Alexander Kotelnikov
Saint-Petersburg, Russia
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: upgrade from Debian's 5.10.6-0.CVS.20050317-1 to 5.11+v0.4.dfsg-1 breaks outbox on imap
2006-05-15 12:40 ` Alexander Kotelnikov
@ 2006-05-15 14:25 ` Simon Josefsson
2006-05-16 10:37 ` Alexander Kotelnikov
0 siblings, 1 reply; 8+ messages in thread
From: Simon Josefsson @ 2006-05-15 14:25 UTC (permalink / raw)
Alexander Kotelnikov <sacha@myxomop.com> writes:
>>>>>> On Mon, 15 May 2006 13:46:31 +0200
>>>>>> "SJ" == Simon Josefsson <jas@extundo.com> wrote:
> SJ>
> SJ> Alexander Kotelnikov <sacha@myxomop.com> writes:
>>>
>>> After I upgraded from more than one year old gnus my outgoing mail is
>>> no longer stored on imap after I send it.
>>>
>>> Parts of imap configuration follow:
>>> (nnimap-stream ssl)
>>>
>>> (setq
>>> imap-ssl-program '("stunnel -c -v 3 -a ~/.ssl/ -f -r %s:%p")
>>> imap-use-utf7 nil
>>> imap-log t
>>> imap-client-eol "
>>> \n"
>>> imap-server-eol "
>>> \n"
>>> imap-calculate-literal-size-first t
>>> imap-process-connection-type t)
>>>
>>> (setq gnus-message-archive-group "nnimap+myxomop:INBOX.outbox")
>>>
>>>
>>> Here goes a part of *imap-log*
>>>
>>> 190 APPEND "INBOX.outbox" {453}
>>> * BAD Invalid tag
> SJ> ...
>>> 190 NO Message contains invalid header
> SJ>
> SJ> This sounds as if your imap-client-eol should be "\n" and not "\r\n".
>
> Now it is
>
> 189 OK Completed
> 190 APPEND "INBOX.outbox" {450}
>
> and gnus needs C-g to get out of infinite wait.
Maybe you need to set imap-calculate-literal-size-first to nil?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: upgrade from Debian's 5.10.6-0.CVS.20050317-1 to 5.11+v0.4.dfsg-1 breaks outbox on imap
2006-05-15 14:25 ` Simon Josefsson
@ 2006-05-16 10:37 ` Alexander Kotelnikov
2006-05-16 11:05 ` Simon Josefsson
0 siblings, 1 reply; 8+ messages in thread
From: Alexander Kotelnikov @ 2006-05-16 10:37 UTC (permalink / raw)
>>>>> On Mon, 15 May 2006 16:25:57 +0200
>>>>> "SJ" == Simon Josefsson <jas@extundo.com> wrote:
SJ>
SJ> Alexander Kotelnikov <sacha@myxomop.com> writes:
>>>>>>> On Mon, 15 May 2006 13:46:31 +0200
>>>>>>> "SJ" == Simon Josefsson <jas@extundo.com> wrote:
SJ>
SJ> Alexander Kotelnikov <sacha@myxomop.com> writes:
>>>>
>>>> After I upgraded from more than one year old gnus my outgoing mail is
>>>> no longer stored on imap after I send it.
>>>>
>>>> Parts of imap configuration follow:
>>>> (nnimap-stream ssl)
>>>>
>>>> (setq
>>>> imap-ssl-program '("stunnel -c -v 3 -a ~/.ssl/ -f -r %s:%p")
>>>> imap-use-utf7 nil
>>>> imap-log t
>>>> imap-client-eol "
>>>> \n"
>>>> imap-server-eol "
>>>> \n"
>>>> imap-calculate-literal-size-first t
>>>> imap-process-connection-type t)
>>>>
>>>> (setq gnus-message-archive-group "nnimap+myxomop:INBOX.outbox")
>>>>
>>>>
>>>> Here goes a part of *imap-log*
>>>>
>>>> 190 APPEND "INBOX.outbox" {453}
>>>> * BAD Invalid tag
SJ> ...
>>>> 190 NO Message contains invalid header
SJ>
SJ> This sounds as if your imap-client-eol should be "\n" and not "\r\n".
>>
>> Now it is
>>
>> 189 OK Completed
>> 190 APPEND "INBOX.outbox" {450}
>>
>> and gnus needs C-g to get out of infinite wait.
SJ>
SJ> Maybe you need to set imap-calculate-literal-size-first to nil?
None of combinations
imap-calculate-literal-size-first t/nil
and
imap-client-eol "\r\n"/"\n" works :(
--
Alexander Kotelnikov
Saint-Petersburg, Russia
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: upgrade from Debian's 5.10.6-0.CVS.20050317-1 to 5.11+v0.4.dfsg-1 breaks outbox on imap
2006-05-16 10:37 ` Alexander Kotelnikov
@ 2006-05-16 11:05 ` Simon Josefsson
2006-05-16 11:48 ` Alexander Kotelnikov
0 siblings, 1 reply; 8+ messages in thread
From: Simon Josefsson @ 2006-05-16 11:05 UTC (permalink / raw)
Alexander Kotelnikov <sacha@myxomop.com> writes:
>>>>>> On Mon, 15 May 2006 16:25:57 +0200
>>>>>> "SJ" == Simon Josefsson <jas@extundo.com> wrote:
> SJ>
> SJ> Alexander Kotelnikov <sacha@myxomop.com> writes:
>>>>>>>> On Mon, 15 May 2006 13:46:31 +0200
>>>>>>>> "SJ" == Simon Josefsson <jas@extundo.com> wrote:
> SJ>
> SJ> Alexander Kotelnikov <sacha@myxomop.com> writes:
>>>>>
>>>>> After I upgraded from more than one year old gnus my outgoing mail is
>>>>> no longer stored on imap after I send it.
>>>>>
>>>>> Parts of imap configuration follow:
>>>>> (nnimap-stream ssl)
>>>>>
>>>>> (setq
>>>>> imap-ssl-program '("stunnel -c -v 3 -a ~/.ssl/ -f -r %s:%p")
>>>>> imap-use-utf7 nil
>>>>> imap-log t
>>>>> imap-client-eol "
>>>>> \n"
>>>>> imap-server-eol "
>>>>> \n"
>>>>> imap-calculate-literal-size-first t
>>>>> imap-process-connection-type t)
>>>>>
>>>>> (setq gnus-message-archive-group "nnimap+myxomop:INBOX.outbox")
>>>>>
>>>>>
>>>>> Here goes a part of *imap-log*
>>>>>
>>>>> 190 APPEND "INBOX.outbox" {453}
>>>>> * BAD Invalid tag
> SJ> ...
>>>>> 190 NO Message contains invalid header
> SJ>
> SJ> This sounds as if your imap-client-eol should be "\n" and not "\r\n".
>>>
>>> Now it is
>>>
>>> 189 OK Completed
>>> 190 APPEND "INBOX.outbox" {450}
>>>
>>> and gnus needs C-g to get out of infinite wait.
> SJ>
> SJ> Maybe you need to set imap-calculate-literal-size-first to nil?
>
> None of combinations
> imap-calculate-literal-size-first t/nil
> and
> imap-client-eol "\r\n"/"\n" works :(
Maybe imap-server-eol has to be "\n" too? Otherwise, I think imap.el
will wait for the continuation line terminated with a \r\n, but that
won't happen.
If that doesn't work either, you'll have to debug imap.el to find out
what it is looking for, and comparing that with what's in the "
*nnimap* foo" buffer.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: upgrade from Debian's 5.10.6-0.CVS.20050317-1 to 5.11+v0.4.dfsg-1 breaks outbox on imap
2006-05-16 11:05 ` Simon Josefsson
@ 2006-05-16 11:48 ` Alexander Kotelnikov
2006-05-16 13:43 ` Simon Josefsson
0 siblings, 1 reply; 8+ messages in thread
From: Alexander Kotelnikov @ 2006-05-16 11:48 UTC (permalink / raw)
>>>>> On Tue, 16 May 2006 13:05:52 +0200
>>>>> "SJ" == Simon Josefsson <jas@extundo.com> wrote:
SJ>
SJ>
SJ> Maybe imap-server-eol has to be "\n" too? Otherwise, I think imap.el
SJ> will wait for the continuation line terminated with a \r\n, but that
SJ> won't happen.
SJ>
SJ> If that doesn't work either, you'll have to debug imap.el to find out
SJ> what it is looking for, and comparing that with what's in the "
SJ> *nnimap* foo" buffer.
Can you give me some hints how do I start, assuming that I have some
emacs/elisp knowledge, but being entered to elisp debugger I mostly
was inclined to exit it... And I am not familiar with imap.el
Thanks,
--
Alexander Kotelnikov
Saint-Petersburg, Russia
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: upgrade from Debian's 5.10.6-0.CVS.20050317-1 to 5.11+v0.4.dfsg-1 breaks outbox on imap
2006-05-16 11:48 ` Alexander Kotelnikov
@ 2006-05-16 13:43 ` Simon Josefsson
0 siblings, 0 replies; 8+ messages in thread
From: Simon Josefsson @ 2006-05-16 13:43 UTC (permalink / raw)
Alexander Kotelnikov <sacha@myxomop.com> writes:
>>>>>> On Tue, 16 May 2006 13:05:52 +0200
>>>>>> "SJ" == Simon Josefsson <jas@extundo.com> wrote:
> SJ>
> SJ>
> SJ> Maybe imap-server-eol has to be "\n" too? Otherwise, I think imap.el
> SJ> will wait for the continuation line terminated with a \r\n, but that
> SJ> won't happen.
> SJ>
> SJ> If that doesn't work either, you'll have to debug imap.el to find out
> SJ> what it is looking for, and comparing that with what's in the "
> SJ> *nnimap* foo" buffer.
>
> Can you give me some hints how do I start, assuming that I have some
> emacs/elisp knowledge, but being entered to elisp debugger I mostly
> was inclined to exit it... And I am not familiar with imap.el
See the Gnus manual on troubleshooting, and especially on using
edebug. You'll probably want to instrument imap-arrival-filter and
chaise it, or possibly imap-wait-for-tag. Be prepared to single step
a lot until you find the proper function, and don't forget to look at
the " *nnimap* foo" buffer to see what the parser should be parsing.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-05-16 13:43 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-15 9:22 upgrade from Debian's 5.10.6-0.CVS.20050317-1 to 5.11+v0.4.dfsg-1 breaks outbox on imap Alexander Kotelnikov
2006-05-15 11:46 ` Simon Josefsson
2006-05-15 12:40 ` Alexander Kotelnikov
2006-05-15 14:25 ` Simon Josefsson
2006-05-16 10:37 ` Alexander Kotelnikov
2006-05-16 11:05 ` Simon Josefsson
2006-05-16 11:48 ` Alexander Kotelnikov
2006-05-16 13:43 ` Simon Josefsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).