albevier
asked on
wordpress uses what kind of mail solution
I am a server admin, not a Wordpress guy. I have a LAMP server up and running and can email out from the command line using the "mail" command. Installed on the server is procmail and a relay-only MTA package called eSMTP .
Email is relayed to an SMTP server on the same subnet (and because it is on the same private subnet, it not require authentication) and is not an open relay server to the Internet.
However, there is a Workpress web site on the server where the contact forms do not work. I need to tell the Wordpress guy something that will allow him to understand either the kind of contact form plug-in to use, or how to configure the existing form to work with the "mail" command.
OR............
I'll install the mail package that works best with Wordpress, though I would have thought that most any form plug-in would be able to use the "mail" command.
thanks in advance
Email is relayed to an SMTP server on the same subnet (and because it is on the same private subnet, it not require authentication) and is not an open relay server to the Internet.
However, there is a Workpress web site on the server where the contact forms do not work. I need to tell the Wordpress guy something that will allow him to understand either the kind of contact form plug-in to use, or how to configure the existing form to work with the "mail" command.
OR............
I'll install the mail package that works best with Wordpress, though I would have thought that most any form plug-in would be able to use the "mail" command.
thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Curse my typing, the CORRECT command is:
# setsebool -P httpd_can_sendmail on
ASKER
lol - I'm with you on the typing bit forethought.
I forgot to mention that the LAMP I'm using is of the Ubuntu flavor. I think that I've got my answer, but thanks for posting an answer.
Al
I forgot to mention that the LAMP I'm using is of the Ubuntu flavor. I think that I've got my answer, but thanks for posting an answer.
Al
ASKER
Thanks Jason. It was the configuration of php.ini that the Wordpress guy did not know about and which needed to point to the SMTP server.
Open in new window
And PHP should be able to use the mail() function.
This is assuming that the system is normally able to send email (via the command line, for instance).
Hope that helps.