|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ISP blocking port 25, need a way around
I have PHP running on my server, and I have postfix running as well. I use my own postfix SMTP server from "Mail" and it works fine, but when I try and send email via PHP from my SMTP server, I get a bounced message. My ISP is blocking port 25 and I wanted to know if there was a way around where I could still use my own server.
Any ideas? PS - I have Cox. Last edited by soupman99 : July 13th, 2004 at 05:49 PM. |
|
#2
|
|||
|
|||
|
Im confused, you say postfix works, but you cannot send from a PHP script? And because of that, you believe that your ISP is blocking port 25?
Correct me if I am worng, but postfix is an MTA and uses port 25.. |
|
#3
|
||||
|
||||
|
Indeed. If you can send mail to an outside address from postfix, then your ISP can't be blocking port 25.
And if they are blocking port 25, you would have to get a friend to setup a server to listen on port 80 (or some other port that'll be open for sure...) with an MTA, and then get them to forward the mail through standard port 25, and send it flying across the web... Last edited by obi_wonton : July 13th, 2004 at 06:38 PM. |
|
#4
|
|||
|
|||
|
Well,
here's the message. PHP Code:
any ideas? |
|
#5
|
||||
|
||||
|
Quote:
Did you specify the sending email address? It looks like it's using [something]@Justin-Youngs-Computer.local, and you didn't setup the name right. Try adding this line to your /etc/hosts file 127.0.0.1 [tab] Justin-Youngs-Computer.local Last edited by obi_wonton : July 14th, 2004 at 09:55 PM. |
|
#6
|
|||
|
|||
|
Here's what I have now...is this right? I don't think I did it right is why I'm asking. and the [tab] isn't actually written in.
## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## Justin-Youngs-Computer.local [tab] 127.0.0.1 [tab] localhost 255.255.255.255 broadcasthost ::1 localhost |
|
#7
|
||||
|
||||
|
Try putting the IP first, then follow it with the aliases.
127.0.0.1 [tab] localhost [tab] justin-young-computer etc... |
|
#8
|
|||
|
|||
|
no dice. It still returns the mail with the previous error message. Anything else I can try?
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Mail Server Help > ISP blocking port 25, need a way around |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|