Edgar Fuß schreef:
Is it defined whether, in case a message should be delivered to multiple
destinations via a sieve script, and one of those destinations fail,
then the whole delivery is to be considered as successful or not?
My case:
A sieve script forwarding to and external destinations plus local keep.
The keep fails (configuration error, wrong homedir, .dovecot.lda-dupes
not writable).
According to postfix logs, dovecot deliver returned success.
The mail was NOT delivered to the local destination and NOT bounced.
Is this expected behaviour?
No, when delivery fails entirely, the deliver binary should give an
appropriate exit code, indicating that the MTA needs to try again later
or bounce the message. What do the Dovecot and MTA logs say?
Furthermore, the output of dovecot -n would help us find and solve the
issue. And finally, your Sieve script may also be relevant.
Regards,
--
Stephan Bosch
[email protected]