Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 13th, 2004, 03:28 PM
soupman99 soupman99 is offline
frequent PHP idiot
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 337 soupman99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 48 m 36 sec
Reputation Power: 6
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.

Reply With Quote
  #2  
Old July 13th, 2004, 06:08 PM
cbchev68 cbchev68 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: NH
Posts: 228 cbchev68 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 h 25 m 38 sec
Reputation Power: 6
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..

Reply With Quote
  #3  
Old July 13th, 2004, 06:34 PM
obi_wonton's Avatar
obi_wonton obi_wonton is offline
(not) Banned
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2004
Location: Toronto, CANADA
Posts: 598 obi_wonton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 4 m 13 sec
Reputation Power: 5
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.

Reply With Quote
  #4  
Old July 13th, 2004, 09:24 PM
soupman99 soupman99 is offline
frequent PHP idiot
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 337 soupman99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 48 m 36 sec
Reputation Power: 6
Well,

here's the message.
PHP Code:
 This is the Postfix program at host Justin-Youngs-Computer.local.

I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the message returned below.

            The Postfix program

<myemailaddress@blah.com>: host smtp.central.cox.net[68.1.17.4] said: 553
    Justin-Youngs-Computer.local does not exist (in reply to MAIL FROM command)
Reporting-MTA: dns; Justin-Youngs-Computer.local
Arrival-Date: Tue, 13 Jul 2004 21:22:20 -0500 (CDT)

Final-Recipient: rfc822;myemailaddress@blah.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host smtp.central.cox.net[68.1.17.4] said: 553
    Justin-Youngs-Computer.local does not exist (in reply to MAIL FROM command) 


any ideas?

Reply With Quote
  #5  
Old July 14th, 2004, 10:53 AM
obi_wonton's Avatar
obi_wonton obi_wonton is offline
(not) Banned
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2004
Location: Toronto, CANADA
Posts: 598 obi_wonton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 4 m 13 sec
Reputation Power: 5
Quote:
Justin-Youngs-Computer.local does not exist (in reply to MAIL FROM command)

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.

Reply With Quote
  #6  
Old July 14th, 2004, 02:26 PM
soupman99 soupman99 is offline
frequent PHP idiot
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 337 soupman99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 48 m 36 sec
Reputation Power: 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

Reply With Quote
  #7  
Old July 14th, 2004, 09:56 PM
obi_wonton's Avatar
obi_wonton obi_wonton is offline
(not) Banned
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2004
Location: Toronto, CANADA
Posts: 598 obi_wonton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 4 m 13 sec
Reputation Power: 5
Try putting the IP first, then follow it with the aliases.
127.0.0.1 [tab] localhost [tab] justin-young-computer etc...

Reply With Quote
  #8  
Old July 15th, 2004, 02:03 AM
soupman99 soupman99 is offline
frequent PHP idiot
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 337 soupman99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 5 h 48 m 36 sec
Reputation Power: 6
no dice. It still returns the mail with the previous error message. Anything else I can try?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > ISP blocking port 25, need a way around


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway