conoverc73
asked on
Trying to setup sendmail on my RH 9 server
I am a newbie to sendmail. I have a server running redhat that I now want to make my smtp server for 5 machines on my local network to use as their smtp server. I've enabled the sendmail service and verified that it is running. I can telnet to it on port 25 from the console, but I can not telnet to it from another server.
The server has full access to the internet and can resolve hostnames.
To test it, I configured outlook on a workstation and told it to use mail.mydomain.com as the smtp server. When I try to send mail, I get the following error: "unable to connect to the server".
What am I missing here.
The server has full access to the internet and can resolve hostnames.
To test it, I configured outlook on a workstation and told it to use mail.mydomain.com as the smtp server. When I try to send mail, I get the following error: "unable to connect to the server".
What am I missing here.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks paullamhkg and shivsa. Both of your tips combined plus realizing that I did not have the sendmail-cf package rpm installed on the machine helped me get this going. Sendmail is up and running now.
Thanks a lot.
Thanks a lot.
Run the following commands;
# netstat -l |grep smtp
look for the line(s) that say either *:smtp or servername:smtp, this will tell you if the sendmail is listening on all IP addresses or just the servernames ip address. from the linux box, telnet to this servername for the smtp port.
What happens ?
Check that the firewall isnt blocking it, quickest way is to stop the firewall temporarily using the following command;
# service ipchains stop
then try again, let me know what the findings are if youre still stuck.