-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 9 Mar 2016, Marti Markov wrote:
My problem is that for some reason I can get public mailboxes to work. I have
setup the directory Public, the folders and the cur,tmp and new folder in them:
Public
|
|- .office3
|
|- cur
|- tmp
|- new
|- dovecot-acl
Mar 9 19:50:44 mail dovecot: auth: Debug: ldap(offi...@xxx.com): user search:
base=ou=people,dc=xxx,dc=com scope=subtree
filter=(&(objectClass=person)(uid=office3)) fields=(all)
Mar 9 19:50:44 mail dovecot: auth: Debug: ldap(offi...@xxx.com): no fields
returned by the server
Mar 9 19:50:44 mail dovecot: auth: ldap(offi...@xxx.com): unknown user
Mar 9 19:50:44 mail dovecot: auth: Debug: userdb out: NOTFOUND#0111
Mar 9 19:50:44 mail dovecot: lmtp(14554): Disconnect from local: Successful
quit
So as I see it LMTP tries to see if the user exists and fails because there is
no such user (which is true, the LDAP object office3 has a different base).
I’m not sure but should Dovecot skip this and check the Public folder first
before checking LDAP?
Dovecot LDA delivers to users.
So, IMHO, in this situation I would add another userdb{} of type
passwd-file, which adds a fake user office3 and uses the Maildir
.../Public/.office3 as INBOX. If that fails or turns out to be
problematic, setup another complete new user home directory like all
others and symlink cur and new to Public/.office3 (and tmp, if they reside
on different mount points).
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUBVuEiDXz1H7kL/d9rAQLNpgf/f2h7xSzQmB/ywV8NkkTxc9sL7w70EPJK
2fUOcFo4vmW41iJKV38UKflq/SOSn9H1+44pi8kJUFu00g/x8DgV1SJVFF1J0teh
r/wnC6Nhdoxhm3owcJ1nbxgQyAj8zCR1rBnkCqglYqZb+1+FbZMGUzAz1Yghfh5M
c8dPJg8J8FtSh62OEkS6FXoHQ0LbLvZfluQfV8/0D8lv4ZkcmItnc+Hkd7VjefjX
zmf5J5gg97c+NNf3WzIJoutg7ceLcBvIYO+MKow8RXjnlFTvSThKB/dJxaJVx294
Mpuq/rJ0mP60OBtGm59C2DHIqriOuiOjvg9L3a3Mh7sCv7OrbqxYmw==
=zRdL
-----END PGP SIGNATURE-----