Situation:
I'm using AT&T @Home (cable modem service). 4 computers are sharing the connection using a dsl router. The Internet IP we have got from AT&T is 12.123.456.789 (just an example). The router is sitting on 192.168.2.1 and I've a redhat 7.2 running on 192.168.2.20. I'm trying to setup a mail server on the redhat.
Problem:
I'm unable to receive inbound email from outside world. (say if i go to yahoo and use yahoo mail to send a email to user@12.123.456.789 I received nothing).
Investigation:
1. Outgoing email works fine
2. If i telnet into my server and send email to user@linuxhost.localdomain it works fine.
3. I telnet into my server and do "telnet localhost 25" I do get a response, however, if I go to outside world and do "telnet 12.123.456.789 25" it says connection refused. I've already opened port 25 on my dsl router (and use virtual server to redirect port 25 to my server) and redhat. I also have a web server and ftp server running, and if I do "telnet 12.123.456.789 80" from the outside world it is fine.
Could someone point me to what problem I'm having? I've spent a whole day reading documentation about MX, relay-domain, access..etc etc but I can't conclude what my problem is.
My /etc/mail/access file:
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
Any help appreciated. Thanks!
Thanks,
Albert.
I'm using AT&T @Home (cable modem service). 4 computers are sharing the connection using a dsl router. The Internet IP we have got from AT&T is 12.123.456.789 (just an example). The router is sitting on 192.168.2.1 and I've a redhat 7.2 running on 192.168.2.20. I'm trying to setup a mail server on the redhat.
Problem:
I'm unable to receive inbound email from outside world. (say if i go to yahoo and use yahoo mail to send a email to user@12.123.456.789 I received nothing).
Investigation:
1. Outgoing email works fine
2. If i telnet into my server and send email to user@linuxhost.localdomain it works fine.
3. I telnet into my server and do "telnet localhost 25" I do get a response, however, if I go to outside world and do "telnet 12.123.456.789 25" it says connection refused. I've already opened port 25 on my dsl router (and use virtual server to redirect port 25 to my server) and redhat. I also have a web server and ftp server running, and if I do "telnet 12.123.456.789 80" from the outside world it is fine.
Could someone point me to what problem I'm having? I've spent a whole day reading documentation about MX, relay-domain, access..etc etc but I can't conclude what my problem is.
My /etc/mail/access file:
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
Any help appreciated. Thanks!
Thanks,
Albert.