smtp: No such file or directory

Hallo,

ich habe leider ein Problem und komme nicht weiter.
Ich musste ein Backup einspielen, danach war das Filesystem beschädigt und nun kann ich keine Mails mehr an extern senden. Vorher ging das jedoch zumindest über das Webmail noch.
Den Fehler, warum das über einen Email-Client nicht ging habe ich behoben. Es war ein Fehler in der PAM Konfiguration.

So, nun aber zu meinem Problem das ich garkeine Mails mehr an extern senden kann.
Hier mal meine main.cf

Code:
############ main.cf ############
##############################
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

append_dot_mydomain = no

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

myhostname = *****.serverkompetenz.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = *****.serverkompetenz.net, localhost.serverkompetenz.net, *****, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/vms-forwardings.cf mysql:/etc/postfix/vms-email2email.cf
virtual_mailbox_domains = mysql:/etc/postfix/vms-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/vms-mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_sasl_local_domain = #$myhostname

virtual_transport = maildrop


Code:
==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd -o content_filter=spamassassin
spamassassin unix - n n - - pipe user=vmail argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${user} ${nexthop}
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
relay     unix  -       -       -       -       -       smtp
        -o fallback_relay=
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
====================================================================

Alle Sachen die bei mir eh Auskommentiert sind habe ich weggelassen. Wird sovielleicht übersichtlicher.
Die Authentifizierung erfolgt via MySQL.

In /var/log/syslog habe ich folgende Fehler:
Jun 9 20:22:22 h1175447 postfix/qmgr[15510]: warning: connect to transport smtp: No such file or directory

Kann mir hier jemand helfen?

Gruß & Danke
Pascal
 
Schau mal nach, ob Dein smtp überhaupt noch da ist:
ls -l /usr/lib/postfix/smtp

Wenn ja, dann prüfe Deine Conf, ob sie im richtigen Verzeichnis sucht:
postconf | grep daemon_directory

Wenn aber nein, dann prüfe, ob es evtl. ein anderes ähnliches Verzeichnis gibt:
whereis postfix
locate smtp

huschi.
 
Code:
root:/etc/postfix# ls -l /usr/lib/postfix/smtp
-rwxr-xr-x 1 root root 69368 2007-03-21 12:17 /usr/lib/postfix/smtp
root:/etc/postfix# postconf | grep daemon_directory
daemon_directory = /usr/lib/postfix
root7:/etc/postfix#

Scheinbar sucht er wohl im falschen Verzeichnis, oder?
Und wo ändere ich das? In der main.cf ists nicht aufgeführt.

Gruß
 
Scheinbar sucht er wohl im falschen Verzeichnis, oder?
Ich weiß ja nicht, wo Du hinschaust, aber ich sehe, daß von der Seite alles in Ordnung ist.

Aber bei genauerer Betrachtung der master.cf sehe ich folgende Zeile nicht:
Code:
smtp      unix  -       -       -       -       -       smtp
Ist die nur beim Cut&Paste rausgefallen, oder existiert die wirklich nicht?
egrep '^smtp' /etc/postfix/master.cf

huschi.
 
Jiha!

Die Zeile in der master.cf hatte gefehlt. Nun gehts wieder! Danke :)

Zu dem anderen:
Ich dachte das wäre ein Ordner, habs mir nicht genau angeschaut und dachte, das der Ordner eben nicht angegeben ist. Meine Augen sind noch in Ordnung :D

Gruß & Danke
Pascal
 
Back
Top