The information contained in this e-mail is intended
only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. If you are not the intended
recipient of this e-mail, the use of this information or any disclosure,
copying or distribution is strictly prohibited and may be unlawful. If you
received this e-mail in error, please contact the sender immediately and delete
the material from any computer.
The views expressed in this e-mail may not necessarily be the views of Hayley
Group PLC and should not be taken as authority to carry out any instruction
contained within.
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/fa11bcd8-9061-4136-92c8-393eea6f65db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
C:\gyb>gyb --email olduser@domain.co.uk --service-account 79800542831 -myaccount@domain.co.uk
Traceback (most recent call last):
File "gyb.py", line 1323, in <module>
File "gyb.py", line 575, in main
File "gyb.py", line 269, in generateXOAuthString
File "oauth2client\util.pyo", line 128, in positional_wrapper
File "apiclient\discovery.pyo", line 192, in build
File "oauth2client\util.pyo", line 128, in positional_wrapper
File "oauth2client\client.pyo", line 475, in new_request
File "oauth2client\client.pyo", line 653, in _refresh
File "oauth2client\client.pyo", line 677, in _do_refresh_request
File "oauth2client\client.pyo", line 861, in _generate_refresh_request_body
File "oauth2client\client.pyo", line 977, in _generate_assertion
File "oauth2client\crypt.pyo", line 237, in from_string
NotImplementedError: PKCS12 format is not supported by the PyCrpto library. Try
converting to a "PEM" (openssl pkcs12 -in xxxxx.p12 -nodes -nocerts > privatekey
.pem) or using PyOpenSSL if native code is an option.
There's no way to do this via the APIs and thus, it's not possible with GAM either. However, you could use GYB to backup the old accounts mail and restore it to another user.gyb --email old...@acme.com --action backup --local-folder oldusergyb --email new...@acme.com --action restore --local-folder olduser --label-restored olduserAssuming your the domain admin, you may want to use service accounts to make life easier (don't need to know/reset user passwords).
Jay Lee
On Mon, Mar 30, 2015 at 6:24 AM, Becky Jones <becky...@hayley-group.co.uk> wrote:
Hi there,At the moment, if a user leaves and we want to delete their old account, we add their account details to another nominated persons account and retrieve all of their mail history via POP3 to empty their mailbox out.We use GAM for a number of other things but I have never seen anything which would help setup a POP3 account for this purpose.Can anyone advise if this is possible and if so the command which would allow us to do this?Many thanks.Becky
The information contained in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this e-mail, the use of this information or any disclosure, copying or distribution is strictly prohibited and may be unlawful. If you received this e-mail in error, please contact the sender immediately and delete the material from any computer.
The views expressed in this e-mail may not necessarily be the views of Hayley Group PLC and should not be taken as authority to carry out any instruction contained within.
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/fa11bcd8-9061-4136-92c8-393eea6f65db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.