Dave's Brain

Browse - Computer Tips - How can I make Postfix's anvil log less?

Date: 2008nov24
Product: postfix
OS: Linux

Q.  How can I make Postfix's anvil log less?
(My machine is low traffic)

A.  In main.cf set this:

anvil_status_update_time = 1d
That's once per day. And in master.cf add:
anvil unix - - n - 1 anvil -o max_idle=1d
This is needed because Anvil will log each time its restarted (which is determined by max_idle). Then restart postfix:
systemctl restart postfix

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.