CYR_DENY(8)
π CYR_DENY(8) π
okay bestie, welcome to the cyr_deny page β it's part of the Cyrus IMAP docs and it's genuinely so useful, no cap.
β¨ NAME β¨
cyr_deny β Cyrus IMAP documentation
deny users access to Cyrus services. yeah. that's the whole vibe. we gatekeeping today π₯
πΈ 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 π¦
So cyr_deny is the tool you use to deny individual users access to Cyrus services. Individual, bestie β one user at a time, this is a personal thing, not a group chat ban π
The first synopsis denies the user user access to Cyrus services. The second synopsis allows access again (yes queen, it's reversible, we forgive).
The way it works under the hood: cyr_deny adds an entry to the Cyrus user_deny.db database. And the third synopsis just lists out the entries in that database, like a little receipts check π§Ύ
The service names it matches against are the ones used in cyrus.conf(5) β so like, same names, same energy, iykyk.
Also! cyr_deny reads its configuration options out of the imapd.conf(5) file, unless you tell it otherwise with -C.
π OPTIONS π
-Cconfig-file β use the specific config file config-file instead of the defaultimapd.conf(5). it's giving "I brought my own settings" β¨-a,--allowβ allow access to all services for user user. this removes any entry from the deny database β so it's the un-deny, the take-it-back, the "you're ungrounded" π«Ά-sservices,--services=services β deny access only to the given services. services is a comma-separated list of wildcard patterns. the default is"*"which denies access to all services. the "*" is basically the "everyone in the group chat is affected" move π-mmessage,--message=message β give a message that gets sent to the user explaining why access is being denied. if you don't specify one, a default message is used. (be nice maybe? a lil kindness goes a long way π)-l,--listβ list the entries in the deny database. peak "let me see who's on the naughty list" behaviour π
π EXAMPLES π
[NB: Examples needed]
literally the manpage itself said examples needed, so that's exactly what we're leaving here, fr fr π
π HISTORY π
This command was introduced in version 3.0. so it's been around a minute, iconic behaviour since day one π
π FILES π
/etc/imapd.conf<configdirectory>/user_deny.db
β SEE ALSO β
π§ AUTHOR π§
The Cyrus Team, Nic Bernstein (Onlight) β shoutout, legends only π«Ά
π COPYRIGHT π
1993β2026, The Cyrus Team
heads up bestie: this page is from Cyrus IMAP version 3.12.3, dated Jul 15, 2026. go forth and deny (or allow) responsibly πβ¨ππ¦πΈ
π¦ where this page comes from
- ubuntu stonking: cyrus-common 3.12.3-3build1 Β· CMU
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms