[Dovecot] imapc Proxy to IMAPS Exchangeserver?
Ralf Hildebrandt
r at sys4.de
Mon May 19 12:53:37 UTC 2014
* Daniel Parthey <dovecot at dovecot.org>:
> Am 16.05.2014 12:09, schrieb Ralf Hildebrandt:
> >May 16 12:07:05 mproxy dovecot: master: Dovecot v2.2.9 starting up (core dumps disabled)
> >May 16 12:07:29 mproxy dovecot: imap-login: Login: user=<hildeb>, method=PLAIN, rip=::1, lip=::1, mpid=23662, secured, session=<tqLKk4H5/QAAAAAAAAAAAAAAAAAAAAAB>
> >May 16 12:07:29 mproxy dovecot: imap(hildeb): Error: user hildeb: Initialization failed: Namespace '': Mailbox list driver imapc: missing imapc_password
> >May 16 12:07:29 mproxy dovecot: imap(hildeb): Error: Invalid user settings. Refer to server log for more information.
> >
> >Mailbox list driver imapc: missing imapc_password ???
>
> The IMAP Client (imapc) needs a username, hostname, port and password to login.
>
> According to http://wiki2.dovecot.org/Variables you can just pass through
> the plaintext password %w to the imapc backend by setting imapc_password=%w
That's what I did! (prefixed with userdb_, since I'm using driver = prefetch)
passdb {
driver = imap
# Change the line below to reflect the IP address of your Exchange Server.
args = host=exchange-imap.charite.de port=993 ssl=imaps
default_fields = userdb_imapc_user=%u userdb_imapc_password=%w userdb_imapc_host=exchange-imap.charite.de userdb_imapc_ssl=imaps userdb_imapc_port=993
}
userdb {
driver = prefetch
}
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
More information about the dovecot
mailing list