 |
 |
How to enable port 25 incoming?
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
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
|
|
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
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
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
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
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
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
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
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|