Sendmail not listening on any ports
Hi,
I have a fresh build of the latest sendmail release on a Fedora Core 7 box. I have had no problems, compiling, installing and putting everything in place. However, after running sendmail I've found that it isn't listening for any incoming smtp connections what so ever. I've kept my sendmail.mc file down to the bare minimum and it follows: Quote:
I have tried using various recommendations of the DAEMON_OPTIONS definition none of which have made any difference. The reason I know sendmail isn't listening is that when I run: Quote:
Quote:
Quote:
Right now I'm at a loss. From everything I've read about configuring sendmail so far my config should work. Any help would be much appreciated. Thankyou for your responses in advance. |
What is the output of telnet localhost 25 ?
Also `lsof -i :25` Anything peculiar you notice in /var/log/maillog immediately after you restart the sendmail daemon ? |
Thankyou for the reply. Below are the results of the questions you've asked.
Quote:
Trying [ipaddress]... telnet: connect to address [ipaddress]: Connection refused where [ipaddress] is the address of the external ethernet connection (i.e direct connection to the internet). Quote:
Quote:
Sep 19 11:05:25 server sendmail[30037]: /etc/mail/aliases: 1 aliases, longest 5 bytes, 10 bytes total Sep 19 11:05:25 obiwan sendmail[30044]: starting daemon (8.14.1): queueing@01:00:00 Sep 19 11:05:25 server sm-msp-queue[30051]: starting daemon (8.14.1): queueing@01:00:00 Sep 19 11:05:25 server sm-msp-queue[30052]: l8I6tQgb026691: to=root, delay=18:09:59, xdelay=00:00:00, mailer=relay, pri=211353, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] This is what I get in the maillog immeadiately after restarting sendmail. There are several more messages like the last that state "connection refused by [127.0.0.1]". Other than that there are no error messages. [Edit 1] I have now tried several more approaches. First, I tried building an older version of sendmail on my FC7 box. This version of sendmail is one I had successfully compiled and run on a Redhat 9 box. This yielded the same results as above. Second, I scratch built a second FC7 box with an older machine. With this I kept the absolute most basic generic linux configs that come with the sendmail source. This also yielded the same result as above. Third, I used the sendmail 8.14.1 source to build sendmail on an FC5 box, both with and without Berkeley db. Both builds worked first time without a problem. After this I'm of the strong opinion that there is an issue between sendmail and FC7 that I'm unaware of. I will continue working on this problem as best I can. I still have very little clue of what I'm looking for. [/Edit 1] Cheers, SorC |
Quote:
Please let me know if so .. Juraj |
I have the same problem.
Why don't you guys post a sollution or at least tell us, that you gave up. |
Quote:
post your sendmail.mc configuration file? and provide with all related details |
Thanks for your interrest deep27ak.
My problem was, that the only sendmail proces that was running, has been Code:
# ps -ef|grep send Code:
# netstat -tulpn|grep sendmail Without it, it won't start. Now it is running in whole Code:
# ps -ef|grep send Code:
# netstat -tulpn|grep sendmail |
Quote:
your machine is properly listening to smtp ports I would like to know the steps which you followed for configuring sendmail and the error logs of your machine Code:
#cat /var/log/maillog Code:
and I don't think its proper to use others thread I would advise you to create your own thread with all the details I have asked you |
Hello Everyone
I am Awanish Kumar and learning process is running on so there is a problem to understand the Sendmail configuration. So I need help and step by step process and also sample configuration view. Thanks Awanish Kumar |
Quote:
check this http://www.linuxquestions.org/questi...ep27ak-609264/ best of luck |
Thank You
I'll check it. |
All times are GMT -5. The time now is 04:07 PM. |