Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


please help me out in dis....exchange server scripting

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,28354
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> please help me out in dis....exchange server scripting
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 please help me out in dis....exchange server scripting - 11/27/2005 7:46:03 PM   
  zulqarnain

 

Posts: 6
Score: 0
Joined: 11/27/2005
Status: offline
i can explain u wid da help of an example.......in an exchange server we have different users suppose we have 3 users one user has 50 MB email box size limit da other has 30 MB n da 3rd one has 10 MB..........suppose da 50MB user inbox size reached to 40MB n an email has arrived wid da size of 15 MB da size exceeds da prescibed limit which is 50 MB in my exchange if da size exceeds the email pops back or disappeared and the recipents dosent know that an email has arrived to him or not........i hv to write a script to automize da process in da exchange server dat wenever an email arrives wid da greater size exceeds da inbox limit will archive into some other folder and an administrator has indication dat an email has arrived to da particular user wid da maxm size exceeds..........


please help me out!!!!!!!!
 
 
Post #: 1
 
 RE: please help me out in dis....exchange server scripting - 11/27/2005 7:47:42 PM   
  TNO


Posts: 1074
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
......I am utterly confused by your post........

_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to zulqarnain)
 
 
Post #: 2
 
 RE: please help me out in dis....exchange server scripting - 11/27/2005 7:56:51 PM   
  zulqarnain

 

Posts: 6
Score: 0
Joined: 11/27/2005
Status: offline
well da matter is......if a user mail box size has limits of 50 MB in exchange server and the current size of email reached to 40 MB and then a 15 MB mail comes in......then cause of the size limit the email pops back.......i need a script which when a mail recieved to the user exceeds the size limit runs and that email archive in to the other folder and the user has indication that u received an email which limits ur email box so kindl delelte such items to see that email.........instead of poping back the email the email have to archive into the new folder on the server..........its would be a generalized porcess for all the users.......

(in reply to TNO)
 
 
Post #: 3
 
 RE: please help me out in dis....exchange server scripting - 11/27/2005 8:11:45 PM   
  zulqarnain

 

Posts: 6
Score: 0
Joined: 11/27/2005
Status: offline
so u got it what am trying to say ?...........

(in reply to TNO)
 
 
Post #: 4
 
 RE: please help me out in dis....exchange server scripting - 11/27/2005 8:46:46 PM   
  zulqarnain

 

Posts: 6
Score: 0
Joined: 11/27/2005
Status: offline
i really need it urgently........please help me out in this regard....

(in reply to zulqarnain)
 
 
Post #: 5
 
 RE: please help me out in dis....exchange server scripting - 11/29/2005 7:23:20 AM   
  didorno

 

Posts: 361
Score: 0
Joined: 2/12/2005
From:
Status: offline
zulqarnain, I understand your question.
In http://www.microsoft.com/technet/archive/mail/chapter5.mspx
there is maybe some help for you.
Somewhere on that page you can find info about  :
quote:


SENDMAIL.EXE
SENDMAIL is a command-line Win32 utility to send mail messages, with optional file attachments, through a MAPI based e-mail system from a Windows NT or Windows 95 command prompt.
It is often the case that Windows NT computers, especially NT Servers, running unattended could better communicate their status or event information via proactive means rather than constantly being polled by remote performance monitors or operations staff using NT administration tools. SENDMAIL.EXE allows just such a thing and was primarily developed to allow performance monitor alerts, tape backup job status, and disk quota information (using DIRUSE) to be reported to an operations group using standard Microsoft PC-Mail messages.
To install, copy SENDMAIL.EXE to your current working directory or somewhere in the system path. MAPI32.DLL and appropriate messaging support should already be installed from the operating system installation. If you setup MS-MAIL (registry entries) and can use the standard MSMAIL32.EXE mail client program to send and receive e-mail, you should be able to use SENDMAIL.EXE
Usage:
From the command line type:
SENDMAIL -u username -p password -r recipient(s) [-c copy recipient(s)]
[-s subject] [-m message] [-f file attachment(s)] [-v] [-?]
Example:
Use the Windows NT resource kit (SRVANY.EXE) utility to setup Performance Monitor to run as a service. Add an alert that triggers when the disk drive is more than 90 percent full. In the alert send window, specify the sendmail utility with the following command line in the Run Program on Alert text box:
SENDMAIL -u RISNT01 -p srvrpass -r tech1;tech2;tech3 -c "Lan Support" -s "[411] Server Alert" -m "Disk is 90% full" -f c:\temp\diruse.log;c:\temp\status.log
In this example, a message from user RISNT01 will be sent to Technicians 1, 2 and 3 with a copy to LAN Support. The subject is "[411] Server Alert" with a message "Disk is 90% full." Attached to the end of the message will be the two log files.


Good luck !

_____________________________

Regular Expression ? I (L+o{1,}v{1,3}e\s)+[iI]t!$

(in reply to zulqarnain)
 
 
Post #: 6
 
 RE: please help me out in dis....exchange server scripting - 11/30/2005 3:49:29 PM   
  zulqarnain

 

Posts: 6
Score: 0
Joined: 11/27/2005
Status: offline
thanks alot didorno......really thanks alot for ur reply......

but really didnt understand that.......please elaborate it that what i really have to do.............i cant do this on lives system of my company...so i made a new test envoirment.....i installed server 2003 den create active directory n den exchange server 2003....n when i read da details dat u sent really didnt understand dat.........please elaborate.......da commands written down in senmail.exe.......i coudnt find da sendmail.exe.....really am confused....i know its a bit irritaing..bt please help me!!!!!!!!!!.

(in reply to zulqarnain)
 
 
Post #: 7
 
 RE: please help me out in dis....exchange server scripting - 12/2/2005 2:24:59 AM   
  mbouchard


Posts: 1903
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
Please tell me that English is not your first language and you learned English via text messaging or IM.  If so, let us know this, many people will disregard poor English and spelling if it is known that English is a second language.  If this is not the case, I would personally request that better English be use.  I am not even requesting that people use good/proper English, especially seeing that I personally need to learn gooder English.

_____________________________

Mike

For useful Scripting links see the Read Me First stickey!

Always remember Search is your friend.

(in reply to zulqarnain)
 
 
Post #: 8
 
 RE: please help me out in dis....exchange server scripting - 12/2/2005 2:42:55 AM   
  ginolard


Posts: 1043
Score: 21
Joined: 8/10/2005
Status: offline
Me fail English?  That's unpossible!

(in reply to mbouchard)
 
 
Post #: 9
 
 RE: please help me out in dis....exchange server scripting - 12/2/2005 3:10:30 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
Ok Bart.

...It's a perfectly cromullent word.

(in reply to ginolard)
 
 
Post #: 10
 
 RE: please help me out in dis....exchange server scripting - 12/2/2005 3:17:15 AM   
  mbouchard


Posts: 1903
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
That is Ralphy to you.

_____________________________

Mike

For useful Scripting links see the Read Me First stickey!

Always remember Search is your friend.

(in reply to ebgreen)
 
 
Post #: 11
 
 RE: please help me out in dis....exchange server scripting - 12/2/2005 3:23:23 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
Oops, you're right. What a faux pas.

(in reply to mbouchard)
 
 
Post #: 12
 
 RE: please help me out in dis....exchange server scripting - 12/2/2005 5:56:43 AM   
  didorno

 

Posts: 361
Score: 0
Joined: 2/12/2005
From:
Status: offline
zulqarnain, my understanding of sendmail.exe is that the right trigger will generate an e-mail.
The example shows a "Disk is 90% full" criterium as trigger. If you change this in your criterium
for left room and e-mail size, then you have your e-mail send.
So why didn't you get sendmail.exe, install it and do some experiments with it ?

Bye, bye.

mbouchard, and what if your third language is English ?

_____________________________

Regular Expression ? I (L+o{1,}v{1,3}e\s)+[iI]t!$

(in reply to ebgreen)
 
 
Post #: 13
 
 RE: please help me out in dis....exchange server scripting - 12/2/2005 6:12:45 AM   
  Snipah


Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
quote:

ORIGINAL: didorno
mbouchard, and what if your third language is English ?



Follow the below image: LOL



_____________________________

For more information, please see the "Read me First" topic.

http://www.visualbasicscript.com

(in reply to didorno)
 
 
Post #: 14
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> please help me out in dis....exchange server scripting Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts