Jon Mercer jon.mercer at achean.com
Fri Apr 21 11:15:21 UTC 2006


This is almost certainly a sendmail problem. You don't say how your mail
routing is supposed to work. Is, for instance, your sendmail meant to
deliver the mail locally on the same machine? Does sendmail have to talk
to another mail transfer agent to deliver the mail to another machine? It
might be the case that your sendmail is not configured to:

1. Receive mail from the address you specify in php.ini/mail()

2. Listen on the correct ports (25)

But I would expect to see an error displayed.

You need to see whether the mail queue is filling up within sendmail.

Quite possibly your sendmail queue is filling up but mails are being
blocked by another server.

Have you looked at the sendmail.mc or freebsd.mc file and reconstructed
the sendmail.cf files using m4?

Sendmail is a very complicated beast, but worth persevering with :-)

All the best,


On Fri, April 21, 2006 11:05, Chezangla, Engineer, DrukNet wrote:
> I'm using:
> freeBSD-5.x
> PHP-5.x
> Mysql-4.x
> Apache-2.x
> I want to use php mail() to send mails using php script. I
> have configure in /usr/local/etc/php.ini the sendmail_path
> as
> sendmail_path=/usr/sbin/sendmail -t -i &
> when i send email, the mail is sent, i.e if(mail())
> returns true. But I don't receive the mail at all, at the
> given receipent address.
> what could be wrong, any ohter configurations to be made?,
> plez help me.
> regd. cheza
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> Get a free DrukNet e-mail account and stay in touch
> http://www.druknet.bt
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

Achean Ltd                                        http://www.achean.com
Jon Mercer              jon.mercer at achean.com                  Director

More information about the freebsd-questions mailing list