2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Help! got stuck...(us...
FromSent OnAttachments
Andreas VogtNov 10, 2004 8:34 am 
p dont thinkNov 10, 2004 10:35 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Help! got stuck...(user unknown. Command output: Invalid user specified. )Actions...
From:p dont think (pdon@angrynerds.com)
Date:Nov 10, 2004 10:35:44 am
List:net.sourceforge.lists.courier-maildrop

Andreas Vogt wrote:

Hi, I'm using postfix with maildrop and ldap on freebsd. I googled and read very much...but I haven't found an answer yet. Postfix is working with virtual accounts in ldap-tree very well. Maildirs for e.g. us@domain.tld has the following path: /var/vmail/d/domain.tld/user/Maildir I compiled with WITH_LDAP=yes and configured /usr/local/etc/maildrop/maildropldap.conf

did you compile with --enable-maildirquota?

Now I wanted to add support for quotawarnmessage. I added the following lines to main.cf and master.cf.

main.cf:

virtual_transport = maildrop maildrop_destination_recipient_limit = 1 maildrop_destiantion_concurrency_limit = 1

I've never seen the concurrency need to be changed from its default for maildrop to work right.

local_transport = maildrop mailbox_command = maildrop -w 90 -v

I believe you are confusing these settings. If you change the transport, the mailbox_command is not where you want to do this.

master.cf:

maildrop unix - n n - - pipe -v flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop}

woa. ever done a man maildrop? what are you expecting all those args to do? try something like this:

maildrop unix - n n - - pipe flags=uR user=vmail argv=/usr/local/bin/maildrop -d $recipient -w 90

but mail isn't delivered. I tried several settings. None worked.

maillog sais:

postfix/pipe[79935]: 1C74E508B0: to=<us@pop.domain.tld>, relay=maildrop, delay=7463, status=bounced (user unknown. Command output: Invalid user specified. )

- How can look into the variables($user,$nexthop...)? -- Are they all set? -- What does maildrop exactly do with them? - Does maildrop lookup in ldap tree?. - Any suggestions for other agent than maildrop?

I'm really stuck. I works for local unix-accounts in console. If desired, I'll provide more logs or confs.