Start Domain
Usage
start domain $domain
Description
The command start domain is used to change the state of a REVLY Virtual Domain. Emails sent to domains in the start state will be delivered to their users mail directories. Started domains are able to login to services.
Symbol
start domain
Cardinal
action-identifier
Language
Domain Admin
Module
Admin
Parameters
ChangeDate
usage: changedate $timestamp
description: A Unix timestamp representing the last time the domain record was modified.
default: Current timestamp
LDAP Suffix
usage: ldap suffix $ldapsuffix
description: The base search path of the LDAP tree.
default: revly
Actions
- Generate a LDIF file to start the domain.
- Execute ldapmodify to start the domain in OpenLD
Template
# Start virtualDomain
dn: domain=:#DOMAIN#:,o=domains,dc=:#LDAP_SUFFIX#:
changetype: modify
replace: active
active: TRUE
-
replace: delete
delete: FALSE
-
replace: changeDate
:#CHANGE_DATE#:
Return Codes
Code | Human Readable Output |
---|---|
0 | Started the domain '$domain'. |
1 | The domain '$domain' does not exist. |
Example
Input
start user sally@example.com
Generated LDIF file
# Start virtualUser
dn: user=sally,domain=example.com,o=domains,dc=revly
changetype: modify
replace: active
active: TRUE
-
replace: delete
delete: FALSE
-
replace: changeDate
changeDate: 1419358202
Output
start domain example.com
Returncode
0