Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > How to enable port 25 incoming?

How to enable port 25 incoming?
Thread Tools
Zim
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status: Offline
Reply With Quote
Apr 22, 2004, 01:19 PM
 
Related to my other thread, I wanted to enable incoming mail directly to my box for when mail accidently is sent to me@my.dyndns.org. Hopefully this happens rarely, but I'd like to catch this mail when it happens, as it doesn't seem to get bounced back to people (and I wonder where its going?!?)

What I'm seeing at this point is this

- telnet 127.0.0.1 25 works
- telnet my.dyndns.org 25 fails

When I set up my imapd I had to add a file to the /etc/xinetd.d directory... do I need to do something similar for this?

Thanks,
Mike
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Apr 22, 2004, 01:33 PM
 
Originally posted by Zim:
Related to my other thread, I wanted to enable incoming mail directly to my box for when mail accidently is sent to me@my.dyndns.org. Hopefully this happens rarely, but I'd like to catch this mail when it happens, as it doesn't seem to get bounced back to people (and I wonder where its going?!?)

What I'm seeing at this point is this

- telnet 127.0.0.1 25 works
- telnet my.dyndns.org 25 fails

When I set up my imapd I had to add a file to the /etc/xinetd.d directory... do I need to do something similar for this?

Thanks,
Mike
Do you have the mail server locally running? If not, do that first. If so, do you have the firewall on? If you do, you need to allow port 25 to come through. Same thing if you have a router.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Zim  (op)
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status: Offline
Reply With Quote
Apr 22, 2004, 01:38 PM
 
Originally posted by Arkham_c:
Do you have the mail server locally running? If not, do that first. If so, do you have the firewall on? If you do, you need to allow port 25 to come through. Same thing if you have a router.
Not trying to answer evasively, only to not state things I am not sure about...

>telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 me.dyndns.org ESMTP Postfix

>telnet me.dyndns.org 25
Trying 24.74.xx.xx...
telnet: connect to address 24.74.xx.xx: Connection refused
telnet: Unable to connect to remote host

I'm partly into assembling a file in /etc/xinetd.d which _is_ now getting me to connect to something that is immediately disconnecting so external port 25 access is not going the same place as localhost 25. I imagine OSX Server has a file there by default...

So,

a) I believe mail server is running
b) I believe firewall is not blocking this port (can now connect to "something" there, but its not the right thing.

Mike
     
Mac Elite
Join Date: Dec 1999
Location: Plainview, NY
Status: Offline
Reply With Quote
Apr 22, 2004, 01:52 PM
 
firewall is off?
     
Zim  (op)
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status: Offline
Reply With Quote
Apr 22, 2004, 02:02 PM
 
Originally posted by spiky_dog:
firewall is off?
No it is not "off", but yes I could (and have) done an 'ipfw flush' to make sure.

I can now 'get' to port 25 from the outside with my bogus smtp file in xinetd.d file, but I believe from the meager things I've found via Google that for some reason smtp does not need a file in that directory and is defined/started somewhere else.

Mike
     
Zim  (op)
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status: Offline
Reply With Quote
Apr 22, 2004, 02:11 PM
 
Solved...

at the bottom of main.cf

# THE FOLLOWING DEFAULTS ARE SET BY APPLE
#
# bind to localhost only
#
inet_interfaces = localhost

nasty little bugger over-rides changes made earlier in the file.

Mike
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:31 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2