1

Topic: Closing an Email Address

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.8
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Rocky 9.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mariadb
- Web server (Apache or Nginx): silly question
- Manage mail accounts with iRedAdmin-Pro? no
====

After a user has left an organization, and there's been a period of wind-down, it would be useful to "close" an email address (as opposed to just deleting it or leaving it active as a black hole).

There is an SMTP response code defined for this:

5.2.1   Mailbox disabled, not accepting messages

         The mailbox exists, but is not accepting messages.  This may be
         a permanent error if the mailbox will never be re-enabled or a
         transient error if the mailbox is only temporarily disabled.

I'm looking for a way to support this in iRedMail, maybe something that works similarly to the domain-level "Enable This Domain" checkbox.

Thoughts?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Closing an Email Address

You can do this with sieve

reject <reason: string>

3

Re: Closing an Email Address

Cthulhu wrote:

You can do this with sieve

reject <reason: string>

Perfect. Thank you!