User Databases ============== After a user has been successfully authenticated, Dovecot looks up the user's userdb information. The userdb lookup is also done by [LDA.txt] to find out how to deliver mails for the user. The user database lookup returns these fields: * *uid*: User's [UserIds.txt] (UNIX user ID) * *gid*: User's [UserIds.txt] (UNIX group ID) * *home*: [VirtualUsers.txt]. Although not required, it's highly recommended even for virtual users (see the link). * *mail*: [MailLocation.txt] (if needed to override the default 'mail_location' setting) * Optional [UserDatabase.ExtraFields.txt] which are passed to the IMAP/POP3 process in environment variables. The user and [PasswordDatabase.txt] may be the same or they may be different depending on your needs. You can also have [Authentication.MultipleDatabases.txt]. Currently supported user databases are: * [AuthDatabase.Passwd.txt]: System users (NSS, '/etc/passwd', or similiar) * [AuthDatabase.PasswdFile.txt]: '/etc/passwd'-like file in specified location * [UserDatabase.NSS.txt]: Name Service Switch (v1.1+) * [AuthDatabase.LDAP.txt]: Lightweight Directory Access Protocol * [AuthDatabase.SQL.txt]: SQL database (PostgreSQL, MySQL, SQLite) * [UserDatabase.Static.txt]: Userdb information generated from a given template * [AuthDatabase.VPopMail.txt]: External software used to handle virtual domains * [UserDatabase.Prefetch.txt]: This assumes that the passdb already returned also all the required user database information (This file was created from the wiki on 2009-10-16 04:42)