7 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] maildrop ldap lookup ...
FromSent OnAttachments
Daniel LudwigSep 5, 2005 3:31 am 
Tony EarnshawSep 5, 2005 8:27 am 
Tony EarnshawSep 5, 2005 8:57 am 
Daniel LudwigSep 7, 2005 9:54 am 
Andrew GarganSep 8, 2005 2:05 am 
Tony EarnshawSep 10, 2005 1:34 am 
Daniel LudwigSep 19, 2005 4:05 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] maildrop ldap lookup confusion ?Actions...
From:Daniel Ludwig (dlud@alphyra-evs.de)
Date:Sep 7, 2005 9:54:59 am
List:net.sourceforge.lists.courier-maildrop

Thanks Tonni ... but I still can't see what's wrong here...

Tony Earnshaw wrote:

man, 05.09.2005 kl. 15.17 skrev Tony Earnshaw:

[...]

Postfix' virtual transport works fine but when I try to switch to "virtual_transport = maildrop" I get a "Cannot find system user"-error.

Yuk. Sorry, this just means you don't have a maildrop transport in master.cf - or it isn't configured correctly.

But I even get this error if i use maildrop on the shell, so at this point the postfix-transport should not be in boat, or am I wrong ?

like this:

vmail@hostname:~> /usr/local/bin/maildrop -V 9 -d us@mydomain.com < message maildrop: authlib: groupid=100 Cannot find system user us@mydomain.com maildrop: signal 0x06

If I replace the virtual account "us@mydomain.com" with a systemaccount-user maildrop delivers my message. But it doesn't work with one of my virtual LDAP users.

And I got a maildrop-transport configured: maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}

I also tried: maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -w 80 -d ${user} ${sender} ${recipient} ${extension} ${user}

But I think the first thing to ensure is that maildrop works on the shell, not yet in postfix !

What version of Postfix?

- postfix-2.2.1-3 (rpm) - courier-authlib-0.57.tar.bz2 (from sources) - maildrop-1.8.1.tar.bz2 (from sources, not PCRE yet)

You can't switch to maildrop from Postfix ;)

but I can switch from "virtual transport = virtual" to "virtual transport =
maildrop"... ;P

below Kari Matsson's definitive (for me) post.

..cut out... see last reply !

I see no big difference to my configuration.

Are there any important things to remember at compile-time when using maildrop with LDAP ? I did this:

courier-authlib: /configure --with-mailuser=3000 --with-mailgroup=100 make make install make install-migrate make install-configure

maildrop: export COURIERAUTHCONFIG="/usr/local/bin/courierauthconfig"; ./configure --enable-maildirquota --enable-maildrop-uid=3000 --enable-maildrop-gid=100 --with-trashquota --enable-authlib --enable-syslog=1 --enable-trusted-users="root vmail" --enable-restrict-trusted=1 make make install-strip make install-man

Any ideas are welcome ... ;)

Bye Daniel