sendAs syntax example error...?

46 views
Skip to first unread message

Francesco Mincio

unread,
Sep 26, 2016, 10:03:58 AM9/26/16
to Google Apps Manager

Maybe i'm wrong...but:

in the GAM wiki documentation i read:

Example

This example will allow the user fjones to send mail as fred...@yourcompany.com by default (it is assumed to fred...@yourcompany.com is already setup as a user, group or nickname in your domain)


i think there is a mistake in the Example part that says: 


gam user fjones sendas fjo...@yourcompany.com "Fred Jones" default

i think that the correct syntax to make what you explain before should be:

gam user fjones sendas fred...@yourcompany.com "Fred Jones" default
am i wrong? 
=?UTF-8?Q?ExamplesEmailSettings=5F=C2=B7=5Fja?= =?UTF-8?Q?y0\"; filename*1=\"lee=5FGAM=5FWiki=5F=C2=B7=5FGitHub.jpg?=

Ross Scroggs

unread,
Sep 26, 2016, 10:32:11 AM9/26/16
to google-ap...@googlegroups.com
Francesco,

You're correct, I've corrected the example.

--
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 https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e75dc600-d6d7-41b8-a1f0-57e940d3cf01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<ilename*1="lee=5FGAM=5FWiki=5F=C2=B7=5FGitHub.jpg?=>

Francesco Mincio

unread,
Sep 26, 2016, 10:40:03 AM9/26/16
to google-ap...@googlegroups.com
Hello Ross,

i've an issue about sendas setting through GAM... i get this error:

MAC-FRA:GAMTEST2 Francesco$ gam.py user prova4 sendas mioni...@lumsa.it "Fred Jones" default

Allowing pro...@lumsa.it to send as mioni...@lumsa.it (1/1)

User: pro...@lumsa.it, Does not exist

How can i fix this?

here a print of gam info user...

MAC-FRA:GAMTEST2 Francesco$ gam.py info user prova4

User: pro...@lumsa.it

First Name: Utente

Last Name: di Prova

Is a Super Admin: False

Is Delegated Admin: False

Has Agreed to Terms: True

IP Whitelisted: False

Account Suspended: False

Must Change Password: False

Google Unique ID: 116786715661896027457

Customer ID: C01qyktaa

Mailbox is setup: True

Included in GAL: True

Creation Time: 2016-09-21T14:06:01.000Z

Last login time: 2016-09-26T12:30:52.000Z

Google Org Unit Path: /NO_SYNC


Other Emails:

 address: mioni...@lumsa.it


Email Aliases:

  mioni...@lumsa.it

Non-Editable Aliases:

  pro...@lumsa.it.test-google-a.com

  mioni...@lumsa.it.test-google-a.com


Thank you!

Francesco



2016-09-26 16:32 GMT+02:00 Ross Scroggs <ross.s...@gmail.com>:
Francesco,

You're correct, I've corrected the example.

On Sep 26, 2016, at 6:55 AM, Francesco Mincio <francesc...@noovle.it> wrote:


Maybe i'm wrong...but:

in the GAM wiki documentation i read:

Example

This example will allow the user fjones to send mail as fred...@yourcompany.com by default (it is assumed to fred...@yourcompany.com is already setup as a user, group or nickname in your domain)


i think there is a mistake in the Example part that says: 


gam user fjones sendas fjo...@yourcompany.com "Fred Jones" default

i think that the correct syntax to make what you explain before should be:

gam user fjones sendas fred...@yourcompany.com "Fred Jones" default
am i wrong? 

--
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-apps-manager@googlegroups.com.
<ilename*1="lee=5FGAM=5FWiki=5F=C2=B7=5FGitHub.jpg?=>

--
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-apps-manager@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--


Francesco Mincio
Presales & Technical Deployer - Google Apps Solutions - Noovle S.r.l.
tel. +39 06 45437703 | mob. +39 347 5481222 | mail: francesc...@noovle.it
________

Noovle| The Nexus of forces

Change the Game | Share the Experience

Ross Scroggs

unread,
Sep 26, 2016, 12:17:29 PM9/26/16
to google-ap...@googlegroups.com
Francesco,

What version of gam are you on? gam version
What is the result of this command? gam user prova4 show pop

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.

Francesco Mincio

unread,
Sep 27, 2016, 3:39:16 AM9/27/16
to google-ap...@googlegroups.com
Last version, just downloaded few days ago from Git Repo
Result of "gam user prova4 show pop" is always: User does not exist

:(

any idea?

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.
<ilename*1="lee=5FGAM=5FWiki=5F=C2=B7=5FGitHub.jpg?=>


--
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+unsubscribe...@googlegroups.com.

To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.



--


Francesco Mincio
Presales & Technical Deployer - Google Apps Solutions - Noovle S.r.l.
tel. +39 06 45437703 | mob. +39 347 5481222 | mail: francesc...@noovle.it
________

Noovle| The Nexus of forces

Change the Game | Share the Experience

--
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-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

--
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-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.

Ross Scroggs

unread,
Sep 27, 2016, 9:39:28 AM9/27/16
to google-ap...@googlegroups.com
Francesco,

Did you perform these steps?
You must update the list of authorized scopes for your Gam OAuth2 Client and Service Account after installing for the first time or upgrading from a version earlier than 3.7.
- Go to the section labelled Authorizing the API scopes for use with GAM in the Admin Console
- Log on to the admin console as in step 2.ii.
- In the list of Authorized API clients, locate your Gam OAuth2 Client, copy the Client ID and then remove the entry.
- Paste the Client ID into the Client name box as in step 2.iii.a, then do steps 2.iii.b thru 2.iii.d.
You'll notice that the API Scopes - OAuth2 list has additional entries, these are what is required in Gam 3.73.
- Skip down to step 3.i.
- In the list of Authorized API clients, locate your Gam Service Account, copy the Client ID and then remove the entry.
- Paste the Client ID into the Client name box as in step 3.i.b, then do steps 3.i.c thru 3.i.e.
You'll notice that the API Scopes - Service Account list has additional entries, these are what is required in Gam 3.73.

Ross

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.

Francesco Mincio

unread,
Sep 27, 2016, 9:45:27 AM9/27/16
to google-ap...@googlegroups.com
Dear Ross,
yes i did all of them a couple of times to be sure. I installed the Windows version and it worked. So maybe it's a small bug in the Unix version?

Thank for your help,
F



--
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+unsubscribe...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.



--


Francesco Mincio
Presales & Technical Deployer - Google Apps Solutions - Noovle S.r.l.
tel. +39 06 45437703 | mob. +39 347 5481222 | mail: francesc...@noovle.it
________

Noovle| The Nexus of forces

Change the Game | Share the Experience

--
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-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

--
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-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages