>> Our way of doing it is the following:
>> do not delete mail accounts from www interface. Only mark them as
>> deleted (there is an attribute in the schema for that). Every hour or
>> several minutes a cron script runs and does a search in ldap directory
>> for accounts marked as deleted.
BN> What objectclass does the 'deleted' attributes pertains to? Did you have to
BN> modify some schema file?
this is an extract from qmail.schema:
attributetype ( 1.3.6.1.4.1.7914.1.2.1.12 NAME 'accountStatus'
DESC 'The status of a user account: active, noaccess, disabled, deleted'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
Although I have written an extension to this schema in order to
provide additional functions, I don't think my modifications were
related to deleted accounts.
Karolis