Symptoms
Customer installed some web application on their IIS website on POA-managed Windows shared hosting server. Sending emails through customer's IIS web site does not work.
Cause
On Windows shared hosting IIS SMTP feature is used for sending outgoing email messages. Most likely the problem arises because POA LocalSMTP package is not installed on IIS servers or is configured improperly.
Resolution
First, verify that the POA package LocalSMTP is installed on IIS shared hosting server where problem customer's website is located and check that it is running.
- Log into In POA Provider Control Panel
- Go to Deployment Director > Server Manager > Hardware Nodes
- Click on the needed server in the list
- Open the
Applications
tab - Verify that the
LocalSMTP
application is present in the list and it is inActive
state - Click on the
LocalSMTP
application - Open the
Configuration
tab Verify that the correct relay host is configured
If
LocalSMTP
is absent in the list of applications installed on IIS server - install it via thePackages
tab. If everything is correct in POA Control Panel, then check SMTP configuration on IIS server:- Log into the IIS server is question using RDP
- Open IIS Manager and verify that SMTP server is started.
- Right-click the SMTP server and select
Properties
. - Open the
Delivery
tab. - Click
Advanced
. Verify that
Smart host
configured there matches the one configured in POA. Click OK.If the steps above do not help to resolve the issue, in
General
tab of SMTP server properties on IIS server checkEnable logging
and clickOK
.Next time after an email is sent by the customer's web site application, you will be able to review the SMTP session log (by default the logs are stored in the C:\Windows\System32\LogFiles\SmtpSvc1 folder). In most cases the reason of the issue will be clear from log.
One of the common reasons for delivery failures is that server configured as smart host does not allow to relay mail for IIS server. Configuring your email server to allow to relay mail for shared IIS server depends on the type of mailer you have on your relay host. For qmail, you should add IP of the IIS server to the /usr/local/qmail/shared/control/whitelist file, for Exchange you should modify the receive connector configuration on the Hub Transport server you use as smart host. Please consult documentation for the mailing system you use on your relay host for details.
Do not forget to disable SMTP logging in IIS after troubleshooting is complete.