Hi Phillip,

Vpopmail let's you specify a defaultdomain, which is appended if you try to login just with a username without a domain part. But there also, you can have just one domain being able to login without domain part.

Not true, see answer in vpopmail's FAQ

---------------------
9. How can we use an IP address per domain, so that users don't need
  to authenticate with user%domain or [EMAIL PROTECTED],
  they just want to use "user"?

  ./configure --enable-ip-alias-domains=y

  Then run vipmap -a IP domain for each IP you want to link to a domain.
------------------------

To implement this "virtual domain ip mapping" feature, qmail-ldap could have a ~control/vipmap file where it would map network addresses to branches of the DIT. Like:

192.168.0.:ou=domain1.com,ou=qmail-ldap
192.168.1.:ou=otherdom.com,ou=qmail-ldap

And when 'user' from network 192.168.0.0/24 logged in, if "virtual domain ip mapping" was enabled, auth-pop would search for a 'uid=user' under the 'ou=domain1.com,ou=qmail-ldap' subtree...

bnegrao.

Reply via email to