I have done something simular with the schema file. But vpopmail dose not add an "mail" entry. So change you last line in the schema file to that:
# Object Class Definitions objectclass ( 1.3.6.1.4.1.7914.1.2.2.1 NAME 'qmailUser' DESC 'QMail-LDAP User' SUP top AUXILIARY MUST ( uid ) MAY ( mail $ mailMessageStore $ homeDirectory $ userPassword $ mailAlternateAddress $ qmailUID $ qmailGID $ mailQuota $ mailHost $ mailForwardingAddress $ deliveryProgramPath $ qmailDotMode $ deliveryMode $ mailReplyText $ accountStatus $ qmailAccountPurge $ qmaildomain) ) Mail is now an optional field. Now you wont get errors, if you add an user. But you have still to maintaine the ldap-database (and add the right domain and email-address). I use the gq tool. So far. But can anybody tell me why every f*** peace of qmail-addon need it own schema file. courrier imap has it one one. claudius