Mail relay - must restart SMTP server daily

Posted on 2006-04-12
Medium Priority
Last Modified: 2012-01-12
Hello -

My situation is this:  I have my primary company network, and a server named DMZ-02.  I have an application on DMZ-02 that uses outgoing e-mail, but our firewall is set up not to allow the DMZ to access our main network (only the other way around.)  So, we have the SMTP server for this application DMZ-02 set to an off-site server, named NEPTUNE-02.  This server is set to allow DMZ-02 to use NEPTUNE-02 as a relay (added the address through IIS).  Now, this does work, but it is sporadic and I need to restart the SMTP service about once a day on NEPTUNE-02.  I am guessing it is a local problem on NEPTUNE-02 but am not sure.  Any help would be appreciated.

500 points
Question by:vectorform
LVL 37

Expert Comment

ID: 16444136

what happens that you have to restart the service on neptune?


Author Comment

ID: 16446014
I just notice that e-mail stops coming through.  When I restart the service, it takes about 30 seconds to restart, and then the queued e-mail comes through.
LVL 20

Accepted Solution

Michel Sakr earned 2000 total points
ID: 16446403
The service is hanging for some reason there.. SMTP under IIS is not reliable on big flows either schedule a batch file with commands in it to stop and start the mentionned service daily.. or try to optimise the messages flow.. not to burst into the server
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Author Comment

ID: 16446815
Thanks, I will accept this solution if it works out ok.  Could you help me in creating this batch file...I am not familiar with creating a timed operation to restart a service.  I would like to do it once every 12 hours.

Author Comment

ID: 16448480
I am going to create a scheduled task to run a batch file that stops and starts the service.  If you think this is a bad idea or have a better solution please let me know.  Thanks!

Expert Comment

by:JAaron Anderson
ID: 37423892
Im needing that smtp restart batch file that stops and starts the service.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month13 days, 18 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question