Dave Jones:
> I know there is a "postfix check" that will do some basic checks of
> permissions and directories, but is there a command that will check config
> file syntax?  For example, if an IP address is fat-fingered in the
> mynetworks line, postfix will reload and run but gives "Temporary lookup
> failure" errors in the logs and reject everything.  It would be beneficial
> to check for syntax problems in config files (like spamassassin --lint
> returning a non-zero code) so a bad config doesn't get applied to a cluster
> of mail servers.

In many cases, the syntax of the 1000+ parameter values is checked
only when a value is used.  For example, the syntax of the mynetworks
value is checked only when a specific IP address is matched against
this list (and if the syntax error is at the end of the list, it
may yaake a while before the error is noticed).

        Wietse

Reply via email to