Question re: Admin reading user email

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

audiotron2002
Posts: 87
Joined: Tue Nov 22, 2005 12:41 pm

Question re: Admin reading user email

Postby audiotron2002 » Mon Jun 04, 2007 9:05 pm

Is there a way in scalix for an admin to read a user's mailbox. I cannot figure this out. As a rule the admin doe sNOT have the password to the user's account.

This is an important big-brother requirement

A couple of thoughts:

1. export a mailbox as a pst? Is that possible?
2. some command line to make a copy of a mailbox as a folder to another user's mailbox

Any thoughts??

leigh
Posts: 109
Joined: Tue Feb 07, 2006 11:35 pm
Location: At my desk.
Contact:

Postby leigh » Tue Jun 05, 2007 3:19 am

It is possible to read another user's mailbox using the mboxadmin capabilities and an IMAP client.
Have a search around for mboxadmin. Have a look at the 'care and feeding of your bayes' on the wiki, it uses the same technique.

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

Postby ScalixSupport » Tue Jun 05, 2007 3:31 am

Hi!

Another way could be, your mailbox be exported to a file, using sxmboxexp and then this
file could be imported using sxmboximp to a new account to view the mails in this new
account.

Of course for sxmboximp/sxmboxexp you need to be logged in root.

Thanks,
Subir

audiotron2002
Posts: 87
Joined: Tue Nov 22, 2005 12:41 pm

Postby audiotron2002 » Tue Jun 05, 2007 8:43 pm

I figured out the smbexport / sxmboxinport thing and it works well. The one probelm is that I cant put the inbox of the user into a subnfolder of my mailbox.

I issued the command:

sxmboximp -a "FILE" -f F-0000000001 -t "targetfolder" -u "my name"


This command created a folder called target but then dumped all of the contents of the inbox (F-0000000000000001) into my inbox. am I missing something?

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

Postby ScalixSupport » Wed Jun 06, 2007 4:12 am

Hi!

I exported the mailbox of user07 on my test machine to a file user07.data, then I tried to
import the data in file user07.data in user06 mailbox using the command below:

Code: Select all

sxmboximp -u user06 -a user07.data -f F-0000000001 -t User-07-Inbox

From man page of sxmboximp:
-t folder-name, --target folder-name
Use this option to specify a top-level folder to hold the restored items. If not
specified then the restored items will maintain the same folder structure that is
present in the archive file. The top-level folder specified will be created if it does
not already exist.

this means that the target folder name would be top-level folder name, next when we
specify a target folder name, it will be created only when it does not exist.

I used the above command, although a folder by name "User-07-Inbox" gets created but
the mails got imported to Inbox itself and not to User-07-Inbox.

Thanks,
Subir

audiotron2002
Posts: 87
Joined: Tue Nov 22, 2005 12:41 pm

Postby audiotron2002 » Wed Jun 06, 2007 8:36 am

So that is a bug then? Looks like you had the same problem.

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

Postby ScalixSupport » Wed Jun 06, 2007 8:52 am

Hi!

We already have a bug open for this issue:
http://bugzilla.scalix.com/show_bug.cgi?id=14632

Thanks,
Subir


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron