Cockpit fails to remove mail store

NethServer Version: 7.7
Module: users

Production mail server.
Remove 2 accounts.
Removed first account from Cockpit, user deleted, user’s mail store not deleted.
Removed 2nd account from old server manager, user deleted, user’s mail store deleted.


I reproduced the issue. Relevant lines in /var/log/messages:

Jan 14 17:03:01 nethservice esmith::event[14731]: [NOTICE] Maildir for ttf does not exist, skipped. at /etc/e-smith/events/user-cleanup/S10nethserver-mail-account-cleanup line 39.

The maildir is still there:

[root@nethservice ~]# ls -ld /var/lib/nethserver/vmail/ttf\
drwx------ 3 vmail vmail 21 Dec 31 15:35 /var/lib/nethserver/vmail/

Yes, and this one is even more relevant IMO

From cockpit

Jan 15 09:13:22 vm5 esmith::event[4621]: Event: user-delete first.user

From nethgui

Jan 15 09:14:27 vm5 esmith::event[5046]: Event: user-delete


@fasttech @filippo_carletti there is a fix in the nethserver-testing repo. Do you want to check it out?

yum --enablerepo=nethserver-testing update nethserver-mail\*


1 Like


This topic was automatically closed after 2 days. New replies are no longer allowed.