Re: Sendmail still will not read config files

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

 



Am Do, den 29.01.2004 schrieb Ron Herardian um 12:09:
> I believe roger2 has the right idea. In recent versions of sendmail, certain files are owned by user "smmsp" not root or another user. For some changes the user is assumed to be restarting sendmail to invoke m4/make/makemap to generate sendmail.cf (from sendmail.mc) and the db files, rather than creating (or in some cases editing) these file manually (have a look in the /etc/mail/Makefile).

No! Only the clientqueue in /var/spool has to be owned by smmsp! In
Sendmail 8.12 versions shipped by Redhat prior to FC1 there was a bad
misconfiguration which meanwhile Florian LaRoche corrected. In previous
versions smmsp was set to be a trusted user in sendmail.mc. Sendmail on
FC1 no more has this faulty configuration.

> Here's what one of my (pretty clean, and working) installs looks like:
> 
> /etc
> 
> [root@serenity etc]# ls -al | grep mail
> drwxr-xr-x    2 root     root         4096 Jan 19 19:33 mail
> -rw-r--r--    1 root     root         9283 Sep  3  2002 mailcap
> -rw-r--r--    1 root     root          112 Jun 23  2002 mail.rc
> [root@serenity etc]#
> 
> /etc/mail
> 
> [root@serenity mail]# ls -al
> total 300
> drwxr-xr-x    2 root     root         4096 Jan 19 19:33 .
> drwxr-xr-x   58 root     root         8192 Jan 28 13:53 ..
> -rw-r--r--    1 root     root          331 Mar 26  2003 access
> -rw-r-----    1 smmsp    root        12288 May  6  2003 access.db
> -rw-r--r--    1 root     root            0 Mar 26  2003 domaintable
> -rw-r-----    1 smmsp    root        12288 May  6  2003 domaintable.db
> -rw-r--r--    1 root     root         5588 Mar 26  2003 helpfile
> -rw-r--r--    1 root     root           64 Mar 26  2003 local-host-names
> -rw-r--r--    1 root     root            0 Mar 26  2003 mailertable
> -rw-r-----    1 smmsp    root        12288 May  6  2003 mailertable.db
> -rw-r--r--    1 root     root          843 Mar 26  2003 Makefile
> -rw-r--r--    1 root     root           46 Jan 16 05:42 relay-domains
> -rw-r--r--    1 root     root        57839 Jan 19 19:33 sendmail.cf
> -rw-r--r--    1 root     root         5928 Jan 16 05:40 sendmail.mc
> -rw-------    1 root     root          628 Jan 26 04:02 statistics
> -rw-r--r--    1 root     root        39046 May  6  2003 submit.cf
> -rw-r--r--    1 root     root          953 Mar 26  2003 submit.mc
> -rw-r--r--    1 root     root          127 Mar 26  2003 trusted-users
> -rw-r--r--    1 root     root            0 Mar 26  2003 virtusertable
> -rw-r-----    1 smmsp    root        12288 May  6  2003 virtusertable.db
> [root@serenity mail]#

See above! None of these files have to be owned by smmsp!

> [root@serenity etc]# cat passwd
> 
> smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
> 
> [root@serenity etc]# cat group
> 
> smmsp:x:51:
> 
> [root@serenity etc]# cat shadow
> 
> smmsp:!!:12178:0:99999:7:::

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2149.nptl
Sirendipity 17:36:59 up 2:24, 7 users, 0.33, 0.22, 0.28 
                   [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux