Red Hat Bugzilla – Bug 102637
Deleting user does not delete user's mail spool
Last modified: 2007-11-30 17:10:31 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Description of problem:
After deleting a user with User Manager, the user's mail spool still remains in
/var/spool/mail/. Mail spools from old users must be cleaned up manually. This
is only a slight annoyance, but it is inconsistent with the behavior of 'userdel
-r', and a prompt to remove the spool would be a nice feature.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Click on "Delete" to delete user.
Actual Results: User's mail spool still exists in /var/spool/mail/.
Expected Results: Should be prompted to remove user's mail spool, as with
removing the user's home directory. (Possibly include info about spool size to
determine whether it's full/empty?)
This is a good suggestion - especially for systems with large amounts of users.
Fixed in system-config-users-1.2.27 and later. Note that it only asks whether to
delete _all_ of home directory, mail spool, temp files to not clutter up the UI.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.