On Sat, Jun 14, 2003 at 11:55:23AM -0400, Ken Schneider wrote:
On Sat, 2003-06-14 at 11:46, Dan Eskildsen wrote:
I have my own unique IP address but the ISP still blocks port 25 traffic. :-(
O.K. so you're on some kind of DSL, right? If I understand you correctly, then what you want is to have your PHP-script send mail? Basically there should be no problem. Especially if you want to use your ISP's mailserver as relay. In fact, this is no different than what you do when *you* send mail, using your favourite email client. What your ISP is blocking is port 25 *downstream*. If they were blocking port 25 *upstream* you wouldn't be able to send mail at all. At a later stage you might want to consider having sendmail/postfix connect directly to the destination mailserver, but for now just use your ISP as relay. Someone already mentioned the place in YaST where you set it up. Keep it simple. Use Postfix. It's SuSE's default MTA, and for what you want to do, the YaST module for setting it up should get you where you want to be with the least hassle. One thing you might want to look into, is masquerading. You might run into the situation that your ISP's mailserver will reject mail from your PHP, because the "From:" could be something like wwwrun@linux.local. In which case you can set up masquerading with YaST, so the From: gets changed to something your ISP mailserver accepts. While you're testing, open up a terminal and run tail -f /var/log/mail That way you get immediate feedback, whether the mail gets accepted...
Is there maybe a way to edit the DNS file so that the MX record points to another port?
Dan.
DNS does not direct connections to ports, only addresses. A firewall can redirect to another port.
Indeed. In this context, however, the point is moot. HTH Jon Clausen -- If we can't be free, at least we can be cheap!