Handling emails on a web server - Making sure the FQDN is set correctly based on the website sending the email
Posted
by
webnoob
on Server Fault
See other posts from Server Fault
or by webnoob
Published on 2012-09-17T10:17:31Z
Indexed on
2012/09/17
15:40 UTC
Read the original article
Hit count: 228
I have a Windows 2008 Web Edition server hosting multiple websites using IIS 7.5. At the moment, all the emails are sent via the IIS6 SMTP service. The FQDN of the SMTP service is set to the computer name at the moment which isn't correct as it doesn't resolve to a valid DNS entry and is not RFC compliant.
Some questions:
- Is there any way I can change the FQDN of the SMTP service based on the site sending the email?
- Would it be Ok to just setup
mailserver.mydomain.com
and use that as the FQDN for all the sites on multiple domains. - Should I be using some other mail server software to handle this better?
The reason I am asking is lots of emails are hitting spam folders because the settings are incorrect.
I have access to the code that is running the websites so if something needs to be done there then that shouldn't be a problem. The sites are written using ASP.NET 2.0.
EDIT: I have just found an option to create an SMTP virtual service. Would this be the way forward? Create a virtual server for each site?
Thanks.
© Server Fault or respective owner