Dave's Brain

Browse - computer tips - postfix less anvil logging

Date: 2008nov24

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:

	service postfix restart
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, 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.
Advertisements: