Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have done the fol­low­ing:

  1. Install send­mail and con­fig­ure /etc/mail/ by adding line:

    DAEMON_OPTIONS(‘Family=inet, Name=MTA-v4, Port=smtp, Addr=′`)dnl

  2. Configure joomla mail server set­ting = send­mail

  3. php.ini: sendmail_path = /usr/sbin/sendmail –i –t

Mail server only work­ing if I send email from local server, but when am try­ing send email from web­site via Inter­net that not work­ing!


-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

share|improve this question

You likely want to edit /etc/mail/ (the local submission half) instead of /etc/mail/ (the network-listening daemon half). Don't forget to run the "make" command /etc/mail after you've made changes.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.