12 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Invalid home director...
FromSent OnAttachments
sdgesa gaeharthNov 10, 2003 7:13 am 
John LockeNov 10, 2003 8:06 am 
sdgesa gaeharthNov 10, 2003 8:58 am 
John LockeNov 10, 2003 10:53 am 
sdgesa gaeharthNov 10, 2003 11:08 am 
Sam VarshavchikNov 10, 2003 3:43 pm 
sdgesa gaeharthNov 10, 2003 7:04 pm 
John LockeNov 10, 2003 7:21 pm 
Sam VarshavchikNov 10, 2003 8:19 pm 
sdgesa gaeharthNov 11, 2003 11:53 am 
John LockeNov 11, 2003 6:13 pm 
Jamie McClellandNov 16, 2003 2:06 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] Invalid home directory error with postfix or command-lineActions...
From:sdgesa gaeharth (poll@yahoo.com)
Date:Nov 10, 2003 11:08:43 am
List:net.sourceforge.lists.courier-maildrop

--- John Locke <ma@freelock.com> wrote:

Hmm. Not sure where the problem is, but I do think it's a permissions issue. As far as I can tell, here's what you should be looking at:

... the home directory is where Maildrop looks for the ".mailfilter" file. This directory must be owned by the uid of the Unix user of the mail account. If you're using virtual users, this should be owned by whatever Unix account you use for your virtual users, and not be world-writable. If you have a ".mailfilter" file, it should be owned by the same user and have 600 permissions.

Your maildir directory should also be owned by the Unix user account for your virtual user, and not be world-writeable.

Beyond this much, I'd have to do some digging, but I've found the error messages to be helpful locating the problem...

On Mon, 2003-11-10 at 08:58, sdgesa gaeharth wrote:

thanks for the reply... I changed the permissions, they look like this now:

drwxr-xr-x 168 root root 8192 Nov 9 21:10 mail

But I still get the same error. /usr/local/bin/maildrop -d "jo@domain.com"

/usr/local/bin/maildrop: Invalid home directory permissions - world writable.

with postfix: (temporary failure. Command output: maildrop: signal 0x0B

Cheers

can you tell me if I have put in the correct parameters in the set up the sql config file for maildrop compared to the directory structure that I have set up?

************************** Here is the sql config file for maildrop:

hostname localhost port 3306 database maildb dbuser test dbpw test dbtable users uid_field address uidnumber_field uid gidnumber_field gid maildir_field maildir homedirectory_field '/mail' quota_field quota ************************** Here is the sql database: +----------------+------+------+-----------------+-----------------+-------+ | address | uid | gid | domain | maildir | quota | +----------------+------+------+-----------------+-----------------+-------+ | jo@domain.com | 1154 | 1001 | dullesmicro.com | jo@domain.com/ | 1000 | +----------------+------+------+-----------------+-----------------+-------+ ************************** Here is the file structure:

/mail/jo@domain.com /mail/jo@domain.com/cur /mail/jo@domain.com/new /mail/jo@domain.com/tmp