[Freeipa-users] Dovecot IMAP with IPA 2.x?

Robert Marcano robert at marcanoonline.com
Mon Feb 6 13:20:08 UTC 2012


On 02/03/2012 03:43 AM, Natxo Asenjo wrote:
>
> further you do not need to have the Maildirs on the users' homedirs:
>
> http://wiki.dovecot.org/Authentication/Kerberos
> <quote>
> If you only want to use Kerberos ticket-based authentication:
>
> auth default {
>    mechanisms = gssapi
>    userdb static {
>      args = uid=vmail gid=vmail home=/var/vmail/%u
>    }
> }
> </quote>
>
> I have not tested it, but then you could have all the Maildirs in the
> imap server.
>

In order to have mail outside the user HOME, I use this

mail_location = 
maildir:/var/vmail/%u:INDEX=/var/vmail/index/%u:CONTROL=/var/vmail/control/%u

INDEX and CONTROL are not needed, I add those because we have filesystem 
quotas enabled, in this case INDEX and CONTROL files must be located 
outside the quota enabled filesystem to avoid problems like the user 
being unable to login to dovecot in order to free space




More information about the Freeipa-users mailing list