Configuring sendmail on Jaguar
Subject:   sendmail for PHP
Date:   2002-10-27 17:55:26
From:   edwardd20
Response to: sendmail for PHP

It's to bad a month has gone by and no answer to this question. It is the same (or pretty close) to the issues I am having.

I don't have a domain, or want one at this time. I would simply like to be able to use the PHP mail() function.

I'm afraid by no answer this can't be done.

I'm getting the following in my /var/log/mail.log file:
Oct 27 23:06:53 G4 sendmail[531]: gethostbyaddr( failed: 3
Oct 27 23:06:53 G4 sendmail[531]: g8Q46rcX001015: from=www, size=113, class=0, nrcpts=0, msgid=<>, relay=localhost

I do know is my IP address behind my router. "" is the made up domain name I used in my file. I'm not getting the third message from the original post. Does this mean I'm not getting as far as griffitts or an I gett farther?

How does one go about actually figuring out what these messages mean? Is it because I don't have a domain? Is there a problem in my sendmail configuration? Is the problem in my very simply PHP mail() reqest.

I looked at the pages and I didn't find a documentation section. (That doesn't mean it isn't there, I just didn't find it.)



Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • sendmail for PHP
    2002-10-31 19:20:30  edwardd20 [View]

    I've spent the past 2-3 weeks trying to resolve this issue without any real luck. I'm partially giving up but... I have found a replacement solution. Visit and there is a PHP CLASS file that writes directly to a SMTP mail server. This script works fine with I'm going to recommend it to anybody who needs to use PHP mail (not the mail() function) with Like I said, it works great.

    Back to my partially giving up. I'll keep my eye open for a real solution to using PHP's mail() function with sendmail built into OS X. Perhaps it will be in OS X 10.3.