Ok. To clear the misunderstanding. In php.ini Instead of setting sendmail_path to the isp's mailserver, set SMTP to ism's mailserver :-) it is localhost by default.
As for the mx thing. Due to lots of worms sending mail from end-users computers lately. A lot of mail servers are configured to reject mail from you, if you are not the mx of your domain. This is not the default behaviour, but it can be set. That means. Andrew is right. The mail will go out. from your box. Cheers Szemir On April 27, 2004 18:15, 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 _______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

