Do I need to setup an SMTP MTA for a contact us form ?
I'm about to setup a Linode running a Centos server with a rails apps. The rails app has a contact us form. That justs send enquirys to the site owner. No other email functionality is needed
The site owner just uses his gmail email account, so no email is currently configured for the domain hosting rails app.
My question is, do I have to setup postfix on server hosting the rails app so it can send emails to the site owner or is there some other way ?
If I have to do it, am I correct in assuming I'll have to setup MX records, Sender frameworks SSL certs,etc
Many Thanks
Andy
5 Replies
On Debian-like OSes, you'd do "apt-get install default-mta" (or "apt-get install mailutils" to add some useful command line tools) and it would do the right thing. CentOS is somewhat more mysterious.
@hoopycat:
You will need an MTA, but it doesn't need to handle incoming mail, so the default configuration of most MTAs should work just fine. No need to touch MX records or deal with SSL certificates.
On Debian-like OSes, you'd do "apt-get install default-mta" (or "apt-get install mailutils" to add some useful command line tools) and it would do the right thing. CentOS is somewhat more mysterious.
Thanks for the reply but I'm confused, how will my emails be accepted by other mail servers if my server doesn't have a valid MX record, reverse lookup entry ? Whats to stop spammers from just setting up 100's of VPSs and spamming away ? Are Linodes IP ranges accepted by other orgs as safe ?
Many Thanks
Andy
If you absolutely must get mail through, expect to pay someone like postmarkapp.com, amazonses.com, or even mailchimp.com to deliver messages for you. But, if it's just mail going to one mailbox and that mailbox is on Gmail, it doesn't take too long to train their spam filter.
Regards
Andy