[Dovecot] file system permissions

Anil replicase at gmail.com
Mon Jan 14 05:20:44 EET 2008


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 version are you using?

Can you send me your entire configuration?
This is really getting annoying. :)

Thanks.


On Jan 13, 2008 7:15 PM, Anil <replicase at gmail.com> wrote:
> 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 have those defined, it should fall back
> to "global" uid/gid.
>
>
>
>
> On Jan 13, 2008 7:10 PM, Jim Horner <jhorner at arinbe.com> wrote:
> > 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 = 10000
> > > mail_gid = 10000
> > > mail_location = maildir:/var/mail/apps/%d/%n/Maildir
> > > ...
> > >
> > > Userdb database is LDAP based. Some users in LDAP might have a uid/gid
> >
> >
> > We do the same thing but we use user_global_uid and user_global_gid defined in
> > the dovecot-ldap.conf file... it is not clear if you are using a PAM/LDAP or
> > direct LDAP configuration but the options I mention are defined in this wiki
> > page:
> >
> > http://wiki.dovecot.org/AuthDatabase/LDAP
> >
>


More information about the dovecot mailing list