Hello,

 I believe the bug is not fixed in the latest release as stated. The
 patch is not quite correct in detecting the logtail version. After
 execution, a variable ARGS=0 is initialized, which cleans the return
 code and autodetection does not work. This patch should fix it:

--- amavis.old  2005-02-26 00:39:54.000000000 +0100
+++ amavis      2005-02-26 00:38:22.000000000 +0100
@@ -47,8 +47,8 @@
 spamm=U
 spams=U
 
-`$LOGTAIL /etc/hosts 2>/dev/null >/dev/null`
 ARGS=0
+`$LOGTAIL /etc/hosts 2>/dev/null >/dev/null`
 if [ $? = 66 ]; then
     if [ ! -n "$logtail" ]; then
        ARGS=1

  Also, a logfile path still did not change. I believe it's good to change
  the default to /var/log/mail.info, which is Debian's default. Also, in
  default Debian configuration, you need to run this plugin as root or
  at least as group adm, so adding 

[amavis]
group adm

  or

[amavis]
user root

  to default /etc/munin/plugin-conf.d/munin-node should be fine, this
  way also autodetection for amavis will work. 

  I believe it's a good idea to make real use of the great autodetection
  mechanism and let the user configure almost nothing. It's a good idea
  to be able to do apt-get install munin-node and only edit allowed IP
  for a new host, leaving all necessary configuration on the server
  side.

   Best wishes,

     Juraj Bednar.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to