Using Sendmail on development server
I’m in the process of moving a site from GoDaddy to a LAMP Ubuntu 14.0.4. on DigitalOcean. So far everything is working except for mail.
I installed Sendmail, but when I test the contact form on the site (which uses PHPMailer) it fails to reach the recipient. When I look in /var/spool/mail/root I see messages like this:
The original message was received at Sat, 16 Aug 2014 23:56:55 -0400 from localhost [127.0.0.1] ----- The following addresses had permanent fatal errors ----- <sales@the_website.com> (reason: 550 5.2.0 <www-data@store> From: Domain is invalid. Please provide a valid From: IB506 <http://x.co/srbounce>)
I’m leaving the email accounts for the website at GoDaddy, so I’m not sure what to try next. Can someone point me in the right direction?