Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SMTP and IIS 7.5 on server 2008

Posted on 2011-09-21
8
Medium Priority
?
928 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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

636 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