| Linode Forum https://forum.linode.com/ |
|
| Can't email my own domain using php mail() https://forum.linode.com/viewtopic.php?f=11&t=5803 |
Page 1 of 1 |
| Author: | wilhelmus7 [ Sun Jul 11, 2010 10:30 pm ] |
| Post subject: | Can't email my own domain using php mail() |
I've got a form that uses PHP's mail() function to send emails. The function works fine as I can send emails to various domains, providing it's not the domain of the website itself. I did the default install of postfix (I'm a n00b and all about hitting "Next" on installs), then I went through these steps to install msmtprc. It's still sending to other domains fine, but still not to my domain. I'm using Google Apps, in case that matters. And sending to the address in question works fine if I send it from normal mail client. Any help much appreciated, Martin |
|
| Author: | obs [ Mon Jul 12, 2010 2:16 pm ] |
| Post subject: | |
Make your your domain isn't in the "mydestination" option in /etc/postfix/main.cf |
|
| Author: | wilhelmus7 [ Tue Jul 13, 2010 6:12 pm ] |
| Post subject: | |
Thanks obs, that worked. Martin |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|