6 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] How mail drop handles...
FromSent OnAttachments
Philon TervingNov 10, 2004 5:26 am 
cr...@odi.com.brNov 10, 2004 5:53 am 
Barry FlanaganNov 10, 2004 6:04 am 
cr...@odi.com.brNov 10, 2004 6:30 am 
Barry FlanaganNov 10, 2004 6:47 am 
Thorsten HaudeNov 12, 2004 8:59 am 
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] How mail drop handles Postfix+mysql setupActions...
From:Barry Flanagan (barr@flanagan.ie)
Date:Nov 10, 2004 6:47:40 am
List:net.sourceforge.lists.courier-maildrop

cr@odi.com.br wrote:

In the mysql homedir is domain/user, in postfix and courier imap home dir is /mail/ so mail is delivered to /mail/domain/user, will maildrop handle the merge the home dirs?

Yes and no. In maildropmysql.conf there are two entries homedirectory_field and maildir_field.

If you set the homedirectory_field to a field that will return "/mail" and the maildir_field to a field which returns "domain/user" then you should be OK.

I had the same problem (although using LDAP) and had to hack the maildrop source so I could set a default_homedirectory in the conf file, as I could not change the LDAP schema. With MySQL it should be easy enough to add a new field to home the "/mail" data, so you can do it without any big changes.