[Dovecot] Dovecot v2 multiple domains

Timo Sirainen tss at iki.fi
Mon Mar 25 00:08:32 EET 2013

On 25.3.2013, at 0.01, Pavel Dimow <paveldimow at gmail.com> wrote:

> Hello,
> I would like to have multiple domains on same server (with different
> ip's) and I want that user logs with username with domain part for
> every domain,

"with"? so people logging in as user at domain? There is nothing you need to do. Dovecot doesn't care about domains, only how login names match to mail directories.

If you really meant "without", then you need to match the IP address with the username. %l variables expands to the IP in e.g. passdb sql query.

More information about the dovecot mailing list