@noahm @suihkulokki I need to look at dovecot’s sieve in particular. I do want a pipe call-out (to a spam classifier) which exim’s sieve implementation doesn’t support (and exim’s own filter language has poor behaviour if the pipe fails: no handling in the filter script; generate a bounce to sender!). Thanks!
@suihkulokki that’s the one I need to look at next. Thanks!
@joostvb thanks! Out of curiosity, if you use “system some-command”, and some-command exits signalling failure, what does maildrop do?
@pndc i do! But as I understand it’s “pipe” command, I’m concerned about the behaviour if the command fails
@pndc it’s the bounce that concerns me. I could live with spooled retries. From the docs I think it might depend on the return code
@jmtd https://manpages.debian.org/bookworm/maildrop/maildropfilter.7.en.html : looks like it does the right thing: give tempfail back to mta if piping to a command fails, so the mta will retry later.