> I don't know why Postfix does not log the three-digit code. > That's out of my control, obviously. I set it $self->action_bounce($ctx, "Blocked as spam", 550, "5.7.1"); and ran a test. I think you are right, the bounce email itself had the error code 550 5.7.1 however the postfix logs still only has 5.7.1 I will ask the postfix guys.