Example, Description, Errors – Google Message Security Batch Reference Guide User Manual
Page 138: Return values, Authorization, Classification
Batch Commands
141
Example
adddomain sales, domain=jumboinc.com
adddomain “Jumbo’s Western Region”, domain=jumboinc.com
Description
Adds the domain record
•
Enclose
contains a quote (‘), double quote (“), backslash (\), apostrophe, commas, #, =
symbols.
•
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