Pause Domain

Usage

pause domain $domain

Description

The command pause domain is used to pause a Virtual Domain record for REVLY. Paused domains will continue to receive emails. Paused domains are not able to login to services.

Symbol

pause 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 pause the domain.

- Execute ldapmodify to pause the domain in OpenLD

Template

# Pause virtualDomain
dn: domain=:#DOMAIN#:,o=domains,dc=:#LDAP_SUFFIX#:
changetype: modify
replace: active
active: FALSE
-
replace: delete
delete: FALSE
-
replace: changeDate
:#CHANGE_DATE#:

Return Codes

CodeHuman Readable Output
0Paused the domain '$domain'.
1The domain '$domain' does not exist.

Example

Input

pause domain example.com

Generated LDIF file

# Pause virtualDomain
dn: domain=example.com,o=domains,dc=revly
changetype: modify
replace: activ
active: FALSE
-
replace: delete
delete: FALSE
-
replace: changeDate
changeDate: 1419358202

Output

Paused the domain 'example.com'.

Returncode

0