On 10/14/05, Thomas Bruederli roundcube@gmail.com wrote:
Christopher A. Watford wrote:
On 10/14/05, thomas brĂ¼derli thomas@brotherli.ch wrote:
[..]
My only concern is that this file won't scale well with the number of users. The two simple solutions are a dropdown box with the domain you want or a default domain to append. Virtual user lookups are expensive and what if you have 2 bob's?
bob@domain1.com bob@domain2.com
A virtusertable file like used for sendmail or postfix configuration resolves e-mail addresses (i.e. bob@domain1.com) with the local mailbox user name (i.e. bob_one). In that case you don't need to select the host on the login screen but enter your full e-mail address as user name.
Once that user is resolved from the virtusertable, it'll be saved in the users table (alias) and don't has to be resolved from the file again on the next login.
Do you understand, what we intend to do?
Thomas
Yep, but my thoughts are:
1). Too expensive, past 1000 users the lookups take valuable time. If they're in MySQL, then its not so bad, but why waste another MySQL lookup that Courier-AUTHLIB will be doing anyways (or whatever your IMAP server's auth system does). 2). There are much simpler approaches than following Postfix's local/virtual transport maps, such as 'default' domain and the list of domains. These would be instantly beneficial, they don't suffer from duplicate email issues, and impose no extra load time.
-- Christopher A. Watford christopher.watford@gmail.com