[Postfixbuch-users] Postfix und Cyrus: lmtp-Socket-Problem
Hubertus Wegener
hubertus.wegener at rp-online.de
Mo Nov 29 15:07:51 CET 2004
Hallo zusammen,
ich habe ein Problem mit Postfix und Cyrus und komme nicht weiter.
Die Konfiguration habe ich kontrolliert und kann keinen Fehler entdecken,evtl. sehe ich auch den Wald vor lauter Bäumen nicht...
Die Fehlermeldung im Logfile lautet wie folgt:
Nov 29 13:57:44 mail1 postfix/qmgr[16264]: D8EE911B8: from=<hubertus.wegener at rp-online.de>, size=1016, nrcpt=1 (queue active)
Nov 29 13:57:44 mail1 postfix/qmgr[16264]: warning: premature end-of-input on private/lmtp socket while reading input attribute name
Nov 29 13:57:44 mail1 postfix/qmgr[16264]: warning: private/lmtp socket: malformed response
Nov 29 13:57:44 mail1 postfix/qmgr[16264]: warning: transport lmtp failure -- see a previous warning/fatal/panic logfile record for the problem description
Nov 29 13:57:44 mail1 postfix/master[16247]: warning: process /usr/lib/postfix/lmtp pid 16275 killed by signal 11
Nov 29 13:57:44 mail1 postfix/master[16247]: warning: /usr/lib/postfix/lmtp: bad command startup -- throttling
Kann mir jemand verraten, welches Problem der Socket hat?
Vielen Dank für Eure Hilfe!
Hubertus
postconf -n:
local_recipient_maps = $virtual_alias_maps $alias_maps
local_transport = lmtp:unix:public/lmtp
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_exceptions = root
maximal_queue_lifetime = 3d
message_size_limit = 20480000
mydestination = $myhostname ,$mydomain ,localhost.$mydomain
myhostname = mail.d-dns.de
mynetworks = 149.221.100.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_domains = $mydestination, hash:/etc/postfix/relay-domains
relayhost =
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_use_tls = no
smtpd_banner = $myhostname ESMTP
smtpd_error_sleep_time = 5s
smtpd_helo_required = yes
smtpd_junk_command_limit = 10
smtpd_recipient_limit = 100
smtpd_recipient_overshoot_limit = 10
smtpd_recipient_restrictions = reject_unknown_sender_domain,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
permit_mynetworks,
check_helo_access hash:/etc/postfix/helo_checks,
check_client_access hash:/etc/postfix/client_checks,
permit_sasl_authenticated,
check_client_access btree:/etc/postfix/dracd,
reject_unauth_destination,
check_sender_access hash:/etc/postfix/sender_checks,
check_recipient_access hash:/etc/postfix/recipient_checks,
check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
reject_rbl_client bl.spamcop.net,
permit
smtpd_data_restrictions = reject_unauth_pipelining,
permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_soft_error_limit = 10
smtpd_use_tls = no
strict_rfc821_envelopes = no
swap_bangpath = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
#############
cyrus.conf:
# standard standalone server implementation
START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"
# this is only necessary if using idled for IMAP IDLE
# idled cmd="idled"
}
# UNIX sockets start with a slash and are put into /var/lib/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=10
# imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=10
# pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=1
# at least one LMTP is required for delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
## lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
lmtpunix cmd="lmtpd" listen="/var/spool/postfix/public/lmtp" prefork=1
# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/lib/imap/socket/notify" proto="udp" prefork=1
}
EVENTS {
# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30
# this is only necessary if using duplicate delivery suppression
delprune cmd="ctl_deliver -E 3" period=1440
# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" period=1440
# Uncomment the next entry, if you want to automatically remove
# old messages of EVERY user.
# This example calls ipurge every 60 minutes and ipurge will delete
# ALL messages older then 30 days.
# enter 'man 8 ipurge' for more details
# cleanup cmd="ipurge -d 30 -f" period=60
}
#############
master.cf:
lmtp unix - - n - - lmtp
Mehr Informationen über die Mailingliste Postfixbuch-users