Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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:
The above worked to generate a cf file that got sendmail working perfectly on my previous RedHat 9 box. I have rebuilt and reinstalled the .cf files at least a dozen times with various minor changes, restarting sendmail every time.
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:
where [ipaddress] is the address of the external ethernet connection (i.e direct connection to the internet).
Quote:
Also `lsof -i :25`
There is no output when running the above command.
Quote:
Anything peculiar you notice in /var/log/maillog immediately after you restart the sendmail daemon ?
Sep 19 11:05:25 server sendmail[30037]: alias database /etc/mail/aliases rebuilt by simon
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
Last edited by SorC; 09-18-2007 at 10:34 PM.
Reason: Update
where [ipaddress] is the address of the external ethernet connection (i.e direct connection to the internet).
There is no output when running the above command.
Sep 19 11:05:25 server sendmail[30037]: alias database /etc/mail/aliases rebuilt by simon
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
I have the same problem now on my debian box. Have you ever track this problem down?
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.
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
I think you should start a new thread for any of your queries from next time
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.