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: Sat, 9 Jul 2005 10:33:01 -0700,    group: microsoft.public.exchange2000.development        back       


Determining email size limits of Exchange Server?   
Currently I've been told that our Exchange Server has been configured to 
allow emails sent out of our network domain to be 5MB in size and 10MB if 
they are within the network.

Is there any way I can retrieve these settings via WebDAV?

Thank you.
date: Sat, 9 Jul 2005 10:33:01 -0700   author:   Frank

Re: Determining email size limits of Exchange Server?   
These setting could be set in multiple places (it sounds like you may have a 
combination) eg they could be set globally under message-delivery in Global 
Setting in ESM. They could also be configured per user via AD users and 
computers or restrictions could be implemented at the SMTP virtual server 
level and the connector level have a look at 
http://www.msexchange.org/tutorials/Set-Size-Limits-Messages.html for more 
detail. This configuration information is all stored in Active Directory so 
using LDAP is the most appropriate method of accessing the information.

Cheers
Glen

"Frank"  wrote in message 
news:954FF151-F9BF-4C99-AA75-A5D04CB36B7E@microsoft.com...
> Currently I've been told that our Exchange Server has been configured to
> allow emails sent out of our network domain to be 5MB in size and 10MB if
> they are within the network.
>
> Is there any way I can retrieve these settings via WebDAV?
>
> Thank you.
date: Tue, 12 Jul 2005 10:36:05 +1000   author:   Glen Scales [MVP]

Re: Determining email size limits of Exchange Server?   
Thank you Glen.  I believe the limitations are implemented at the server 
level for all users.  My application is not running on the Exchange Server 
and am going to be using WebDAV to retrieve emails, etc... from Exchange.  
I've never used LDAP or ADSI.  Do you have any examples (or links) that show 
how to connect to Exchange to obtain this information?  From what I found it 
looks like I must use ADO (OLEDB) and a connection string, but am not clear 
on what to do.

Thanks again,

Frank

"Glen Scales [MVP]" wrote:

> These setting could be set in multiple places (it sounds like you may have a 
> combination) eg they could be set globally under message-delivery in Global 
> Setting in ESM. They could also be configured per user via AD users and 
> computers or restrictions could be implemented at the SMTP virtual server 
> level and the connector level have a look at 
> http://www.msexchange.org/tutorials/Set-Size-Limits-Messages.html for more 
> detail. This configuration information is all stored in Active Directory so 
> using LDAP is the most appropriate method of accessing the information.
> 
> Cheers
> Glen
> 
> "Frank"  wrote in message 
> news:954FF151-F9BF-4C99-AA75-A5D04CB36B7E@microsoft.com...
> > Currently I've been told that our Exchange Server has been configured to
> > allow emails sent out of our network domain to be 5MB in size and 10MB if
> > they are within the network.
> >
> > Is there any way I can retrieve these settings via WebDAV?
> >
> > Thank you. 
> 
> 
>
date: Mon, 11 Jul 2005 18:23:01 -0700   author:   Frank

Re: Determining email size limits of Exchange Server?   
MSDN and the Exchange SDK are the best place to look for ADSI samples that 
realate to Exchange eg 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_mgmt_management_tasks_using_adsi.asp . 
If you want to show what the global message limits are something like this 
should work

set conn = createobject("ADODB.Connection")
set com = createobject("ADODB.Command")
Set iAdRootDSE = GetObject("LDAP://RootDSE")
strNameingContext = iAdRootDSE.Get("configurationNamingContext")
Conn.Provider = "ADsDSOObject"
Conn.Open "ADs Provider"
mbQuery = "<LDAP://" & strNameingContext & 
">;(objectCategory=msExchMessageDeliveryConfig);name,distinguishedName;subtree"
Com.ActiveConnection = Conn
Com.CommandText = mbQuery
Set Rs = Com.Execute
Wscript.echo "Global Settings - Message Delivery Properties"
Wscript.echo
While Not Rs.EOF
 strconfcont = "LDAP://" & rs.fields("distinguishedName")
 set ccConfig = getobject(strconfcont)
 wscript.echo "Sending Message Size Limit: " & ccConfig.delivContLength
 wscript.echo "Recieving Message Size Limit: " & 
ccConfig.submissionContLength
 wscript.echo "Recipient Limits: " & ccConfig.msExchRecipLimit
 rs.movenext
wend

Cheers
Glen

"Frank"  wrote in message 
news:7E8A7FCE-4B05-43DF-A229-9AEC8D3428D8@microsoft.com...
> Thank you Glen.  I believe the limitations are implemented at the server
> level for all users.  My application is not running on the Exchange Server
> and am going to be using WebDAV to retrieve emails, etc... from Exchange.
> I've never used LDAP or ADSI.  Do you have any examples (or links) that 
> show
> how to connect to Exchange to obtain this information?  From what I found 
> it
> looks like I must use ADO (OLEDB) and a connection string, but am not 
> clear
> on what to do.
>
> Thanks again,
>
> Frank
>
> "Glen Scales [MVP]" wrote:
>
>> These setting could be set in multiple places (it sounds like you may 
>> have a
>> combination) eg they could be set globally under message-delivery in 
>> Global
>> Setting in ESM. They could also be configured per user via AD users and
>> computers or restrictions could be implemented at the SMTP virtual server
>> level and the connector level have a look at
>> http://www.msexchange.org/tutorials/Set-Size-Limits-Messages.html for 
>> more
>> detail. This configuration information is all stored in Active Directory 
>> so
>> using LDAP is the most appropriate method of accessing the information.
>>
>> Cheers
>> Glen
>>
>> "Frank"  wrote in message
>> news:954FF151-F9BF-4C99-AA75-A5D04CB36B7E@microsoft.com...
>> > Currently I've been told that our Exchange Server has been configured 
>> > to
>> > allow emails sent out of our network domain to be 5MB in size and 10MB 
>> > if
>> > they are within the network.
>> >
>> > Is there any way I can retrieve these settings via WebDAV?
>> >
>> > Thank you.
>>
>>
>>
date: Tue, 12 Jul 2005 12:05:52 +1000   author:   Glen Scales [MVP]

Re: Determining email size limits of Exchange Server?   
Thank you very much Glen.  I will give it a try.

Best Regards,

Frank

"Glen Scales [MVP]" wrote:

> MSDN and the Exchange SDK are the best place to look for ADSI samples that 
> realate to Exchange eg 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_mgmt_management_tasks_using_adsi.asp . 
> If you want to show what the global message limits are something like this 
> should work
> 
> set conn = createobject("ADODB.Connection")
> set com = createobject("ADODB.Command")
> Set iAdRootDSE = GetObject("LDAP://RootDSE")
> strNameingContext = iAdRootDSE.Get("configurationNamingContext")
> Conn.Provider = "ADsDSOObject"
> Conn.Open "ADs Provider"
> mbQuery = "<LDAP://" & strNameingContext & 
> ">;(objectCategory=msExchMessageDeliveryConfig);name,distinguishedName;subtree"
> Com.ActiveConnection = Conn
> Com.CommandText = mbQuery
> Set Rs = Com.Execute
> Wscript.echo "Global Settings - Message Delivery Properties"
> Wscript.echo
> While Not Rs.EOF
>  strconfcont = "LDAP://" & rs.fields("distinguishedName")
>  set ccConfig = getobject(strconfcont)
>  wscript.echo "Sending Message Size Limit: " & ccConfig.delivContLength
>  wscript.echo "Recieving Message Size Limit: " & 
> ccConfig.submissionContLength
>  wscript.echo "Recipient Limits: " & ccConfig.msExchRecipLimit
>  rs.movenext
> wend
> 
> Cheers
> Glen
> 
> "Frank"  wrote in message 
> news:7E8A7FCE-4B05-43DF-A229-9AEC8D3428D8@microsoft.com...
> > Thank you Glen.  I believe the limitations are implemented at the server
> > level for all users.  My application is not running on the Exchange Server
> > and am going to be using WebDAV to retrieve emails, etc... from Exchange.
> > I've never used LDAP or ADSI.  Do you have any examples (or links) that 
> > show
> > how to connect to Exchange to obtain this information?  From what I found 
> > it
> > looks like I must use ADO (OLEDB) and a connection string, but am not 
> > clear
> > on what to do.
> >
> > Thanks again,
> >
> > Frank
> >
> > "Glen Scales [MVP]" wrote:
> >
> >> These setting could be set in multiple places (it sounds like you may 
> >> have a
> >> combination) eg they could be set globally under message-delivery in 
> >> Global
> >> Setting in ESM. They could also be configured per user via AD users and
> >> computers or restrictions could be implemented at the SMTP virtual server
> >> level and the connector level have a look at
> >> http://www.msexchange.org/tutorials/Set-Size-Limits-Messages.html for 
> >> more
> >> detail. This configuration information is all stored in Active Directory 
> >> so
> >> using LDAP is the most appropriate method of accessing the information.
> >>
> >> Cheers
> >> Glen
> >>
> >> "Frank"  wrote in message
> >> news:954FF151-F9BF-4C99-AA75-A5D04CB36B7E@microsoft.com...
> >> > Currently I've been told that our Exchange Server has been configured 
> >> > to
> >> > allow emails sent out of our network domain to be 5MB in size and 10MB 
> >> > if
> >> > they are within the network.
> >> >
> >> > Is there any way I can retrieve these settings via WebDAV?
> >> >
> >> > Thank you.
> >>
> >>
> >> 
> 
> 
>
date: Wed, 13 Jul 2005 13:15:01 -0700   author:   Frank

Google
 
Web ureader.com


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