Solved

SMTP and IIS 7.5 on server 2008

Posted on 2011-09-21
8
888 Views
Last Modified: 2012-05-12
I just moved a site from an old 2003 server with IIS6 to a server 2008 with IIS 7.5 now none of my contact forms work. I get an Internal Error 500 whenever I click the submit button. I Installed SMTP on the server but that's about as far as I gotten with no real solution. The site uses some asp pages to do the mail send. I just need these emails to get out of my server and sent to the p[roper inbox. This is very hot as it is costing us tons in ad words
0
Comment
Question by:padillrr
  • 5
  • 3
8 Comments
 
LVL 24

Expert Comment

by:DBAduck - Ben Miller
ID: 36577855
You have to make sure that the app pool account has read write to the directory c:\inetpub\mailroot\Pickup.
0
 

Author Comment

by:padillrr
ID: 36577941
Sorry not really sure how to add an app pool to the security of a directory is it down at the folder level or at the IIS level?
0
 
LVL 24

Accepted Solution

by:
DBAduck - Ben Miller earned 500 total points
ID: 36577992
Well, inside IIS you have a website, and if you click on Basic Settings of the website it will tell you which App Pool it is using.
Then go into Application Pools and find that app pool and it will show you which Identity it is using.

If it is using Application Pool Identity, then you can go here and see how to get it to be added to the security of the directory.
If it is using a User Account, or Network Service, etc. then you can open Explorer and navigate to the \inetpub\mailroot and right click on the Pickup directory and choose Properties, then Security and add that user to the permissions and give it modify permissions to the Pickup Folder.

You can read about it here: http://serverfault.com/questions/81165/how-to-assign-permissions-to-applicationpoolidentity-account

Example Command: (substitute your app pool name)
icacls c:\inetpub\mailroot\Pickup /grant "IIS APPPOOL\DefaultAppPool":(OI)(CI)(RX)(M)
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:padillrr
ID: 36578069
OK I followed all the instructions per ur posting, The error is no longer appearing when I go to our contact form and press submit but there are no emails being delivered to the inbox. I sent a test message from the contact us form and nothing showed up.....
0
 

Author Comment

by:padillrr
ID: 36578071
From my point of view you've earned the points, cause the error is gone but I still need to get those emails.
0
 
LVL 24

Expert Comment

by:DBAduck - Ben Miller
ID: 36578110
Is anything in the queue folder of c:\inetpub\mailroot?  Is anything still in the pickup folder?

Is the SMTP service started and have you set the properties in the site for SMTP?  If you do into the Site in IIS manager and look at the features.  You should see SMTP and you should double click and set the properties of that service.

Then try again.
0
 

Author Closing Comment

by:padillrr
ID: 36578124
Great Job Thanks!
0
 

Author Comment

by:padillrr
ID: 36578127
I had an external IP instead of our internal IP once I changed that the mail flowed.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now