RE: pilerimport Syntax for importing from Exchange with impersonation because readpst skips many messages

2015-07-24 Thread srisinger
I did a good job of documenting most everything else I did, but I can't find my 
reference for turning off the IMAP TLS. I figured it was either a limitation of 
Piler or x2007 and just went with it. I didn't try to prove that one otherwise.

-- 
Regards,

Stephen R. Risinger .  Systems Administrator

-Original Message-
From: Janos SUTO [mailto:s...@acts.hu] 
Sent: Wednesday, July 22, 2015 2:53 PM
To: Piler User piler-user@list.acts.hu
Subject: RE: pilerimport Syntax for importing from Exchange with impersonation 
because readpst skips many messages


On 2015-07-21 23:43, srisin...@meintl.com wrote:
 Joern,
 
 Here's how I did ours. Granted, it's an Exchange 2007 box, so YMMV.
 
 add-mailboxpermission username -AccessRights FullAccess -user 
 superuser pilerimport -i mail.domain.com -u 
 domain.com/superuser/username -p superpassword -x 'Junk E-mail','RSS 
 Feeds','Sync Issues','Inbox/Helpdesk','INBOX/Helpdesk','RSS 
 Feeds/Microsoft at Home','RSS Feeds/Microsoft at Work,'
 remove-mailboxpermission username -AccessRights FullAccess -user 
 superuser
 
 Remember to replace 'username' with your email user (no @domain 
 necessary), 'superuser' with your import user, and 'superpassword'
 with your import user's password, and 'domain.com' with your domain. I 
 left the '-x' flag in for example exclusions. Be sure the IMAP service 
 is running and that TLS is turned off while you do this.

thank you, Steve. I've added this info to the import manual page.
Btw. why should tls be disabled? pilerimport is able to handle encrypted 
connections.

Janos




Re: pilerimport Syntax for importing from Exchange with impersonation because readpst skips many messages

2015-07-21 Thread ad...@extremeshok.com
In exchange 2010, you use the following format for the username  

DomainName\Username\Alias 

to log into the shared mailbox


Sent from my iPhone

 On 21 Jul 2015, at 9:15 PM, Joern Quillmann, kuehlhaus AG 
 j.quillm...@kuehlhaus.com wrote:
 
 Hi Everyone,
 
 I'm running piler on Ubuntu 15.04 for a few days now and I'm trying to import 
 all of our current mailboxes to piler. 
 I exported all mailboxes from Exchange to pst files and tried to convert them 
 with  readpst -M -D -b -o /var/piler/tmp/userXYZ /var/piler/tmp/userXYZ.pst.
 Readpst skips a lot of messages that are definitely there when I open the pst 
 files in Outlook. The sent items folder for example never gets converted. 
 Readpst always skips all messages from this folder and some from other 
 folders too.
 
 So I want to try importing from IMAP with pilerimport. As I don't have the 
 user passwords I need to use impersonation with our Exchange 2010.
 
 I can setup a user to have the impersonation right with Exchange but how do I 
 tell pilerimport which mailbox I want to import when I log into the IMAP 
 Server with the impersonation-user?
 I'm currently at a loss for the right syntax.
 
 Regards
 Joern Quillmann
 



RE: pilerimport Syntax for importing from Exchange with impersonation because readpst skips many messages

2015-07-21 Thread srisinger
Joern,

Here's how I did ours. Granted, it's an Exchange 2007 box, so YMMV.

add-mailboxpermission username -AccessRights FullAccess -user superuser
pilerimport -i mail.domain.com -u domain.com/superuser/username -p 
superpassword -x 'Junk E-mail','RSS Feeds','Sync 
Issues','Inbox/Helpdesk','INBOX/Helpdesk','RSS Feeds/Microsoft at Home','RSS 
Feeds/Microsoft at Work,'
remove-mailboxpermission username -AccessRights FullAccess -user superuser

Remember to replace 'username' with your email user (no @domain necessary), 
'superuser' with your import user, and 'superpassword' with your import user's 
password, and 'domain.com' with your domain. I left the '-x' flag in for 
example exclusions. Be sure the IMAP service is running and that TLS is turned 
off while you do this.

I hope this helps!!

-- 
Regards,

Stephen R. Risinger .  Systems Administrator

-Original Message-
From: Joern Quillmann, kuehlhaus AG [mailto:j.quillm...@kuehlhaus.com] 
Sent: Tuesday, July 21, 2015 4:25 PM
To: piler-user@list.acts.hu
Subject: AW: pilerimport Syntax for importing from Exchange with impersonation 
because readpst skips many messages

I'm getting bald and losing my last hairs over this...

Domain\ImpersonationEnabledUser\AliasOfSomeUser does not work. 
Neither any combination with ImpersonationEnabledUser@Domain.local\alias

I tried escaping the Backspace with double Backspace.
I can login with domain\\ImpersonatioEnabledUser oder 
domain\ImpersonationEnabledUser and get the contents of the 
ImpersonationEnabledUser's mailbox but as soon as I try to add the alias of the 
user whose mailbox I want to import it always fails with login failed, server 
reponse: A1 NO LOGIN failed

Any ideas?