Linux server-generated email from web forms discarded as spam (sendmail,php)
Posted on 2008-10-15
I am using Typo3 CMS to generate simple web mail forms. I am using a dedicated server at GoDaddy running Fedora. Many of the server-generated emails are being discarded to spam when sent to hotmail, yahoo, etc. These are essential for my clients to get as they are interested buyers filling out a simple web form. When sent to a hosted Exchange server it's even being culled to the point it doesn't even show up in the spam box... like it was never even sent.
So let's list these questions in order so they can be addressed separately. As you can see I have looked into many different possibilities, but am so confused now that I just need clarification on which direction to go. I would prefer sending direction from the server instead of doing an external SMTP server but I guess whatever it takes is what I will do.
1. Is it possible to send legitimate server generated email from web forms that reliably do not get sent to spam?
2. Can I use the email of the person filling out the form in the "from" and "reply-to" fields of the server generated email without it going to spam?
3. I believe sendmail is what is being used to send mail. In php.ini, "sendmail_path = /usr/sbin/sendmail -t -i". When I do "ps aux | grep sendmail", sendmail appears to be running. When I do "/sbin/service sendmail status" I get "sendmail is stopped, sm-client is stopped". How can I tell for certain that I'm using sendmail?
4. I have looked extensively on this forum as well as the web and am purely confused now. I have configured sendmail.cf before to use an external SMTP server that didn't require authentication. Is it possible to use an external SMTP server that requires authentication using sendmail and will this potentially reduce my possibility of getting sent emails going to spam or will correctly sent server-generated emails be just as valid?
5. Does the hostname of my server matter to the spam ranking of server-generated email. Currently if I do not specify a from address it gets sent as email@example.com.