Solved

SMTP and IIS 7.5 on server 2008

Posted on 2011-09-21
8
869 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
 

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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

708 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