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