Greetings All, On our site we have forms users can submit to request product information. We were previously on a shared hosting plan and everything was working fine. We recently switched to a Virtual dedicated server, and since then have not been able to receive the emails from the forms. The server is CentOS and SMTP is enabled. From my PHP.ini file:
; For Win32 only. ;sendmail_from = firstname.lastname@example.org
; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path = "/usr/sbin/sendmail -t -i"
I am assuming these are correct values and that I would not have to bother with the "Win32 only" values. I have checked the maillog files and they are empty. Could someone please point me in a direction to start troubleshooting this issue?
Thanks for the reply. Some updates: it seems that PHP mail is actually sending OK, as I can receive email through either gmail or yahoo accounts. However. I cannot receive email through our example.com addresses. Our site is currently being hosted separately from our domain registrar(who also handles our mail/MX records). It seems that our web server example.com will NOT send email to our actual example.com email addresses, but rather the mail is kept internal to the web host. Where do I look to try to send the example.com email addresses to mailboxes that are outside of the web server? I hope this makes sense. I am a bit confused at this point.
Can you offer any details? Exemplify any particulars, of course. I'm curious what you had to modify? I'm guessing it was a mail configuration but I would like to know what it was ... as may future readers.
No problem Coopster. I hate when I find posts where someone says they solved it but offer no resolution. In my case i needed to run the following command:
./domain --update domain.com -mail_service false
This shut down the internal mail server and let our actual delivery method be used. This was with a 1and1 cloud hosting package with plesk 10.2. Logged in via ssh using PUTTY to execute the command.. :)