Mailing List Archive

Disable Mail account without deleting from LDAP
Hi,



I would like to know when using qmail-ldap is there a way to disable a mail
account without deleting the account from LDAP.

I have had a look at changing the delivery mode to nolocal which stops the
account from receiving mail. However sending mail from the account is still
possible.

Can anyone point me in the right direction?



- Dian



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Re: Disable Mail account without deleting from LDAP [ In reply to ]
Add some characters to the userPassword field. This makes the hash invalid and the user cannot login any more.
To restore just remove the additional characters.
--
Robert Sander