1 message in net.sourceforge.lists.courier-maildropRe: [maildropl] Re: Invalid home dire...
FromSent OnAttachments
sdgesa gaeharthNov 10, 2003 8:04 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] Re: Invalid home directory error with postfix or command-lineActions...
From:sdgesa gaeharth (poll@yahoo.com)
Date:Nov 10, 2003 8:04:40 pm
List:net.sourceforge.lists.courier-maildrop

so in your opinion, what should the two values be, given the sql data and file structure i have set up. I get confused becaused i dont have a folder called "maildir" in each user's folder/mailbox.

maildir_field ????? homedirectory_field ?????

+----------------+------+------+-----------------+ | address | uid | gid | domain |maildir | quota | +----------------+------+------+-----------------+ | jo@domain.com | 1154 | 1001 | dullesmicro.com | jo@domain.com/ | 1000 | +----------------+------+------+-----------------+

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

On Mon, 2003-11-10 at 19:03, sdgesa gaeharth wrote:

no, no!!!

/mail is the folder (partition) where everyone's email folder is.

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

I am not trying to set every login account's home directory to /mail

the mail directory is owned by root. the jo@domain.com folder is owned by user id : 1154 which is the userid specified in the mysql database.

Everything works perfectly with my current postfix/mysql/courier-imap configuration. I am trying to add maildrop. Do I have the maildir and home values backwards?

$HOME = home directory to search for .mailfilter file, must be owned by Unix UID of the account to deliver...

$MAILDIR = Mailbox/Maildir to deliver to, relative to $HOME (unless it's an absolute path).

With Postfix virtual mailbox domains, there is no $HOME--you can only set it to a fixed path that contains all of your virtual mailboxes. With Maildrop, you can set it individually for all virtual user accounts--but whatever it's set to must be owned by the delivery UID.