Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Sun, 20 Jan 2008 02:30:01 -0800,    group: microsoft.public.exchange.development        back       


WebDav get over quota messages   
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 02:30:01 -0800   author:   SnowCrash

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

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us