|
|
|
date: Sun, 20 Jan 2008 02:30:01 -0800,
group: microsoft.public.exchange.development
back
Re: WebDav get over quota messages
Hi SnowCash,
I don't think there is really a way around the search.
What you could do is to create a search-folder in the NON_IPM_SUBTREE
portion of the mailbox. This is what ActiveSync does to get changes in the
mailbox.
Kind regards,
Henning Krause
"SnowCrash" wrote in message
news:FA602223-627F-4774-A8A3-9C512AEE631D@microsoft.com...
> Hello all,
>
> We are developing a application to assist in the management of mailboxes
> on
> Exchange (2000, 2003 & 2007). Specifically removing old messages and
> replacing with a "shortcut" as the user's mailbox approaches their quota
> limit. The idea being that the user is not bothered with excess quota
> messages issued by Exchange.
>
> The challenge is how to (quickly) retrieve the "oldest" messages. We can
> issue a SEARCH method via WebDav, sort by datereceived and limit the
> result
> set via the Range header, but we're still effectively searching the entire
> mailbox. This is too slow, and places too great a load on the server.
>
> Is there a clever way to locate the oldest messages in a user's mailbox?
> Actually what we really need is a collection of messages representing
> (approximately) the number of bytes the user is over quota, based on the
> oldest messages first.
>
> We are not currently leveraging Exchange Replication, and hence do not
> have
> an up-to-date record of messages in a mailbox (eg in another database we
> could query faster).
>
> We are also limited to WebDav access (ie no direct MAPI or CDO and no 2007
> web services)
>
> Any ideas as to how we could do this without burdening the server too
> much?
>
> Thanks.
date: Sun, 20 Jan 2008 13:24:34 +0100
author: Henning Krause [MVP - Exchange]
Re: WebDav get over quota messages
Thanks for that.
I'm a bit surprised ActiveSync doesn't use replication (?)
Do you know when/how frequently a search folder is updated? I'd assume it's
updated when it's accessed?
Thanks
"Henning Krause [MVP - Exchange]" wrote:
> Hi SnowCash,
>
> I don't think there is really a way around the search.
>
> What you could do is to create a search-folder in the NON_IPM_SUBTREE
> portion of the mailbox. This is what ActiveSync does to get changes in the
> mailbox.
>
> Kind regards,
> Henning Krause
>
> "SnowCrash" wrote in message
> news:FA602223-627F-4774-A8A3-9C512AEE631D@microsoft.com...
> > Hello all,
> >
> > We are developing a application to assist in the management of mailboxes
> > on
> > Exchange (2000, 2003 & 2007). Specifically removing old messages and
> > replacing with a "shortcut" as the user's mailbox approaches their quota
> > limit. The idea being that the user is not bothered with excess quota
> > messages issued by Exchange.
> >
> > The challenge is how to (quickly) retrieve the "oldest" messages. We can
> > issue a SEARCH method via WebDav, sort by datereceived and limit the
> > result
> > set via the Range header, but we're still effectively searching the entire
> > mailbox. This is too slow, and places too great a load on the server.
> >
> > Is there a clever way to locate the oldest messages in a user's mailbox?
> > Actually what we really need is a collection of messages representing
> > (approximately) the number of bytes the user is over quota, based on the
> > oldest messages first.
> >
> > We are not currently leveraging Exchange Replication, and hence do not
> > have
> > an up-to-date record of messages in a mailbox (eg in another database we
> > could query faster).
> >
> > We are also limited to WebDav access (ie no direct MAPI or CDO and no 2007
> > web services)
> >
> > Any ideas as to how we could do this without burdening the server too
> > much?
> >
> > Thanks.
>
>
date: Sun, 20 Jan 2008 05:57:01 -0800
author: SnowCrash
|
|