3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Run maildrop as another u...
FromSent OnAttachments
Daniel VillavicencioJan 27, 2008 2:19 pm 
Tony EarnshawJan 27, 2008 10:13 pm 
Devin RubiaJan 28, 2008 12:10 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:[maildropl] Run maildrop as another user (not vmail)Actions...
From:Daniel Villavicencio (vmda@cantv.net)
Date:Jan 27, 2008 2:19:46 pm
List:net.sourceforge.lists.courier-maildrop

Hi everyone, i'm new to the list, i have recently installed a mail server using postfix, ldap, amavisd-new, spamassassin, clamav and courier-maildrop, i was following this howto:

http://contrib.lynuxsolutions.com/doku.php?id=documentation:mailserver:mail_server_on_debian_gnu_linux-all

for amavisd-new i follow other howto from howtoforge, everything is working fine but i wanned to change a little my configuration, in the howto i followed the home directory of the users was owned by vmail user so the authldaprc was using vmail as the global uid and gid for all my users, now i want to change this so the authldaprc use the uid and gid from the user, everything seems to be ok, but when my server receive email for a local user the maildrop can't write the email to the Maildir directory and i get an error like this:

you are not a trusted user

this is what i have in my master.cf for maildrop:

maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} -w 80

i supose the problem is that maildrop always run as the vmail user and i need to change so maildrop runs as the person that is receiving the email or make the vmail user a trusted user for every user in my ldap or something like this and i don't know how to do this so please if you could help me do this it would be great

I'm using debian 4.0 (etch), postfix 2.3.8, courier-maildrop 0.53.3, slapd 2.3.30 i installed everything using aptitude

thanks Daniel

PD: sorry about my english but i speak spanish