doc/web/source/howto/manage_domains.rst
branchv0.7.x
changeset 755 e99e4fc62a5f
parent 698 18a528d44055
equal deleted inserted replaced
754:8363ea6240a5 755:e99e4fc62a5f
    51  Creating account for postmaster@sales.example.com
    51  Creating account for postmaster@sales.example.com
    52  Generated password: pLJUQ6Xg_z
    52  Generated password: pLJUQ6Xg_z
    53 
    53 
    54 domaindelete
    54 domaindelete
    55 ------------
    55 ------------
    56 Syntax:
    56 .. program:: vmm domaindelete
    57  | **vmm domaindelete** *fqdn* [**‒‒force**]
    57 
    58  | **vmm dd** *fqdn* [**‒‒force**]
    58 Syntax:
       
    59  | **vmm domaindelete** *fqdn* [**‒‒delete‒directory**] [**‒‒force**]
       
    60  | **vmm dd** *fqdn* [**‒‒delete‒directory**] [**‒‒force**]
       
    61 
       
    62 .. option:: --delete-directory
       
    63 
       
    64  When this option is given, :command:`vmm` will delete the directory of
       
    65  the given domain.
       
    66  This overrides the *domain.delete_directory* setting of :file:`vmm.cfg`.
       
    67 
       
    68 .. option:: --force
       
    69 
       
    70  Use this option in oder to force the deletion of the domain, even if
       
    71  there are accounts, aliases, catch-all accounts and/or relocated users.
    59 
    72 
    60 This subcommand deletes the domain specified by *fqdn*.
    73 This subcommand deletes the domain specified by *fqdn*.
    61 
    74 
    62 If there are accounts, aliases and/or relocated users assigned to the given
    75 If there are accounts, aliases and/or relocated users assigned to the given
    63 domain, :command:`vmm` will abort the requested operation and show an error
    76 domain, :command:`vmm` will abort the requested operation and show an error
    64 message.
    77 message.
    65 If you know, what you are doing, you can specify the optional argument
    78 If you know, what you are doing, you can specify the optional argument
    66 **‒‒force**.
    79 :option:`--force`.
    67 
    80 
    68 If you really always know what you are doing, edit your :file:`vmm.cfg` and
    81 If you really always know what you are doing, edit your :file:`vmm.cfg` and
    69 set the option *domain.force_deletion* to **true**.
    82 set the option *domain.force_deletion* to **true**.
    70 
    83 
    71 domaininfo
    84 domaininfo