PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : HILFE: Deliver geht nicht



ThyMaster
19.02.03, 20:43
Hi,

ich habe alles probiert.
Ich habe das HowTo von Roland Huber minutiös befolgt und unter meinem SuSE 8.1 läuft folgendes einwandfrei:
Ich kann mit Postfix Mails empfangen und versenden.
Empfangene Mails landen in der /var/spool/username

Ich kann mich einwandfrei auf Cyrus Accounts einloggen und auch erfolgreich Mails versenden.

Nur: Eingehende Mails bleiben einfach in der /var/spool/username Queue "stecken".

Auch meine message.log gibt *keinen* Aufschluss darüber ob deliver angestossen wird oder nicht. Es existiert zumindest keine Meldung.

Meine: /etc/cyrus.conf

# standard standalone server implementation

START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"
# added by falko
# mboxlist cmd="ctl_mboxlist -r"
# deliver cmd="ctl_deliver -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=0
imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0

# 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=0

# 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
}

Die Einträge in der /etc/postfix/master.cf (Auszug)
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (50)
# ================================================== ========================
lmtp unix - - n - - lmtp
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
# The Cyrus deliver program has changed incompatibly.
#
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -m ${extension} ${user}

Die Einträge in der /etc/postfix/main.cf (Auszug)
mailbox_command = /usr/lib/cyrus/bin/deliver
mailbox_transport = cyrus

Hat irgenjemand Rat?

Gruß
Falko

stefaan
19.02.03, 21:51
Servus!

Du hast da in der master.cf etwas übersehen.
Mit flags= user=cyrus argv=/usr/cyrus/bin/deliver -r ${sender} -m ${extension} ${user} gehts einwandfrei.

Tipp:
http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO-depricated/html/configuration.html

Grüße, Stefan