1

Topic: Plus addressing

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.4
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin-Pro 5.7.1 SQL
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

How can I make it so that the folder is created in the inbox and not in the root folder?

Sievec not work

# Plus addressing - auto create folders
if envelope :matches :detail "to" "*" {
    set "fwd" "${1}";
    fileinto "INBOX/${fwd}";
    stop;
}

----

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

2

Re: Plus addressing

Mh, as far as i know, useing / willcause problems, since it will create a new folder named INBOX/fwd in the root level

instead, try:

# Plus addressing - auto create folders
if envelope :matches :detail "to" "*" {
    set "fwd" "${1}";
    fileinto "INBOX.${fwd}";
    stop;
}

Aswell, if you are useing vars, you need to import that, together with fileinto:

require ["fileinto", "variables"];