Server Fault is a question and answer site for system and network administrators. 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

hello i have done the fol­low­ing :

1.install send­mail and con­fig­ure /etc/mail/ : 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

share|improve this question

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.

share|improve this answer
i already tried to configure to `DAEMON_OPTIONS(‘Family=inet, Name=MTA-v4, Port=smtp, Addr=′)dnl`` , same issue – moata_u Mar 31 '11 at 1:01

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

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.