User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Shell Scripting section within the Software Development category of DaniWeb, a massive community of 391,769 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,185 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Shell Scripting advertiser:
Views: 2181 | Replies: 0
Reply
Join Date: Mar 2005
Posts: 1
Reputation: in8 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
in8 in8 is offline Offline
Newbie Poster

Help incorporating exchange access to a cron script

  #1  
Mar 30th, 2005
I have a client that chooses to run exchange. I have a fedora core box that is also on the network. On the box is a cron script that checks for a website and/or file server being up and then emails out a warning to whoever. (script was written by a co-worker)

It currently uses "sendmail" to send mail out for the purpose of warning whoever. What I want to do is see if it is possible to send and/or receive an email from within a script that goes through the exchange server (pop access is enabled for internal use) for the specific purpose of checking that the exchange server is sending/receiving email correctly.

There have been a few issues where the exchange goes down or something in the dns record was goofed and the error was not recognized until business hours had begun. Obviously I would use the sendmail to relay a warning if the exchange server was down. And if the entire connection died I would have much larger problems.

Can you send and check mail on an pop mail/exchange server from within a script?
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Shell Scripting Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Shell Scripting Forum

All times are GMT -4. The time now is 4:32 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC