distuguish between different domains

Phil Turmel philip at turmel.org
Mon Sep 28 14:23:59 UTC 2015


On 09/28/2015 10:18 AM, Marco Fretz wrote:
> On 28.09.2015 10:48, Andreas Meyer wrote:

>> For my understanding it should not be possible to connect to server
>> server.aaa.de with an address line user at bbb.de and dovecot serves
>> the mailbox of that user.
> the dovecot service does not care about the server dns name. the dns
> name resolves to the IP address on the client (roundcube) and the client
> connects to the server. if the same dovecot instance listens to all /
> both IP address, client will end up on this dovecot instance and all
> valid user-password combinations are authorized. that's the way it has
> to be, otherwise virtual / mass virtual domain hosting would not be
> possible as you cannot spawn 1000 instances on the same machine (ok, in
> theory you could do that :D)

No, it's only impossible if you are using passdb or otherwise
authenticating against real users of the system.  If you are using
virtual users (SQL, LDAP, etc.), you can include the domain name in the
auth lookups.

Phil


More information about the dovecot mailing list