Re: [Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-02-02 Thread Patrick Ben Koetter
* Timo Sirainen <[EMAIL PROTECTED]>: > On Thu, 2008-01-31 at 20:49 +0100, Patrick Ben Koetter wrote: > > * Timo Sirainen : > > > On Thu, 2008-01-31 at 20:36 +0100, Patrick Ben Koetter wrote: > > > > # Mail delivery > > > > Jan 31 20:28:20 mail deliver(p): Loading modules from directory: > > > > /u

Re: [Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-02-02 Thread Timo Sirainen
On Thu, 2008-01-31 at 20:49 +0100, Patrick Ben Koetter wrote: > * Timo Sirainen : > > On Thu, 2008-01-31 at 20:36 +0100, Patrick Ben Koetter wrote: > > > # Mail delivery > > > Jan 31 20:28:20 mail deliver(p): Loading modules from directory: > > > /usr/lib/dovecot/modules/lda > > > Jan 31 20:28:20

Re: [Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-01-31 Thread Patrick Ben Koetter
* Timo Sirainen : > On Thu, 2008-01-31 at 20:36 +0100, Patrick Ben Koetter wrote: > > # Mail delivery > > Jan 31 20:28:20 mail deliver(p): Loading modules from directory: > > /usr/lib/dovecot/modules/lda > > Jan 31 20:28:20 mail deliver(p): Module loaded: > > /usr/lib/dovecot/modules/lda/lib10_qu

Re: [Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-01-31 Thread Timo Sirainen
On Thu, 2008-01-31 at 20:36 +0100, Patrick Ben Koetter wrote: > # Mail delivery > Jan 31 20:28:20 mail deliver(p): Loading modules from directory: > /usr/lib/dovecot/modules/lda > Jan 31 20:28:20 mail deliver(p): Module loaded: > /usr/lib/dovecot/modules/lda/lib10_quota_plugin.so > Jan 31 20:28:2

Re: [Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-01-31 Thread Patrick Ben Koetter
Timo, thanks for picking up on this. Read the logs and my considerations below: * Timo Sirainen <[EMAIL PROTECTED]>: > On Sun, 2008-01-27 at 19:25 +0100, Patrick Ben Koetter wrote: > > > It is my understanding that mail_location only gets uses if no mail > > > attribute > > > is specified. In a

Re: [Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-01-31 Thread Timo Sirainen
On Sun, 2008-01-27 at 19:25 +0100, Patrick Ben Koetter wrote: > > It is my understanding that mail_location only gets uses if no mail > > attribute > > is specified. In any case, it appears that the above perhaps should read > > mailHomeDirectory=mail. Also making the home and the mail directory

Re: [Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-01-27 Thread Patrick Ben Koetter
* Jim Horner <[EMAIL PROTECTED]>: > > > The initial problem yet still remains. If I use "mailbox_command = > > ../deliver" deliver seems to use the $ENV settings. I can probably change > > those, but I'd rather have deliver read system user delivery options from > > LDAP, jsut as I do for my virtu

Re: [Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-01-27 Thread Jim Horner
> The initial problem yet still remains. If I use "mailbox_command = > ../deliver" deliver seems to use the $ENV settings. I can probably change > those, but I'd rather have deliver read system user delivery options from > LDAP, jsut as I do for my virtual users. Ah, I see. I guess what I was say

Re: [Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-01-27 Thread Patrick Ben Koetter
* Jim Horner <[EMAIL PROTECTED]>: > On Sunday 27 January 2008 12:48:24 Patrick Ben Koetter wrote: > > I am trying to tell Dovecot deliver to use $mail_location as the location > > > # Dovecot > > # dovecot-ldap.conf > > user_attrs = > > mailHomeDirectory=home,mailUidNumber=uid,mailGidNumber=gid,ma

Re: [Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-01-27 Thread Patrick Ben Koetter
* Jim Horner <[EMAIL PROTECTED]>: > On Sunday 27 January 2008 12:48:24 Patrick Ben Koetter wrote: > > I am trying to tell Dovecot deliver to use $mail_location as the location > > > # Dovecot > > # dovecot-ldap.conf > > user_attrs = > > mailHomeDirectory=home,mailUidNumber=uid,mailGidNumber=gid,ma

Re: [Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-01-27 Thread Jim Horner
On Sunday 27 January 2008 12:48:24 Patrick Ben Koetter wrote: > I am trying to tell Dovecot deliver to use $mail_location as the location > # Dovecot > # dovecot-ldap.conf > user_attrs = > mailHomeDirectory=home,mailUidNumber=uid,mailGidNumber=gid,mailQuota=quota= >maildir:storage,mail=mailHomeDir

[Dovecot] Postfix, mailbox_command, Dovecot deliver, LDAP and mail_location

2008-01-27 Thread Patrick Ben Koetter
I am trying to tell Dovecot deliver to use $mail_location as the location to store mail for system users. From the docs I've read I believe this is possible, but mail to my system users always gets delivered to their /home/ homedirectory. Here's what I've don