PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : sendmail fehler beim starten



SpiderZLS
24.05.07, 12:49
System : SuSe 9.3


linux: rcsendmail start

Initializing SMTP port (sendmail)451 4.0.0 /etc/sendmail.cf: line 132: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
startproc: exit status of parent of /usr/sbin/sendmail: 71
/etc/mail/submit.cf: line 115: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
startproc: exit status of parent of /usr/sbin/sendmail: 71
failed



Was ist hier passiert und was kann ich machen damit das wieder geht ???
habe schon sendmail deinstalliert und neu installiert allerdings ohne erfolg... :(

DragonMaster
24.05.07, 13:21
Prüf mal die Rechte von deinem /etc/mail/ Verzeichnis und dessen Inhalt. Die sollten möglichst nur sehr eingeschränkte Zugangsrechte haben.

Setz sie auf die selben Rechte wie alle anderen Verzeichnisse im /etc/ Verzeichnis auch. Das dürfte 0644 sein bei User & Group root

SpiderZLS
24.05.07, 14:25
hmm nuja, jetzt passiert folgendes


linux:/etc # chmod -R 644 *
linux:/etc # rcsendmail start
-bash: /usr/sbin/rcsendmail: Permission denied

RichieX
24.05.07, 18:17
So sollten die Rechte/Owner aussehen:


-rw-r--r-- 1 root root 478 20. Mai 16:12 access
-rw-r----- 1 smmsp root 12288 20. Mai 16:12 access.db
-rw-r--r-- 1 root root 0 23. Mär 2006 domaintable
-rw-r----- 1 smmsp root 12288 1. Apr 2006 domaintable.db
-rw-r--r-- 1 root root 231 23. Dez 17:21 genericstable
-rw-r--r-- 1 smmsp root 12288 23. Dez 17:52 genericstable.db
-rw-r--r-- 1 root root 5588 23. Mär 2006 helpfile
-rw-r--r-- 1 root root 159 1. Jan 14:42 local-host-names
-rw-r--r-- 1 root root 0 23. Mär 2006 mailertable
-rw-r----- 1 smmsp root 12288 1. Apr 2006 mailertable.db
-rw-r--r-- 1 root root 920 23. Mär 2006 Makefile
-rw-r--r-- 1 root root 58566 23. Dez 17:47 sendmail.cf
-rw-r--r-- 1 root root 5877 5. Aug 2005 sendmail.mc
-rw-r--r-- 1 root root 39129 1. Apr 2006 submit.cf
-rw-r--r-- 1 root root 952 23. Mär 2006 submit.mc
-rw-r--r-- 1 root root 127 23. Mär 2006 trusted-users
-rw-r--r-- 1 root root 228 23. Dez 17:24 virtusertable
-rw-r----- 1 smmsp root 12288 23. Dez 17:52 virtusertable.db
drwxr-xr-x 3 root root 4096 20. Mai 16:12 .


RichieX

SpiderZLS
25.05.07, 07:58
bei mir schauts wiefolgt aus...



linux:/etc/init.d # ll /etc/mail
total 325
drw-r--r-- 5 root root 1056 May 24 14:01 .
drwxr-xr-x 90 root root 8632 May 25 08:45 ..
-rw-r--r-- 1 root root 1193 Mar 19 2005 Makefile
-rw-r--r-- 1 root root 12306 Mar 19 2005 README
-rw-r--r-- 1 root root 1303 Mar 19 2005 access
-rw-r----- 1 root root 12288 May 24 13:39 access.db
lrwxrwxrwx 1 root root 10 May 24 13:38 aliases -> ../aliases
drwxr-x--- 2 root root 152 May 24 14:01 auth
drwxr-x--- 2 root root 48 Mar 19 2005 certs
-rw-r--r-- 1 root root 474 Mar 19 2005 domaintable
-rw-r----- 1 root root 12288 May 24 13:39 domaintable.db
-rw-r--r-- 1 root root 724 May 24 14:01 genericstable
-rw-r--r-- 1 root root 723 Mar 19 2005 genericstable.YaST2.save
-rw-r--r-- 1 root root 12288 May 24 14:01 genericstable.db
-rw-r--r-- 1 root root 13154 Mar 19 2005 linux.mc
-rw-r--r-- 1 root root 921 Mar 19 2005 linux.nullclient.mc
-rw-r--r-- 1 root root 2704 Mar 19 2005 linux.submit.mc
-rw-r--r-- 1 root root 365 Mar 19 2005 local-host-names
-rw-r--r-- 1 root root 1446 Mar 19 2005 mailertable
-rw-r----- 1 root root 12288 May 24 13:39 mailertable.db
-rw-r--r-- 1 root root 342 Mar 19 2005 relay-domains
-rw-r--r-- 1 root root 330 Mar 19 2005 service-nodns.switch
-rw-r--r-- 1 root root 815 Mar 19 2005 service.switch
drw-r--r-- 2 root root 96 May 24 13:59 spamassassin
-rw-r--r-- 1 root root 40844 Mar 19 2005 submit.cf
-rw-r--r-- 1 root root 41081 May 25 08:45 submit.cf.SuSEconfig
-rw-r--r-- 1 root root 40844 Mar 19 2005 submit.cf.rpmnew
-rw-r--r-- 1 root root 41072 Apr 28 2006 submit.cf.rpmsave
-rw-r--r-- 1 root root 367 Mar 19 2005 trusted-users
-rw-r--r-- 1 root root 257 Mar 19 2005 userdb
-rw-r--r-- 1 root root 8192 May 24 13:39 userdb.db
-rw-r--r-- 1 root root 440 May 24 14:01 virtusertable
-rw-r--r-- 1 root root 441 Mar 19 2005 virtusertable.YaST2.save
-rw-r----- 1 root root 12288 May 24 14:01 virtusertable.db


hmmm, ich peils nichtmehr......:(

RichieX
25.05.07, 08:21
Dir fällt der Unterschied auf?


drwxr-xr-x 3 root root 4096 20. Mai 16:12 .




drw-r--r-- 5 root root 1056 May 24 14:01 .


RichieX

SpiderZLS
25.05.07, 08:47
ups...völlig übersehen.....

ok, habe das mal eben gefixt aber der erfolg ist immer noch nicht gegeben, oder habe ich noch was übersehen ?



total 325
drwxr-xr-x 5 root root 1056 May 24 14:01 .
drwxr-xr-x 90 root root 8632 May 25 08:52 ..
-rw-r--r-- 1 root root 1193 Mar 19 2005 Makefile
-rw-r--r-- 1 root root 12306 Mar 19 2005 README
-rw-r--r-- 1 root root 1303 Mar 19 2005 access
-rw-r----- 1 root root 12288 May 24 13:39 access.db
lrwxrwxrwx 1 root root 10 May 24 13:38 aliases -> ../aliases
drwxr-x--- 2 root root 152 May 24 14:01 auth
drwxr-x--- 2 root root 48 Mar 19 2005 certs
-rw-r--r-- 1 root root 474 Mar 19 2005 domaintable
-rw-r----- 1 root root 12288 May 24 13:39 domaintable.db
-rw-r--r-- 1 root root 724 May 24 14:01 genericstable
-rw-r--r-- 1 root root 723 Mar 19 2005 genericstable.YaST2.save
-rw-r--r-- 1 root root 12288 May 24 14:01 genericstable.db
-rw-r--r-- 1 root root 13154 Mar 19 2005 linux.mc
-rw-r--r-- 1 root root 921 Mar 19 2005 linux.nullclient.mc
-rw-r--r-- 1 root root 2704 Mar 19 2005 linux.submit.mc
-rw-r--r-- 1 root root 365 Mar 19 2005 local-host-names
-rw-r--r-- 1 root root 1446 Mar 19 2005 mailertable
-rw-r----- 1 root root 12288 May 24 13:39 mailertable.db
-rw-r--r-- 1 root root 342 Mar 19 2005 relay-domains
-rw-r--r-- 1 root root 330 Mar 19 2005 service-nodns.switch
-rw-r--r-- 1 root root 815 Mar 19 2005 service.switch
drw-r--r-- 2 root root 96 May 24 13:59 spamassassin
-rw-r--r-- 1 root root 40844 Mar 19 2005 submit.cf
-rw-r--r-- 1 root root 41081 May 25 08:45 submit.cf.SuSEconfig
-rw-r--r-- 1 root root 40844 Mar 19 2005 submit.cf.rpmnew
-rw-r--r-- 1 root root 41072 Apr 28 2006 submit.cf.rpmsave
-rw-r--r-- 1 root root 367 Mar 19 2005 trusted-users
-rw-r--r-- 1 root root 257 Mar 19 2005 userdb
-rw-r--r-- 1 root root 8192 May 24 13:39 userdb.db
-rw-r--r-- 1 root root 440 May 24 14:01 virtusertable
-rw-r--r-- 1 root root 441 Mar 19 2005 virtusertable.YaST2.save
-rw-r----- 1 root root 12288 May 24 14:01 virtusertable.db

403
25.05.07, 16:08
hint: es geht um /etc/mail und nicht um /etc/mail/*

RichieX
25.05.07, 17:15
Welchen Fehler spuckt er nun denn aus?

RichieX