?
Solved

SMTP and IIS 7.5 on server 2008

Posted on 2011-09-21
8
Medium Priority
?
916 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 25

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 25

Accepted Solution

by:
DBAduck - Ben Miller earned 2000 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 25

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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
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…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
Suggested Courses

777 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