8 messages in net.sourceforge.lists.courier-maildropRE: [maildropl] Cannot set my user or...
FromSent OnAttachments
Sérgio A P FerreiraOct 10, 2005 6:10 am.dat
Jay LeeOct 10, 2005 7:32 am 
Jay LeeOct 10, 2005 7:52 am 
Jure KorenOct 10, 2005 8:25 am 
Sérgio A P FerreiraOct 10, 2005 9:07 am 
Sérgio A P FerreiraOct 10, 2005 9:22 am 
Jay LeeOct 10, 2005 9:28 am 
Sérgio A P FerreiraOct 10, 2005 12:16 pm 
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] Cannot set my user or group idActions...
From:Sérgio A P Ferreira (serg@minc.gov.br)
Date:Oct 10, 2005 12:16:20 pm
List:net.sourceforge.lists.courier-maildrop

Jay,

I Did It, just like you said. See what is occurring.

When I set "mailbox command" on main.cf file to:

#mailbox_command = /usr/bin/maildrop -d mailadmin ${extension} ${recipient} ${user} ${nexthop} ${sender}

It was logged:

maildrop[4719]: Cannot set my user or group id. postfix/local[4718]: 926964C058: to=<serg@cultura.gov.br>, relay=local, delay=0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Cannot set my user or group id. )

Then, I changed to it:

mailbox_command = /usr/bin/maildrop -d $USER

It was logged:

postfix/local[4798]: A8D3D4C091: to=<serg@cultura.gov.br>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/maildrop -d $USER)

I have a look at compiling options, take a look:

# maildrop -v maildrop 1.7.0 Copyright 1998-2003 Double Precision, Inc. GDBM extensions enabled. Maildir quota extension enabled. Virtual user database extension enabled. This program is distributed under the terms of the GNU General Public License. See COPYING for additional information.

LDAP support doesn´t apear here, It shouldn´t apear?

Thanks,

Sergio Ferreira CGINF - Ministério da Cultura

-----Original Message----- From: cour@lists.sourceforge.net [mailto:cour@lists.sourceforge.net] On Behalf Of Jay Lee Sent: Monday, October 10, 2005 1:26 PM To: Sérgio A P Ferreira Cc: cour@lists.sourceforge.net Subject: Re: [maildropl] Cannot set my user or group id

Sérgio A P Ferreira wrote:

I set It in a limited range(10000 up to 20000). They are not unique, they are sequential. The maildamin user, who I want to be the owner of maildrop, has uidNumber=10010 and gidNumber=15000.

Try commenting out LDAP_UID and LDAP_UID and adding:

LDAP_GLOB_UID 10000 LDAP_GLOB_GID 10000

except that 10000 should be the UID/GID of the account your testing with. Make sure the Homedir is owned by this UID/GID also. See if that works. Also try turning up DEBUGGING in authdaemonrc.