[Dovecot] Replication (Mac OS X)

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Oct 25 16:57:26 EEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 25 Oct 2013, Rusty Ross wrote:

> On Oct 25, 2013, at 9:42 AM, Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> wrote:
>
>> I'm pretty sure, that the od driver does return a "mail" field overriding the default mail_location setting. Therefore home=/Library/Server/Mail/Data/mail/%u gets not expanded.
>
> I don’t believe this is true, since I manually added:

>
>> default_fields = home=/Library/Server/Mail/Data/mail/%u
>
> to
>
>> userdb {
>> args = partition=/Library/Server/Mail/Config/dovecot/partition_map.conf enforce_quotas=no
>> default_fields = home=/Library/Server/Mail/Data/mail/%u
>> driver = od
>> }
>
> Before I added it, home was empty:

That means that the od driver does not return no "home" field.
Once you've added the default field for "home", Dovecot kicked in and 
added "home", but replaced %u with the login name rather then GUID.
Therefore I concluded that Dovecot does not expand the default 
mail_location setting, but the od driver returns "mail", which already has 
the GUID in it. Dovecot does nothing on the returned string.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUmp4xl3r2wJMiz2NAQJ1vQgAu7IqDsNilgunpabdflFbxjvSn006IB33
XsXWVmDfK/HtnNmaQUPZjvuqKZYcVvypBN2zrJR1wgaesVPX1ltEnctKE8brkpFD
iPGc5wH/UyNMSe/sOFfqcDaNDmASRQkDhq4lvXI1SPgLj9/0IPFgPOizhzXhWhm8
WTznq7WZyZUKkXXRUeitVhkrSWW0nCIeypxkbaZCNyrECDZNc2TeYBw+NMSBymmT
IgrG/8Sww36xRp3GA9fnCvCCmsdLx+5AT8reVtmJkZOsrm2GWZzFGDefVf0ZS1HX
9hjqoCjesQ0d3RdU4sOcIAPPFTz9JAPwhUh5UwstxfrbBDRtw7RBrA==
=0EA6
-----END PGP SIGNATURE-----


More information about the dovecot mailing list