Am Mi, den 22.03.2006 schrieb Kai Schaetzl um 23:03:
Alexander Dalloz wrote on Wed, 22 Mar 2006 19:27:05 +0100:
Typical reason is you broke the permissions of the sendmail binary. Check that it is
$ ls -al /usr/sbin/sendmail.sendmail -rwxr-sr-x 1 root smmsp 732248 21. Feb 2005 /usr/sbin/sendmail.sendmail
It's exactly like this. I didn't touch any of that at all. I replaced the sendmail.cf, though, with my own one from Suse systems with 8.12.
Very bad idea. If you really want to migrate settings from a SuSE install then take the sendmail.mc settings and rebuild the sendmail.cf from those settings on your CentOS host. And be sure you understand what settings you activate.
Everything seemed to be working fine until I installed MailScanner which doesn't check for the existance of sm-client.pid and restarts sm-client each time while sendmail seems to only start it when the pid file is missing. I see if reverting to the old sendmail.cf fixes this. No, same problem, so my sendmail.cf isn't the problem. I also found that there was no .hoststat directory in the queue directory and sendmail barked about that as well. Is this normal for CentOS?
It is normal that Sendmail on CentOS runs out of the box. It is too "normal" that hoststat isn't configured by default within sendmail.mc. But there is no problem to activate this yourself. You need to understand how MailScanner mangles the Sendmail setup as it splits the queue and runs own queue runner from its own.
Kai
Just copying over SuSE Sendmail setup will not work.
Alexander