[Dovecot] MS Exchange IMAP Proxy

Terry Carmen terry at cnysupport.com
Sat Dec 3 04:55:12 EET 2011


> On 3.12.2011, at 1.42, Terry Carmen wrote:
>
>> Dec  2 18:35:09 host dovecot: imap(myusername): Error: user  
>> myusername: Couldn't drop privileges: User is missing UID (see  
>> mail_uid setting)
>>
>> "myusername" is not a local user, but exists only on the exchange  
>> server. Any thoughts?
>
> You still need a mail user. For example you could create a "vmail"  
> user and set mail_uid=vmail. Or whatever else user.

Several other configuration problems later . . .  I'm getting much  
closer, but not quite there.

The latest message is:

dovecot: imap(username): Error: user username: Initialization failed:  
Initializing mail storage from mail_location setting failed: Home  
directory not set for user. Can't expand ~/ for mail root dir in:  
~/imapc

The users who will be using the proxy don't actually have any mail on  
the box running dovecot and (currently) don't have any accounts or  
home directories. Right now they only exist on the Exchhange server.

Is there a config option I need to create/change so that Dovecot  
doesn't look for a directory for each user, or does it till ened one  
even though the users aren't local and there won't be a mail store on  
the box running dovecot?

Thanks again for all your help!

When I get this all working, I'll write up a Wiki page for it.

Terry





More information about the dovecot mailing list