charlie-brown
Goto Top

Fehlermeldung beim Start von sendmail

Hallo,
ich habe ein Problem mit sendmail, es wäre schön wenn mir jemand einen Tipp geben könnte.

Unser Server steht bei einem Provider. Gestern hat es dort wohl einen Stromausfall gebeben und der Server war down. Nach einer halbe Stunde funktionierte der Webserver wieder, allerdings Mails konnte ich nicht mehr abrufen. Normal erledigt solche Probleme unser Admin, doch der liegt nach einem schweren Autounfall im Krankenhaus und ist nicht ansprechfähig.

Da ich der einzige bin, der etwas Computertechnik beherrscht, in bin der Webmaster und kümmere mich um die Webseite, liegt es jetzt an mir das sendmail Problem zu lösen. Aber ich habe keine Linuxerfahrung.

Jetzt zu der Fehlermeldung. Sobald ich versuche sendmail zu starten erhalte ich folgende Fehlermeldung:

Initializing SMTP port (sendmail)451 4.3.5 /etc/sendmail.cf: line 139: ldap_init/ldap_bind failed to 127.0.0.1 in map VirtHost: Unknown error 325 554 5.0.0 /etc/sendmail.cf: line 139: fileclass: F{VirtHost}: map open failed startproc: exit status of parent of /usr/sbin/sendmail: 71
failed

Wer kann mir sagen, was die Fehlermeldung bedeutet und wie ich den Fehler beseitigen kann.

Herzliche Dank im Voraus

Gruß
charlie brown

Content-Key: 108575

Url: https://administrator.de/contentid/108575

Printed on: April 19, 2024 at 23:04 o'clock

Mitglied: 68702
68702 Feb 10, 2009 at 12:16:54 (UTC)
Goto Top
Die Fehlermeldung bedeutet, dass in Linie 139 der config (/etc/sendmail.cf) ein Fehler vorliegt. Poste doch mal den Inhalt der /etc/sendmail.cf !
Member: charlie-brown
charlie-brown Feb 10, 2009 at 12:24:57 (UTC)
Goto Top
Die Zeile 139 ist leer: Habe sie kenntlich gemacht.

  1. level 10 config file format
V10/Berkeley

  1. override file safeties - setting this option compromises system security,
  2. addressing the actual file configuration problem is preferred
  3. need to set this before any file actions are encountered in the cf file
O DontBlameSendmail=AssumeSafeChown,TrustStickyBit,GroupReadableSASLDBFile

  1. default LDAP map specification
  2. need to set this now before any LDAP maps are defined
O LDAPDefaultSpec=-h"127.0.0.1" -b"dc=mail" -d"cn=sendmail,dc=server,dc=mail" -P /etc/mail/auth/ldap.dn

  1. local info #
##################

  1. my LDAP cluster
  2. need to set this before any LDAP lookups are done (including classes)
#D{sendmailMTACluster}$m

Cwlocalhost
  1. file containing names of hosts for which we receive email
Fw-o /etc/mail/local-host-names %[^\#]

  1. my official domain name
  2. ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM

  1. host/domain names ending with a token in class P are canonical
CP.

  1. "Smart" relay host (may be null)
DS


  1. operators that cannot be in local usernames (i.e., network indicators)
CO @ %

  1. a class with just dot (for identifying canonical names)
C..

  1. a class with just a left bracket (for identifying domain literals)
C[[

  1. access_db acceptance class
C{Accept}OK RELAY


  1. Resolve map (to check if a host exists in check_mail)
Kresolve host -a<OKR> -T<TEMP>
C{ResOk}OKR


  1. Hosts for which relaying is permitted ($=R)
FR-o /etc/mail/relay-domains %[^\#]

  1. arithmetic map
Karith arith
  1. macro storage map
Kmacro macro
  1. possible values for TLS_connection in access map
C{Tls}VERIFY ENCR


  1. dequoting map
Kdequote dequote

  1. class E: names that should be exposed as from this host, even if we masquerade
  2. class L: names that should be delivered locally, even if we have a relay
  3. class M: domains that should be converted to $M
  4. class N: domains that should not be converted to $M
#CL root
F{VirtHost}@ldap:-k "(objectclass=organizationalUnit)" -v ou
+++Das ist die zeile 139 ++++
C{TrustAuthMech}DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
CR$={VirtHost}


  1. my name for error messages
DnMAILER-DAEMON


  1. Access list database (for spam stomping)
Kaccess hash -T<TMPF> /etc/mail/access.db

  1. authinfo list database: contains info for authentication as client
Kauthinfo hash /etc/mail/auth/auth-info.db

  1. Mailer table (overriding domains)
Kmailertable hash /etc/mail/mailertable.db

  1. Virtual user table (maps incoming users)
Kvirtuser ldap -T<TMPF> -k "(mail=%0)" -1 -v uid

  1. map for enhanced DNS based blacklist lookups
Kednsbl dns -R A -a. -T<TMP> -r5


  1. Configuration version number
DZ8.13.3/mcb 2004-09-11


  1. Options #
###############

  1. strip message body to 7 bits on input?
O SevenBitInput=False

  1. 8-bit data handling
#O EightBitMode=pass8

  1. wait for alias file rebuild (default units: minutes)
O AliasWait=10

  1. location of alias file
O AliasFile=/etc/aliases

  1. minimum number of free blocks on filesystem
O MinFreeBlocks=1000

  1. maximum message size
O MaxMessageSize=10550000

  1. substitution for space (blank) characters
O BlankSub=.
Mitglied: 68702
68702 Feb 10, 2009 at 12:41:21 (UTC)
Goto Top
Versuche mal die sendmail.cf neu zu erstellen. Sichere zuvor die alte config als sendmail_alt.cf oder so.
cd /usr/src/sendmail/cf/cf
m4 beispiel.mc > sendmail.cf
cp sendmail.cf /etc/sendmail.cf
chmod 0444 /etc/sendmail.cf
dann sendmail neu starten.
Member: charlie-brown
charlie-brown Feb 10, 2009 at 13:09:46 (UTC)
Goto Top
Habe es doch hinbekommen eine neue sendmail.cf zu erzeugen, doch die Fehlermeldung ist beim starten noch die Gleiche.

Initializing SMTP port (sendmail)451 4.3.5 /etc/sendmail.cf: line 139: ldap_init/ldap_bind failed to 127.0.0.1 in map VirtHost: Unknown error 325
554 5.0.0 /etc/sendmail.cf: line 139: fileclass: F{VirtHost}: map open failed
startproc: exit status of parent of /usr/sbin/sendmail: 71
failed

Wer kann mir helfen???

Gruß
charlie brown
Mitglied: 68702
68702 Feb 12, 2009 at 11:06:20 (UTC)
Goto Top
Hast du mal ein chkfs gemacht ?
Versuch` doch mal sendmail neu zu installieren.
Steht was brauchbares in den log-files (direkt nach dem stromausfall) ?