---
name: "cyrus-cyr_deny"
section: "8"
platform: "linux"
package: "cyrus-common"
version: "3.10.2-1+deb13u2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cyrus-cyr_deny"
---

# cyrus-cyr\_deny(8)

Cyrus IMAP documentation deny users access to Cyrus services

## NAME

cyr\_deny - Cyrus IMAP documentation

deny users access to Cyrus services

## SYNOPSIS

```
cyr_deny [ -C config-file ] [ -s services ] [ -m message ] user
cyr_deny [ -C config-file ] -a user
cyr_deny [ -C config-file ] -l
```

## DESCRIPTION

**cyr\_deny is used to deny individual users access to Cyrus services.** **The first synopsis denies user** *user* **access to Cyrus services, the** **second synopsis allows access again.  cyr\_deny works by adding an** **entry to the Cyrus user\_deny.db database; the third synopsis lists** **the entries in the database.  The service names to be matched are those** **as used in** *[cyrus.conf(5)](/cyrus.conf/5.md)***.**

**cyr\_deny reads its configuration options out of the** *[imapd.conf(5)](/imapd.conf/5.md)* **file unless specified otherwise by -C.**

## OPTIONS

- **-C config-file**

  **Use the specified configuration file** *config-file* **rather than the default** *[imapd.conf(5)](/imapd.conf/5.md)***.**

- **-a, --allow**

  **Allow access to all services for user** *user* **(remove any entry** **from the deny database).**

- **-s services, --services=services**

  **Deny access only to the given** *services***, which is a** **comma-separated list of wildcard patterns.  The default is "\*"** **which denies access to all services.**

- **-m message, --message=message**

  **Provide a message which is sent to the user to explain why access is** **being denied.  A default message is used if none is specified.**

- **-l, --list**

  **List the entries in the deny database.**

## EXAMPLES

**\[NB: Examples needed\]**

## HISTORY

**This command was introduced in version 3.0.**

## FILES

**/etc/imapd.conf, \<configdirectory\>/user\_deny.db**

## SEE ALSO

*[imapd.conf(5)](/imapd.conf/5.md)*

## AUTHOR

**The Cyrus Team, Nic Bernstein (Onlight)**

## COPYRIGHT

**1993–2025, The Cyrus Team**
