hello i have done the fol­low­ing :

1.install send­mail and con­fig­ure /etc/mail/sendmail.mc : add com­ment to line

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

2.configure joomla mail server sit­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 !!!
information :
-i have an public ip and domain name .
-website and mail server (sendmail) in same server with ubuntu OS

2 Answers 2


Actually, my original answer is wrong since you've stated that the web server and mail server exist on the same machine. The problem is likely mail relay. Sendmail is likely not configured to relay mail incoming from the web server.

Check /var/log/mail.log, /var/log/mail.err and /var/log/mail.warn and post the error messages when Joomla tries to mail.

Looks like sendmail is only listening on the loopback adapter.

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


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

That said, be aware that if you openly relay mail, it won't be long before your mail server is blacklisted. Please read some documentation on SMTP server best-practices.

  • i already tried to configure to `DAEMON_OPTIONS(‘Family=inet, Name=MTA-v4, Port=smtp, Addr=′)dnl`` , same issue
    – moata_u
    Mar 31, 2011 at 1:01

Have you run sendmailconfig so as to rebuild your sendmail.cf from sendmail.mc and restart sendmail ? (sendmailconfig does both)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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