Costin Gusa: > for example: I don't want the text "helo command rejected" to be > prepended to my custom "REJECT internal code 123"
Postfix will "reveal" both the name and the value of the element (client, helo, sender, recipient) that triggers a reject, because down over here in the real world, Postfix rules will occasionally reject legitimate mail. I doubt that it is worthwhile to complicate Postfix source code with the output equivalent of the smtpd_command_filter feature, but you are welcome to give it a stab. Wietse