Topic: SOGo user profiles not automatically deleted
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? NO
====
Hi,
I noticed that if a user is deleted via the web interface it is actually deleted in SOGo as well (table "users"), but the profile stays there (table "sogo_user_profile") and it has to be removed manually with the sogo-tool (sogo-tool remove <user>).
I don't know if it is a known issue (I can't find nothing related in the forum).
I'm trying to build a shell script to delete the profile at the same time of the mailbox directory (no python skills), but perhaps the best way is to perform this deletion when the user is deleted via the web interface or in the python code that deletes the mailbox directory.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.