Emails Not Working....

I have been having a problem with (apparently) SMTP settings in Exchange Server 2003 (running as part of Small Business Server 2003) and have now managed to stop all emails in both directions.

When I send an email from a contact page on my website I get the following..

Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in

I don't know if this is relevant or not but I would guess it is..

I originally started this problem at

http://www.experts-exchange.com/Networking/Email_Groupware/Exchange_Server/Q_22049466.html

but I think that has reached a dead end and the problem has taken a different turn.

Any idea's as to what to start looking at?

dc
dercossAsked:
Who is Participating?
 
DarthModConnect With a Mentor Commented:
PAQd, 500 points refunded.

DarthMod
CS Moderator
0
 
dercossAuthor Commented:
I've just noticed that the CURRENT SESSIONS (under SMTP - DEFAULT SMTP VIRTUAL SERVER) is reporting "there are no items to show in this view" which can't be right..

dc
0
 
The_KirschiCommented:
How did you stop e-mail flow in both directions? If you really stopped it there are of course no current sessions in System Manager. Under current sessions you only see sessions between Exchange and other SMTP servers. These are not user sessions?

Where is your contact web site located? If its on the Exchange server and you stopped SMTP, then of course no session to the SMTP server will be possible. If its not the Exchange server then there is a problem with the SMTP service on that host because it says 'localhost'.

Actually I can't see any unpredictable behaviour here if you really stopped mail flow.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
dercossAuthor Commented:
I'm not really with you. I must have stopped mail flow somehow but I have no idea how I might have done this.

How do you start the mail flowing again?

dc
0
 
dercossAuthor Commented:
How do I reset things so as to be able to keep mailboxes, settings and emails but set everything back to the default state? If this is possible then I think it would be the  quickest way of getting things going again..

dc
0
 
The_KirschiCommented:
"...managed to stop all emails in both directions..."

This sounded to me as if it was intended by you. Sorry if I misunderstood.

Why do you want to set "everything back to default"? What do you understand by "everything"?

To get mail flowing you have to start the SMTP service in Windows.  And also in Exchange System Manager the Virtual SMTP server has to be started. But these should start automatically after reboot for example.
0
 
dercossAuthor Commented:
Don't worry. There is no start to my talents when it comes to Exchange Server...

Regarding my emails, it now seems that one or two are arriving but the bulk are not. Also any I send via webmail to myself don't tend to arrive.

I've checked the SMTP service and it is running (I've restarted the server just to check it starts then as well). Also the Virtual SMTP server is running.

By setting everything to default I mean is it possible to keep the data but remove Exchange Server settings and then reinstall/configure them again? I really need to get this problem sorted out..

dc
0
 
dercossAuthor Commented:
I seem to have solved the problem by deleting the existing SMTP connector and running the CEICW again. I think the DNS servers were originally part of the problem. According to my ISP they should have been changed to new ones (although that wouldn't explain why emails have been getting through ok). I think my fiddling around just made the problem worse..

I'll see how it goes over the next day..

Thanks for the help..

dc
0
 
dercossAuthor Commented:
It all seems to be working ok so far..

dc
0
 
The_KirschiCommented:
Fine.
0
All Courses

From novice to tech pro — start learning today.