• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Postfix lässt sich nicht starten!

Status
Für weitere Antworten geschlossen.

nils-l

Member
Hallo!
Probiere schon seit einiger Zeit herum, postfix in Verbindung mit Cyrus Imap etc zum laufen zu bekommen.
Benutze dabei die Anleitung von http://www.linux-tin.org/tin.german/setupguide/server/suse/html/mailserver.htm
Habe postfix zwar zum laufen bekommen, und das Anlegen von Imap-Boxen etc klappte auch. Ebenso holt fetchmail emails von außen ab, und hier beginnt das Problem. Diese werden nicht zugestellt.
Wenn ich bei Webmin unter Postfix Configuration schaue, steht dort xxx Messages in Queue.
Habe mir dann die Anleitung nochmal angeschaut und gesehen, das meine /etc/postfix/master.cf etwas anders aussieht.
Habe sie jetzt soweit geändert, dass sie den gleichen Inhalt hat wie in der Anleitung:
Code:
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
pickup fifo n n n 60 1 pickup
cleanup unix - - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -m ${extension} ${user}
Wenn ich dann aber ein rcpostfix restart mache, steht in der /var/log/mail:
Code:
Apr 29 13:39:25 linux postfix/master[21281]: fatal: /etc/postfix/master.cf: line 125: bad transport type: user=cyrus
Vorher hatte die master.cd folgenden Inhalt:
Code:
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp    inet  n       -       n       -       2       smtpd -o content_filter=smtp:[localhost]:10024
#smtps    inet  n       -       n       -       2       smtpd -o smtpd_tls_wrappermode=yes -o content_filter=smtp:[localhost]:10024
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission     inet    n       -       n       -       -       smtpd
#  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628      inet  n       -       n       -       -       qmqpd
pickup          fifo  n       -       n       60      1       pickup
cleanup         unix  n       -       n       -       0       cleanup
qmgr    fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       nqmgr
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
rewrite         unix  -       -       n       -       -       trivial-rewrite
bounce          unix  -       -       n       -       0       bounce
defer   unix  -       -       n       -       0       bounce
flush   unix  n       -       n       1000?   0       flush
proxymap  unix        -       -       n       -       -       proxymap
smtp    unix  -       -       n       -       -       smtp
relay   unix  -       -       n       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix        n       -       n       -       -       showq
error     unix        -       -       n       -       -       error
local   unix  -       n       n       -       -       local
virtual         unix  -       n       n       -       -       virtual
lmtp    unix  -       -       n       -       -       lmtp
localhost:10025 inet  n       -       n       -       -       smtpd -o content_filter=
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus   unix  -       n       n       -       -       pipe
  user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp    unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
vscan     unix  -       n       n       -       10       pipe
  user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail  unix  -       n       n       -       -       pipe
  flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}

Hat jemand eine Idee, wie ich das ganze wieder zum laufen kriege?
Am besten so, dass es auch endlich mal funktioniert *ggg*

Vielen Dank schonmal!
 
OP
N

nils-l

Member
ein postconf -n gibt mir:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = vscan:
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_privs = nobody
defer_transports =
disable_dns_lookups = no
local_destination_concurrency_limit = 2
luser_relay = root@linux.lan
mail_spool_directory = /var/mail
mailbox_command = /usr/lib/cyrus/bin/deliver
mailbox_size_limit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname,$mydomain
mydomain = linux.lan
myhostname = linux.lan
mynetworks = 192.168.0.0/24
newaliases_path = /usr/bin/newaliases
program_directory = /usr/lib/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost = nils-liebherr.de
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_use_tls = no
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450
 
Status
Für weitere Antworten geschlossen.
Oben