Hack around sieve execution for multiple recipients.

This commit is contained in:
Gonne 2025-03-04 07:39:36 +01:00
parent 67d8132606
commit 4c946968e1

View file

@ -184,6 +184,10 @@ in {
}
{"else" = false;}
];
# The sieve script only handles the last RCPT TO command (https://stalw.art/docs/sieve/variables).
# Since we want it to run for every recipient, we need to accept them one at a time. :-(
# This setting throws a temporary error for the second RCPT TO command after which the HRZ retries in a new connection.
max-recipients = 1;
};
data.script = "'redirects'";
};