Xymon Mailing List Archive search

hobbit and procmail

list Larry Barber
Tue, 21 Feb 2006 08:54:36 -0600
Message-Id: <user-75ca61cb6da9@xymon.invalid>

This seems to be the critical error:

/bin/sh: /usr/local/hobbit/server/bin/hobbit-mailack
--env=/usr/local/hobbit/server/etc/hobbitserver.cfg: No such file or
directory

Make sure your /usr/local/hobbit/server/etc/hobbitserver.cfg exists and that
it is readable by the procmail user.

Thanks,
Larry Barber

On 2/21/06, Vozza Damiano <user-b645b43234db@xymon.invalid> wrote:
 Sorry for my poor english

I use Hobbit 4.1.2p1 on FC4 and works fine; I tried to use hobbit-mailack
but if I send a Re to a message alert, Hobbit doesn't acknoledge the reply.


I cannot understand if my problem is with hobbit configuration or with
procmail (ver. 3.22); any help?


My .procmailrc is:

SHELL=/bin/sh

HOBBIT=/usr/local/hobbit

DEFAULT=$HOME/mailbox

LOGFILE=$HOME/procmail.log

VERBOSE=yes

:0:$HOME/mailbox.lock

|"$HOBBIT/server/bin/hobbit-mailack \

--env=$HOBBIT/server/etc/hobbitserver.cfg"


Procmail.log contains something like this:

procmail: [13686] Mon Feb 20 16:57:36 2006

procmail: Locking "/home/hobbit/mailbox.lock"

procmail: Executing "/usr/local/hobbit/server/bin/hobbit-mailack
--env=/usr/local/hobbit/server/etc/hobbitserver.cfg"

/bin/sh: /usr/local/hobbit/server/bin/hobbit-mailack
--env=/usr/local/hobbit/server/etc/hobbitserver.cfg: No such file or
directory

procmail: Non-zero exitcode (127) from
"/usr/local/hobbit/server/bin/hobbit-mailack
--env=/usr/local/hobbit/server/etc/hobbitserver.cfg"

procmail: Assigning
"LASTFOLDER=/usr/local/hobbit/server/bin/hobbit-mailack
--env=/usr/local/hobbit/server/etc/hobbitserver.cfg"

procmail: Assigning "LASTFOLDER=/home/hobbit/mailbox"

procmail: Opening "/home/hobbit/mailbox"

procmail: Acquiring kernel-lock

procmail: Unlocking "/home/hobbit/mailbox.lock"

procmail: Notified comsat: "hobbit at 1527:/home/hobbit/mailbox"

From user-40c7a6ecb75d@xymon.invalid  Mon Feb 20 16:57:36 2006

 Subject: Hobbit [240636] uschasbc1:procs CRITICAL (RED)

  Folder:
/home/hobbit/mailbox
    781


*Damiano Vozza
Azienda Provinciale per i Servizi Sanitari
Servizio Sistemi Informativi
Ospedale S. Chiara
Via Crosina Sartori 6 Trento - Italy
tel. (+39) 0461364856
fax. (+39) 0461903593
e-mail user-b645b43234db@xymon.invalid
web site www.apss.tn.it*