Thomas,

> 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.

Thanks, accepted! It will be in 2.6.4 (eventually).

  Mark

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
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