25 Mar
2013
25 Mar
'13
12:08 a.m.
On 25.3.2013, at 0.01, Pavel Dimow <paveldimow@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@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.