LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SMTP on Redhat 9 (https://www.linuxquestions.org/questions/linux-newbie-8/smtp-on-redhat-9-a-188399/)

Mikeventer 06-01-2004 08:06 AM

SMTP on Redhat 9
 
I setup a standerd redhat linux 9 server installation. SMTP,Gnome.
Installed webmin 1.140. Enable ip forwarding. Edited the sendmail.cf file.

When I send mail in webmin under servers-Sendmail Configuration Users Mailboxes, I can read, send, reply. On a WinXP computer (connected with a 100base-t hub to the linux 9 box) I set up Microsoft outlook express to read and send mail.
If I send mail out of webmin to the user that I created in webmin (Mike) (the same account that I have setup on the XP machine, (Mike)
pop3 server is set to 192.168.1.1 and smtp server is set to 192.168.1.1

The problem is when I want to send from the XP out of outlook, I get port 25 connection refused.

Then I telnet on my linux9 box first port 110 - telnet 192.168.1.1 110
User - pass +Ok . Im happy with that, but when I type telnet 192.168.1.1 25, I get Connection refused. After that I tried nmap 192.168.1.1 and I don't see port 25 there.

The question is how do I get nmap to see port 25. Where do I start the smtp deamon. How can I test that smtp is running on port 25 ?

Regards
Mike

david_ross 06-01-2004 02:46 PM

Welcome to LQ.

Check that sendmail is running and listening on all addresses:
netstat -nlp

Alos check that you do not have a firewall blocking that port:
iptables -L

If you are unsure then just post the output of the above commands.


All times are GMT -5. The time now is 06:16 PM.