Quantcast
Channel: ejabberd - ejabberd Administration
Viewing all articles
Browse latest Browse all 782

Deny registration for an vhost

$
0
0

How do I block inband registration for an of two vhost?
I tried something like:

  register:
    - deny:
      - server: "support.mydomain"
    - allow:
      - server: "public.mydomain"

inside of access_rules
and something like:

host_config:
  "public.mydomain":
    access_rules:
      - register:
        - allow
  "support.mydomain":
    access_rules:
      - register:
        - deny

But none of these works, I can create accounts on both.


Viewing all articles
Browse latest Browse all 782