Morten K. Poulsen wrote:
The blocking of port 25 should only affect incoming email, not outgoing. A dynamic IP address will not affect outgoing email ( but if using sendmail, it will expect to be able to look itself up in DNS). The difficulty is going to be when someone tries to point their web browser at your webserver. What do they put in? You will need to use the services of an orgaisation like http://www.dyndns.org which is free.Hi Ben,
On Wed, 2004-05-05 at 18:03, Ben Sewell wrote:
I want to use a PHP forum on my webserver, which has Slackware Kinux 9.1 installed on it.
Ok. That machine will also have a mail server installed. PHP uses that mail server (via the sendmail_path set in php.ini) to send mail.
My webserver is at home and is going to have a dynamic DNS hostname (eg no-ip.com)
It doesn't matter if the machine has a static or a dynamic IP-address.
Any ideas on configuring the server?
PHP will deliver the mail to the local mailserver. Sending the mail from the machine is not a PHP problem, it's a mail server problem. You will need to look in your mail servers manual (or google) to find out how to configure it to use your ISP's relay host.
Knowing that I wanted to continue using smtp here at home and host a webserver meant I changed ISP for my broadband connection from the dial-up I am currently using, just because I wanted a static IP address and no blocked ports.
HTH Chris