Hi all, hi Mark!

Amavisd-nanny is a great tool to get a quick overview of amavisd-new's
current state. Some time ago I've used a modified version, as there as
been no "-c" switch - now it is even easier to script it. We are for
example parsing and embedding it's output in a web application allowing
our support team to see what's currently going on (even if they don't
use it, as it is always running smoothley ;-)).

As amavisd-nanny is also cleaning up naughty childs I decided to run
it in a cron job. However, redirecting all STDERR and STDOUT to my
nirvana is not really what I usually prefer to do. Information about
failing processes should still be mailed to sysadmin.

Currently there is nothing but "exited" (and SIG failures) to be found
in STDERR. "exited" should not be there (it would trigger a mail for
each time called by cron) - other output (currently only sent to STDOUT)
is however really interesting.

Attached to this post you can find a small patch showing how I would
like to change amavisd-nanny to "improve" it's bevahiour, making it
ready to be used out of the box in your crontab, being called as
follows:

  amavisd-nanny -c 1 >/dev/null

That's all, feedback / improvements are welcome.

Best regards,
Thomas Gelf

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to