Topic: mailbox not deleting
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Centos7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Mailboxes are not deleting:
[root@mail iredapd]# python /var/www/iredadmin/tools/delete_mailboxes.py --delete-without-timestamp
* Delete old mailboxes (8 in total).
Traceback (most recent call last):
File "/var/www/iredadmin/tools/delete_mailboxes.py", line 221, in <module>
_dir = _ldif['homeDirectory'][0].lower().replace('//', '/')
KeyError: 'homeDirectory'
I do not use timestamps in mailbox names
The directory exists.
This is a sample database entry in Table deleted_mailboxes in database iredadmin (there are 8 entries) :
40 2019-02-13 09:51:55 hmurray@domain.net domain.net /var/vmail/vmail1/domain.net/h/m/u/hmurray/ mailadmin@cyg.net 2019-02-20
Thoughts?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.