[Dovecot] Dovecot v2 multiple domains
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, but I can't find any documentation on this. To be more precise I found a post regarding dovecot v1 that suggest making separate init scripts for every domain but it also suggest that dovecot v2 will support this in code. This is the post
http://dovecot.org/pipermail/dovecot/2006-April/012455.html
Am I missing something or this is not still possible?
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.
Thank you Timo and yes I mean without ;)
On Sun, Mar 24, 2013 at 11:08 PM, Timo Sirainen <tss@iki.fi> wrote:
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.
participants (2)
-
Pavel Dimow
-
Timo Sirainen