8 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Fwd: Maildrop virtual...
FromSent OnAttachments
Mark KrenzNov 15, 2004 5:56 am 
Petri RiihikallioNov 15, 2004 10:32 am 
Mark KrenzNov 15, 2004 1:41 pm 
Tony EarnshawNov 16, 2004 2:39 am 
Petri RiihikallioNov 16, 2004 12:24 pm 
Mark KrenzNov 16, 2004 9:06 pm 
mail...@d-g-c.deNov 17, 2004 1:32 am 
Petri RiihikallioNov 17, 2004 1: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] Fwd: Maildrop virtual destination home directory permissionsActions...
From:Mark Krenz (ma@suso.org)
Date:Nov 15, 2004 1:41:39 pm
List:net.sourceforge.lists.courier-maildrop

On Mon, Nov 15, 2004 at 06:32:36PM GMT

How you set the home directory for virtual users depends on many factors. You didn't reveal anything of your setup: configuration files, operating system, its version, Postfix version, Maildrop version, database back-end type (LDAP/RDBMS), its implementation or version.

Sorry, here goes:

Fedora Core 2 Linux (with all updates) 2.6.9 kernel Postfix 2.0.18 (running as user postfix) (with mysql) maildrop 1.7.0 (compiled and configured with Mysql extensions) MySQL 4.0.21

virtual account mail goes to /home/vmail/<domainname>/<accountname>/Maildir/

Postfix is setup to read several configuration maps from MySQL such as in the tutorial at http://www.gfxcafe.com/Mail%20Howto.htm

I have maildrop setup to be the transport used for virtual mailbox delieveries. Originally I successfully set this up to just use the virtual transport, but now am trying to extend it to use maildrop for the added functionality. I have maildrop setup as a transport in /etc/postfix/master.cf like this:

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

And then I have the domain that I'm sending mail to setup to use maildrop: as its transport. Then there is a user called test@slugbug.org that is setup in the mysql table that is referenced by the virtual_mailbox_maps setting. The test@slugbug.org account has a homedir of /home/vmail/slugbug.org/testing and a Maildir set to /home/vmail/slugbug.org/testing/Maildir

Is also has a uid and gid field that is set to 510 for each. This is the uid and gid of another account 'mark'. Not the vmail account. The vmail account owns /home/vmail and /home/vmail/slugbug.org. The mark account owns /home/vmail/slugbug.org/testing and everything beneath that.

So when maildrop errors with the error that the home directory is world writable, which homedirectory is it refering too? And what should the ownership and permissions be set to?

Let me know if there is any other information you need to help me.

Thanks, Mark