Postfix: maildrop liefert anstatt nach Maildir in mbox :(

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
plepps
Posts: 9
Joined: 2005-07-06 11:36
 

Postfix: maildrop liefert anstatt nach Maildir in mbox :(

Post 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
torstenk
Posts: 42
Joined: 2003-03-29 16:03
Location: Leverkusen
 

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

Post 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/
plepps
Posts: 9
Joined: 2005-07-06 11:36
 

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

Post 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
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

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

Post 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.
freddy36
Posts: 273
Joined: 2008-03-20 17:31
 

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

Post 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.