On Fri, Nov 25, 2016 at 12:00:27AM -0800, Michael Fox wrote:
> Is there a command that can check if all files referenced in main.cf are
> present?  Currently, if my manual/visual review misses something, I don't
> find out until postfix tries to process a message and discovers the missing
> file.  
> 
>  
> 
> postfix check doesn't do this.
> 
>  

Quick test that I did: changed 'alias_database = hash:/etc/aliases'
into 'alias_database = hash:/etc/aliasez'. So creating an error.

Did `postfix reload` (and also `service postfix restart` )
and checked syslog file. Reload (and Restart) entry is there,
but no error on detection of the typo error.


So I'm also curious if there is a "syntax checker"
that reports missing files.


Groeten
Geert Stappers
-- 
Leven en laten leven

Reply via email to