[Dovecot] Replication (Mac OS X)

2013-10-24 Thread Rusty Ross
Hello, I am taking a stab at setting up dovecot replication between two OS X Mavericks servers. (The dovecot version in Mavericks is 2.2.5.) The first question I have is in regards to userdb. The user accounts are Open Directory based. The output of: doveadm user ‘*' …yields only: # doveadm

Re: [Dovecot] Replication (Mac OS X)

2013-10-24 Thread Rusty Ross
Following up on my own message. Actually replication is working (mostly). Here are two issues at present: (1) Because doveadm user ‘*’ returns “submit”, replication is constantly trying to dsync for an account called “submit: Oct 25 00:36:20 auth: Error: od[getpwnam_ext](submit): No record for

Re: [Dovecot] Replication (Mac OS X)

2013-10-25 Thread Rusty Ross
On Oct 25, 2013, at 2:20 AM, Steffen Kaiser wrote: > please post your configuration. # doveconf -n # 2.2.5: /Library/Server/Mail/Config/dovecot/dovecot.conf # OS: Darwin 13.0.0 x86_64 hfs auth_mechanisms = cram-md5 plain login apop digest-md5 auth_realms = server1.rustytest.lan auth_socket_pat

Re: [Dovecot] Replication (Mac OS X)

2013-10-25 Thread Rusty Ross
On Oct 25, 2013, at 2:20 AM, Steffen Kaiser wrote: > please post your configuration. Sorry, my previous config email contains a typo. Please disregard the "cat auth-od.conf.ext” in that email. This is the accurate one: # cat auth-od.conf.ext # Authentication using Open Directory. Included

Re: [Dovecot] Replication (Mac OS X)

2013-10-25 Thread Rusty Ross
On Oct 25, 2013, at 9:36 AM, Steffen Kaiser wrote: > That's why doveadm user \* returns "submit" as user. That's an Apple (or > however made your package of Dovecot) question then, IMHO. Maybe. But assuming it’s there to stay (as per Apple), do you have any ideas about how to get the replicat

Re: [Dovecot] Replication (Mac OS X)

2013-10-25 Thread Rusty Ross
Also, based on the posted config, any ideas about how to populate the user “home” path with the user’s GUID rather than short name? ie: home/Library/Server/Mail/Data/mail/10C94BF9-5CC4-4DDB-B0F0-5D23F22B2D9F mail maildir:/Library/Server/Mail/Data/mail/10C94BF9-5CC4-4DDB-B0F0-5D23F22B2D9F

Re: [Dovecot] Replication (Mac OS X)

2013-10-25 Thread Rusty Ross
On Oct 25, 2013, at 9:42 AM, Steffen Kaiser 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: > de

Re: [Dovecot] Replication (Mac OS X)

2013-10-25 Thread Rusty Ross
Ah, that’s beautiful, Mike. I didn’t realize that there was a directory of symlinks based on short names. That fixes that. Thank you. (You don't you have any thoughts only getting replication to ignore the “submit” user, do you?) Best, Rusty On Oct 25, 2013, at 10:44 AM, Mike Abbott wrote

Re: [Dovecot] Replication (Mac OS X)

2013-10-25 Thread Rusty Ross
What (if anything) will disabling urlauth break in Apple’s world? I am assuming they took the trouble to implement it for a reason. PS: I actually randomized the password for example purposes when I posted to the list. :) Rusty On Oct 25, 2013, at 11:05 AM, Mike Abbott wrote: >> (You don't