[Dovecot] MS Exchange IMAP Proxy

Terry Carmen terry at cnysupport.com
Sat Dec 3 00:39:09 EET 2011


----- Message from Timo Sirainen <tss at iki.fi> ---------
    Date: Fri, 2 Dec 2011 23:29:23 +0200
    From: Timo Sirainen <tss at iki.fi>
Subject: Re: [Dovecot] MS Exchange IMAP Proxy
      To: Terry Carmen <terry at cnysupport.com>
      Cc: dovecot at dovecot.org


> On 1.12.2011, at 6.03, Terry Carmen wrote:
>
>>> On 30.11.2011, at 22.36, Terry Carmen wrote:
>>>
>>>> Does Dovecot do any cleanup of the IMAP commands that would be  
>>>> useful in protecting Exchange (from this,  
>>>> http://www.cvedetails.com/cve/CVE-2007-0221/ for example), or am  
>>>> I barking up the wrong tree?
>>>
>>> v2.1 with imapc backend can be used to do this. There's not really  
>>> documentation for it beyond this mailing list though.
>>
>> I'd be happy to give it a try.
>>
>> I have an absolutely dead-simple setup. All it has to do is sit  
>> between the internet and the IMAP port on an Exchange server.
>>
>> Any hints on how to set it up?
>
>
> Without SSL it works like this:
>
> mail_location = imapc:~/imapc
> imapc_host = imap.elsewhere.com
> imapc_port = 143
>
> passdb {
>   driver = imap
>   args = host=imap.elsewhere.com
>   default_fields = userdb_imapc_user=%u userdb_imapc_password=%w
> }
> userdb {
>   driver = prefetch
> }
> mail_home = /home/tss

My dovecot.conf file contains:

/////////////////////////////////////////

protocols = imap

listen = *, ::

mail_location = imapc:~/imapc
imapc_host = exchangeserver.example.com
imapc_port = 143

passdb {
   driver = imap
   args = host=exchangeserver.example.com
   default_fields = userdb_imapc_user=%u userdb_imapc_password=%w
}
userdb {
   driver = prefetch
}

mail_home = /home/tss

!include conf.d/*


/////////////////////////////////////////

Dovecot starts without complaints, but when I try a LOGIN, I get:

dovecot: auth: Fatal: passdb imap: Unknown parameter:  
exchangeserver.example.com

in the maillog file.

Any thoughts?

Terry




More information about the dovecot mailing list