Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: Zippy28 on May 21, 2013, 10:57:46 PM
-
I had a problem with spam that left the maillog webmail account with over 250,000 unread mails and as such the webmail wouldn't open for me. I thought that deleting the account would delete all the mail for that account also. Now when I try to add the account back I'm getting the following error: Error: the account "maillog" can't be created because there is already a system account of that name.
I can't see it in the server manager, is there anything I can do to flush this account completely so I can set it back up?
-
Zippy28
.... is there anything I can do to flush this account completely so I can set it back up?
Yes, read the FAQ, link at top of forums.
There are db command instructions there (search the headings), re how to fully delete an incompletely or incorrectly deleted account.
Then you will be able to recreate the account name.
-
Yes I followed the following from the FAQ:
signal-event user-delete <username>
db accounts delete <username>
the username still exists?
-
Just an update to this when I run the following:
[root@monitor etc]# grep maillog /etc/passwd /etc/group
I get the following response:
/etc/group:maillog:x:5000:
How do I remove this entry without making a mess of the group file?
-
Zippy28
Did you read all of that FAQ entry ?
Here:
http://wiki.contribs.org/SME_Server:Documentation:FAQ:Section01#Deletion_of_Users_Ibays_Groups
Use the commands to delete the group, replacing <username> <groupname> or <ibayname> with the actual name, in your case maillog
signal-event group-delete maillog
db accounts delete maillog
-
Hi thanks, that fixed the problem for me. :-)