Cannot start sm-client on CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 23:16:48 up 9 days, 1:04, load average: 2.74, 2.35, 2.07 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.centos.org/pipermail/centos/attachments/20060322/f2b909e5/attachment.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux