Re: [Dovecot] file system permissions

2008-01-19 Thread Timo Sirainen
On Sun, 2008-01-13 at 18:37 -0800, Anil wrote: > I am using Maildir and virtual domains. > > I have the following definitions in the dovecot.conf: > mail_uid = 1 > mail_gid = 1 > mail_location = maildir:/var/mail/apps/%d/%n/Maildir > ... .. > I set the permissions of /var/mail/apps, /var/m

Re: [Dovecot] file system permissions

2008-01-13 Thread Anil
Jim, Maybe 1.1 doesn't have this option? Jan 13 19:17:15 vds5 dovecot: [ID 107833 mail.error] auth(default): Error in configuration file /usr/local/dovecot/etc/dovecot-ldap.conf line 26: Unknown setting: user_global_uid It might be that those were replaced with mail_uid and mail_gid in 1.1? Which

Re: [Dovecot] file system permissions

2008-01-13 Thread Anil
I am using direct LDAP. I want to make it so the user's LDAP overrides the default. If I set the default to user_global_uid/gid, would they get overriden? (I am going to try it now, but just asking...) So, generally the idea is that I will create users in LDAP with uid/gid but if the users don't h

Re: [Dovecot] file system permissions

2008-01-13 Thread Jim Horner
On Sunday 13 January 2008 21:37:27 Anil wrote: > I am using Maildir and virtual domains. > > I have the following definitions in the dovecot.conf: > mail_uid = 1 > mail_gid = 1 > mail_location = maildir:/var/mail/apps/%d/%n/Maildir > ... > > Userdb database is LDAP based. Some users in LDAP

[Dovecot] file system permissions

2008-01-13 Thread Anil
I am using Maildir and virtual domains. I have the following definitions in the dovecot.conf: mail_uid = 1 mail_gid = 1 mail_location = maildir:/var/mail/apps/%d/%n/Maildir ... Userdb database is LDAP based. Some users in LDAP might have a uid/gid defined. If thats the case, I want doveco