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:[email protected]] Sent: Tuesday, July 21, 2015 4:25 PM To: [email protected] 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 [email protected]\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?
