[Dovecot] Dovecot and Active Directory separate domain data stores.

Timo Sirainen tss at iki.fi
Wed Aug 4 19:31:09 EEST 2010


On Tue, 2010-07-27 at 16:35 +1200, Andrew Bruce wrote:

> We run a flat domain for AD (lets call it newzealand.local), and then
> under each users account that gets email, in the E-mail field in AD, they
> have an email address like user1 at auckland, user2 at wellington, user3 at chch
> and
> so on.

So I guess this is all you need..

> This was done using a query filter that returned a
> person's email address from AD, chopped it into separate user/domain parts
> around the '@' symbol and using these to determine where the mail should
> be stored.
> 
> But now I need to get Dovecot to be able to do the same thing in order to
> present the email to the user.

Dovecot can do that easily internally already. I guess what you want is:

pass_attrs = email=user, ..
user_attrs = email=user, ..

mail_location = maildir:/mail/%d/%n/Maildir

or something.



More information about the dovecot mailing list