Topic: delete_mailboxes.py bug
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6 MYSQL
- Linux/BSD distribution name and version: Linux 6.8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
created an account and made a small mistake, deleted it and selected to delete mailbox 1 day.
recreated the account and when the cron job ran it deleted the mailbox.
it seems like the "delete_mailboxes.py" does not verify if the account exist before it deletes it.
Perhaps we need an option to delete mailbox NOW and not store the record on deleted_mailboxes.
BTW. the installation did not create the cron entry as stated here under "improovements" http://www.iredmail.org/forum/topic1226 … eased.html
Assuming that a new installation would also do the same as an upgrade.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.