[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
R: [hobbit] hobbit and procmail
- To: <hobbit (at) hswn.dk>
- Subject: R: [hobbit] hobbit and procmail
- From: "Vozza Damiano" <damiano.vozza (at) apss.tn.it>
- Date: Wed, 22 Feb 2006 10:33:23 +0100
- Cc: <lebarber (at) gmail.com>
- Thread-index: AcY29qmjdLjMoZVlTiuVCa1ZCJmk7QAl/mOg
- Thread-topic: [hobbit] hobbit and procmail
/usr/local/hobbit/server/etc/hobbitserver.cfg exists; I tried to make it readable and also writeable for all (permissions 666) and the problem remains.
But now I tried also to modify the string
|"$HOBBIT/server/bin/hobbit-mailack \
--env=$HOBBIT/server/etc/hobbitserver.cfg"
removing --env option and mailack seems to work; I used the string as in hobbit-mailack.8.html document,
So I think there is something wrong in the string sintax (too long?), but I don't know what is the correct solution.
The string
|"$HOBBIT/server/bin/hobbit-mailack --env=$HOBBIT/server/etc/hobbitserver.cfg"
all in one line whithout \ also doesn't work.
Thanks
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 damiano.vozza (at) apss.tn.it
web site www.apss.tn.it <http://www.apss.tn.it/>
-----Messaggio originale-----
Da: Larry Barber [mailto:lebarber (at) gmail.com]
Inviato: martedì 21 febbraio 2006 15.55
A: hobbit (at) hswn.dk
Oggetto: Re: [hobbit] hobbit and procmail
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 <damiano.vozza (at) apss.tn.it> 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 root (at) uschasbc1.apss.tn.it 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 damiano.vozza (at) apss.tn.it <mailto:damiano.vozza (at) apss.tn.it>
web site www.apss.tn.it <http://www.apss.tn.it/>