Andrew J. Kopciuch wrote:
php.ini where the binary or the link to the binary is. Because you are (in
this case) not a qualified (MX) for your domain. You can not (emit) email
from your box, and hope anyone will accept it. So you need to configure
your smtp server to relay your locally generated e-mail (using php in this
case) to your isp's mail server. Alternatively, you may want to go ahead
and tell php, that the mail server (sendmail) is actually the URL of your
isp's mail server, and let php send the mail directly to that one. Now you
also need to make sure that the necessary ports are open on your firewall,
and traffic will be able to pass through the firewall.
That is just plain wrong.
If you have sendmail running, or postfix's sendmail replacement ... or any MTA running for that matter. The mail sent from the php mail() command will be sent to the recipient. Directly from your server's MTA to the recipient's server.
I do this from my local machine all the time for testing. My home computer is not a qualified MX domain.
Al you need is a working MTA and the mail will be sent.
Andy
_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca
That was my first thought as well. I would suggest trying Postfix. I tried, and failed, to set up sendmail on my gentoo box. Unmerge it and follow the docs on the gentoo site (oddly enough, in the Desktop Configuration) to install Postfix.
If you really want to stick with sendmail.... I don't know what to say
Andrew Graupe
_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

