a3aae7cab3
Debian Trixie package bundle / packages (push) Failing after 12m42s
RFC 5804 requires DELETESCRIPT to report NONEXISTENT and ACTIVE with different response codes, but Bongo always answered ACTIVE for both. Thread a was_active out-parameter through BongoSieveStoreDelete (SQLite and NMAP backends) so managesieved.c can tell the client which one it hit, matching Dovecot Pigeonhole's SIEVE_ERROR_NOT_FOUND/SIEVE_ERROR_ACTIVE split. Also reject HAVESPACE for a 0-byte script instead of answering OK, since PUTSCRIPT already refuses to store an empty script; Pigeonhole's cmd-havespace.c does the same. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>