On 8/26/2010 4:04 PM, pf at alt-ctrl-del.org wrote:
Is there a command line tool to test this stuff? Something that would step through the smtpd_*_restrictions or user defined restriction classes, and show the chain of execution and each restriction that is hit.
Nope. Just "postconf" to show the config that postfix sees, and "postmap -q" to test your queries.
(long-standing postconf bug: user defined content, such as restriction classes, are not shown. The fact that it's long-standing is a good clue that there is no simple solution.)
-- Noel Jones