Mike Cardwell: > On an old Exim box, I used to do something similar to this with the following > two line bit of config: > > deny condition = ${if !match{$message_body}{-----BEGIN PGP MESSAGE-----}} > message = Unencrypted message. Encrypt then retry. > > Is there really no equivalent way of doing something like this in Postfix > without having to call out to an external program?
This is what the Milter interface is for. Wietse