Page 1 of 1

Postfix: maildrop liefert anstatt nach Maildir in mbox :(

Posted: 2008-03-18 14:22
by plepps
Hallo,

ich versuche virtuelle domains unter postfix zum laufen zu bekommen. (opensuse 10.3)

soweit alles schön, imap geht, ich kann versenden - nur der empfang scheitert. Im postfix log kommt:

Code: Select all

Mar 18 13:29:33 machtnix postfix/pipe[3925]: DD27C3930019: to=<yyy@xxx.de>, relay=maildrop, delay=0.32, delays=0.21/0.01/0/0.1, dsn=2.0.0, status=sent (delivered via maildrop service)
aber in /home/vmail/xxx.de/yyy/Maildir/new ist nix. rufe ich maildrop von der commandline auf, dann sieht man wohin sie "verschwinden". Statt ins Maildir, gehen die in die mbox nach /var/mail/yyy@xxx.de. :(

Code: Select all

maildrop -V 5 -d yyy@xxx.de < testmail
maildrop: authlib: groupid=5000
maildrop: authlib: userid=5000
maildrop: authlib: logname=yyy@xxx.de, home=/home/vmail/xxx.de/yyy/, mail=(default)
maildrop: Changing to /home/vmail/xxx.de/yyy/
Message start at 0 bytes, envelope sender=yyy@xxx.de
maildrop: Attempting .mailfilter
maildrop: Delivering to /var/mail/yyy@xxx.de
maildrop: Flock()ing /var/mail/yyy@xxx.de.
maildrop: Appending to /var/mail/yyy@xxx.de.
maildrop: Delivery complete.
so, nun die frage, wie sage ichs dem maildrop?

maildrop rufe ich in der master.cf wie folgt auf:

Code: Select all

maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
hoffe mal jemand hat ne idee
der tom

Re: Postfix: maildrop liefert anstatt nach Maildir in mbox :(

Posted: 2008-03-29 20:53
by torstenk
Wird das nicht in der main.cf eingestellt ??

Code: Select all

# DELIVERY TO MAILBOX
#
# The home_mailbox parameter specifies the optional pathname of a
# mailbox file relative to a user's home directory. The default
# mailbox file is /var/spool/mail/user or /var/mail/user.  Specify
# "Maildir/" for qmail-style delivery (the / is required).
#
#home_mailbox = Mailbox
home_mailbox = Maildir/

Re: Postfix: maildrop liefert anstatt nach Maildir in mbox :(

Posted: 2008-03-29 21:17
by plepps
torstenk wrote:Wird das nicht in der main.cf eingestellt ??

Code: Select all

home_mailbox = Maildir/
das habe ich drinn.

wenn man sich den debug output vom maildrop ansieht fängt er ja eigentlich auch richtig an, nur dann gehts doch schief.
das maildir verzeichnis ansich ist da, die rechte stimmen auch - ich raffe es einfach nicht.

tom

Re: Postfix: maildrop liefert anstatt nach Maildir in mbox :(

Posted: 2008-03-30 00:18
by Roger Wilco
torstenk wrote:Wird das nicht in der main.cf eingestellt ??
Die Priorität von home_mailbox ist geringer als bspw. die von mailbox_command.

Re: Postfix: maildrop liefert anstatt nach Maildir in mbox :(

Posted: 2008-03-30 10:23
by freddy36
Musst mal gucken was Postfix an Environment variablen an Maildrop übergibt.
Ich hab zwar noch nie mit Maildrop zutun gehabt, aber mit procmail hatte ich ein ähnliches Problem, da musste ich noch ein Parameter für procmail in den mailbox_command einbauen. Vielleicht ist das in deinem Fall so ähnlich.