From: Simon Josefsson <jas@extundo.com>
Subject: Re: nnimap does not create non-existent groups on expiry (lost mail)
Date: Wed, 08 Jan 2003 03:55:01 +0100 [thread overview]
Message-ID: <ilu4r8k73lm.fsf@latte.josefsson.org> (raw)
In-Reply-To: <m3n0mdmz4w.fsf@fermat.mts.jhu.edu> (Nevin Kapur's message of "Mon, 06 Jan 2003 22:12:31 -0500")
Nevin Kapur <nevin@jhu.edu> writes:
> Simon Josefsson <jas@extundo.com> writes:
>
>> In theory it is the right thing, but various IMAP server bugs make the
>> TRYCREATE stuff unreliable, so with your patch I believe nnimap would
>> have sent a CREATE command for every expired article (which would have
>> failed in the normal case). Does the following work instead? It also
>> has the feature that no articles are expired if the group could not be
>> created.
>
> I applied your patch, but I don't think it does the right thing.
> Isn't it trying to create the (already existing) group from where the
> function is being called rather than the target given by
> nnmail-expiry-target?
Oops! Right.
> I took a stab at modifying the patch but ran into some difficulties.
> I'm not sure if one should check for the existence of the target group
> in the function nnimap-expiry-target when it is possible that
> nnmail-expiry-target returns a non-nnimap group.
>
> Is it better to move the check inside nnimap-request-accept-article?
I think it is more appropriate in nnmail-expiry-target-group. What do
the nnmail experts say? Perhaps we can document this so it isn't a
problem in the future:
Is nnfoo-request-accept-article supposed to create the group if it
does not exists, or is that up to the caller?
The answer should go into the manual, I think.
next prev parent reply other threads:[~2003-01-08 2:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-05 6:24 Nevin Kapur
2003-01-06 18:36 ` Nevin Kapur
2003-01-06 23:07 ` Simon Josefsson
2003-01-07 3:12 ` Nevin Kapur
2003-01-08 2:55 ` Simon Josefsson [this message]
2003-01-08 4:17 ` Lars Magne Ingebrigtsen
2003-01-08 6:10 ` Simon Josefsson
2003-01-08 6:40 ` Lars Magne Ingebrigtsen
2003-01-08 8:52 ` Simon Josefsson
2003-01-08 11:06 ` Nevin Kapur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ilu4r8k73lm.fsf@latte.josefsson.org \
--to=jas@extundo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).