Deleting an Invalid User mailbox

Dan White dwhite at olp.net
Thu Apr 28 09:50:15 EDT 2011


On 28/04/11 09:38 -0400, Simpson, John R wrote:
>Somehow we ended up with baduser at reyrey.net@reyrey.net, and every attempt
>to delete it results in an "Invalid User" error from cyradm.  We're
>running Cyrus 2.3.16-10 on CentOS 5.5 using the Invoca RPMS (thanks
>Simon), no murder, and have unixhierarchysep set to 1.  One of the admins
>deleted the user's files and directories from the filesystem before I was
>aware of the issue.
>
>I hate to bother the list with a relatively trivial issue, but this is
>causing one of my replication validation tests to fail and I wouldn't want
>to miss a valid problem because of bogus user.
>
>Thanks in advance,
>
>John
>
>[root ~]# cyradm -user cyrusadmin localhost
>Password:
>localhost.localdomain> lm *baduser*
>user/baduser/Drafts at reyrey.net (\HasNoChildren)
>user/baduser/Drafts at reyrey.net@reyrey.net (\HasNoChildren)
>user/baduser/Sent Items at reyrey.net (\HasNoChildren)
>user/baduser/Sent Items at reyrey.net@reyrey.net (\HasNoChildren)
>user/baduser/Trash at reyrey.net (\HasNoChildren)
>user/baduser/Trash at reyrey.net@reyrey.net (\HasNoChildren)
>user/baduser at reyrey.net (\HasChildren)
>user/baduser at reyrey.net@reyrey.net (\HasChildren)

See this thread for a discussion of the cyr_dbtool utility:

http://asg.andrew.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&msg=52641

-- 
Dan White


More information about the Info-cyrus mailing list