atom feed11 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] maildrop + Ldap , mai...
FromSent OnAttachments
algodasApr 24, 2009 11:49 am 
Sam VarshavchikApr 24, 2009 3:55 pm 
algodasApr 25, 2009 3:07 pm 
Sam VarshavchikApr 25, 2009 3:43 pm 
algodasApr 26, 2009 4:04 pm 
Sam VarshavchikApr 26, 2009 5:00 pm 
algodasApr 27, 2009 6:58 am 
Sam VarshavchikApr 27, 2009 3:04 pm 
Tiago GomesMay 22, 2009 6:47 am 
algodasMay 22, 2009 1:29 pm 
Sam VarshavchikMay 22, 2009 4:00 pm 
Subject:Re: [maildropl] maildrop + Ldap , maildirsize don't update
From:Sam Varshavchik (
Date:May 22, 2009 4:00:52 pm

algodas writes:

The maildrop's permission

# ls -la /usr/local/bin/maildrop -rwsrwxrwx 1 maildrop www 763422 Apr 28 18:25 /usr/local/bin/maildrop

Again, world-writable permissions are always wrong, no matter what you're trying to do.

// Permission to user maildrop and group www , respectly : 1003 and 8

# ls -la /mailbox/

I didn't ask you about mailbox permissions, but rather which option you have selected, based on the instructions in maildrop's INSTALL file:


When using the standalone maildrop build with courier-authlib, one of the following configurations must be used:

* Your mail server must invoke maildrop as the root user (the -d flag reads the mail account's uid and gid, then drops root) . * Manually change the permissions on the maildrop binary to be setuid root. * Manually change the permissions on the courier-authlib's socket directory (/usr/local/var/spool/authdaemon by default) to be globally readable or executable.

The default permissions on courier-authlib's socket directory blocks world-access to the filesystem socket connected to courier-authlib's authentication daemon process. In order for maildrop to connect to the authentication library, maildrop must either have root privileges (which will be temporary, as soon as maildrop determines the account's userid and groupid, it will drop root, before reading the maildroprc file), or courier-authlib's socket directory must have world read and execute permission.

Again, which option, from the list above, did you choose when you configured maildrop to use courier-authlib. The permissions and the ownership of your maildrop binary is not sufficient information to determine that.

Furthermore, you can easily do some additional debugging yourself. For example, take a look to what value MAILDIRQUOTA gets set, when delivering mail. Put some echo statements in your maildrop recipe, to check the value of MAILDIRQUOTA.

------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship.