Mail relay - must restart SMTP server daily

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
LVL 2
vectorformAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

meverestCommented:
hello,

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

cheers.
0
vectorformAuthor Commented:
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.
0
Michel SakrCommented:
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
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

vectorformAuthor Commented:
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.
0
vectorformAuthor Commented:
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!
0
JAaron AndersonProgramming Architect @ Widener UniversityCommented:
Im needing that smtp restart batch file that stops and starts the service.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.