Re: [Dovecot] lda and mail_location

2007-06-28 Thread Timo Sirainen
On 28.6.2007, at 5.12, Mark Edwards wrote: Unless I specifically have /var/mail/virtual returned as home in the ldap lookup, deliver can't find the directory. In other words, it doesn't seem to respect the above mail_location setting. In addition, if I don't have a pre-existing maildir

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 08:17 -0700, Mark Edwards wrote: Jun 27 18:56:52 mini deliver([EMAIL PROTECTED]): auth input: mail=mark You're overriding it with mark. I see. Well, my aim is to avoid having to prefix my mailbox entries in my LDAP database with maildir:, and to avoid having

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Mark Edwards
On Jun 28, 2007, at 9:04 AM, Timo Sirainen wrote: My dovecot-ldap.conf contains: user_attrs = homeDirectory=home,mailbox=mail I'm setting mailbox=mail because otherwise dovecot uses postfix's destination, which is the entire destination email address. Are my only choices to either use

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Mark Edwards
On Jun 28, 2007, at 12:38 PM, Timo Sirainen wrote: Home directory is used wherever you have ~/ or %h. Or in your case because you tried to use a relative mail_location path and Dovecot chdired to home dir. So, is it correct that mail_location is the rule, unless mail is set in user_attrs, in

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 12:52 -0700, Mark Edwards wrote: One thing that still puzzles me is why userdb has to be set at all. In my case its totally unnecessary as far as I can tell, yet I get errors if I don't set it or set it to nothing. I have it set to return the home attribute right

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Mark Edwards
On Jun 28, 2007, at 1:01 PM, Timo Sirainen wrote: On Thu, 2007-06-28 at 12:52 -0700, Mark Edwards wrote: One thing that still puzzles me is why userdb has to be set at all. In my case its totally unnecessary as far as I can tell, yet I get errors if I don't set it or set it to nothing. I

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 23:12 +0300, Timo Sirainen wrote: On 28.6.2007, at 23.10, Mark Edwards wrote: For v1.1 I'll add new global mail_uid and mail_gid settings. Then if you use them userdb won't be needed. I am using user_global_uid and user_global_gid, and so there is no reason

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Timo Sirainen
On 28.6.2007, at 23.10, Mark Edwards wrote: For v1.1 I'll add new global mail_uid and mail_gid settings. Then if you use them userdb won't be needed. I am using user_global_uid and user_global_gid, and so there is no reason for userdb to return uid and gid ini my case, in fact I have it

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Mark Edwards
On Jun 28, 2007, at 1:12 PM, Timo Sirainen wrote: On 28.6.2007, at 23.10, Mark Edwards wrote: For v1.1 I'll add new global mail_uid and mail_gid settings. Then if you use them userdb won't be needed. I am using user_global_uid and user_global_gid, and so there is no reason for userdb to

Re: [Dovecot] lda and mail_location

2007-06-27 Thread Timo Sirainen
On Wed, 2007-06-20 at 00:18 -0700, Mark Edwards wrote: I have the following set in the main level of my dovecot.conf file: mail_location = maildir:/var/mail/virtual/%u I decided to enable the lda protocol for local delivery from postfix, so I could use sieve plugins. The lda protocol

[Dovecot] lda and mail_location

2007-06-20 Thread Mark Edwards
I have the following set in the main level of my dovecot.conf file: mail_location = maildir:/var/mail/virtual/%u I decided to enable the lda protocol for local delivery from postfix, so I could use sieve plugins. The lda protocol seems to ignore settings in the rest of the dovecot.conf