I have done the following:
Install sendmail and configure
/etc/mail/sendmail.mc
by adding line:DAEMON_OPTIONS(‘Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1′`)dnl
Configure joomla mail server setting = sendmail
php.ini:
sendmail_path = /usr/sbin/sendmail –i –t
Mail server only working if I send email from local server, but when am trying send email from website via Internet that not working!
ANY HELP
Information:
-i have a public ip and domain name .
-website and mail server (sendmail) in same server with ubuntu OS
i got the following error :
PHPMAILER_EXECUTE/usr/sbin/sendmail
, and i tried configure mail server in joomla to php mail function: could not instantiate php mail function
You likely want to edit
/etc/mail/submit.mc
(the local submission half) instead of/etc/mail/sendmail.mc
(the network-listening daemon half). Don't forget to run the "make" command/etc/mail
after you've made changes.