beautypg.com

Example, Description, Errors – Google Message Security Batch Reference Guide User Manual

Page 138: Return values, Authorization, Classification

background image

Batch Commands

141

Example

adddomain sales, domain=jumboinc.com

adddomain “Jumbo’s Western Region”, domain=jumboinc.com

Description

Adds the domain record to the organization

-- The organization where you wish to add the domain.

Enclose in double quotes or preceded with a ‘\’ symbol if it
contains a quote (‘), double quote (“), backslash (\), apostrophe, commas, #, =
symbols.

-- The name of the domain being added.

Errors

Add the domain before routing the DNS MX entries to the Message Security
service. Otherwise the traffic will be bounced with the SMTP fatal error:

554 No relaying allowed - psmtp.

If extra parameters are used when calling the command, for example substrip
and ‘alias’, this error message is returned:

Invalid parameters: ‘substrip’, 'alias' are not supported via batch

'adddomain'. Please use 'modifydomain'

Return Values

When using the Batch interface, if the

western.sales.jumboinc.com

domain was

added to the

Sales

organization, this string would be returned:

‘Added domain western.sales.jumboinc.com to organization Sales.’

Authorization

Read: Edit Organizations

Write: Edit Organizations

Classification

Batch domain and organization management