CLI option to delete folders

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

sk8conz
Posts: 26
Joined: Fri Dec 01, 2006 6:19 am

CLI option to delete folders

Postby sk8conz » Sun Dec 17, 2006 4:48 pm

I have several mail folders that I can not delete.

They were created from the SWA but If I try to delete them, rename them or move them I get an error message along the lines of "I can't do that, contact your administrator".

Is there a command line option to delete folders, or repair them ?

Or failing that can I locate the files on the Hard drive and delete/edit them ?

Thanks

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Dec 19, 2006 7:35 am

Hi

I would suggest you to look through the man pages of omtidyu.

Warm Regards,
Subir

sk8conz
Posts: 26
Joined: Fri Dec 01, 2006 6:19 am

Postby sk8conz » Tue Dec 19, 2006 5:02 pm

Thanks for the tip, but I can't see how omtidyu will help. I need to delete an actual folder, not the messages.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Dec 22, 2006 4:49 am

Hi!

I am sorry for the lag time. I would request you run omscan against the user(s) with problems to see if there's some corruption in the message store. Try

Code: Select all

omscan -Avx -U <username>


(the username would be the name you use to log into SWA).

Also let us know if these folder(s) is/are public folder(s) or they exist within your mailbox. If you are trying to delete a public folder you would surely get a permission denied error.

Try accessing your mail account from a different mail client like Outlook and see if you are able to delete the folder(s).

Please post the contents of fatal log if any. Let us know the Scalix version you use.

Thanks,
Subir

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Fri Dec 22, 2006 5:31 am

Subir is right, it would be good to find out if there is anything wrong with those mailboxes so that the folders cannot be deleted from the client.

However, if anything else fails, the omcontain tool is the way to go. Search the forum for details, but be warned that it is rather low-level to use.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

sk8conz
Posts: 26
Joined: Fri Dec 01, 2006 6:19 am

Postby sk8conz » Sat Dec 23, 2006 5:30 pm

Hi Guys,

Thanks for the pointers.

See my results (or lack of them).

What am I doing wrong ???

[root@serenity ~]# omshowu -n dsi
Authentication ID: dsi
Globally Unique ID: 1d10000098e47754-042.2.861.291
User Name : Dave Gordon /CN=Dave Gordon
MailNode : serenity
Internet Address : <stuff deleted>
System Login : 60537
Password : set
Admin Capabilities : NO
Mailbox Admin Capabilities : NO
Language : AMERICAN
Mail Account: Unlocked
Last Signon : 12.24.06 10:15:03
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Recovery Folder visible : NO
User Class : Full
SIS URL : sxidx://serenity.darkstar.co.nz/0d10000 ... .2.861.291



[root@serenity ~]# omscan -Avx -U dsi
omscan running on 12.24.06 at 10:23:19.
Host computer : serenity.darkstar.co.nz.
Report mode requested.

Last omscan tool run on 12.24.06 at 10:21:19; duration 0 minute(s).
Previous server cycle run on 12.21.06 at 12:14:59; duration 3 minute(s).
Current server cycle not started; service reset or delayed.


Extra check option requested.
Active scan option requested.

Scanning file/dir links .... done.

CAUTION: Scanning of message store has started.
Mounted file/dir links must be maintained during the scan.
VxFS file system must not be reorganized - see omscan(1M).


The user specified does not exist or is ambiguous.
[root@serenity ~]#

Also get the same (non)result if i use the System Login : 60537

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Dec 23, 2006 7:36 pm

well, it asks for the User Name, so why don't you give it what omshowu reports as the user name.... :-)


... -U "Dave Gordon /CN=Dave Gordon"

cheers,
Florian
Florian von Kurnatowski, Die Harder!

sk8conz
Posts: 26
Joined: Fri Dec 01, 2006 6:19 am

Postby sk8conz » Sat Dec 23, 2006 8:06 pm

That could make a difference :oops: :oops: :oops:

Merry Christmas :D


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron