Hi Benoit,

I had a similar problem that was pointed out in the Life With Qmail document
(G.9 Page 68 (74 of 76) ). Essentially the file
/var/qmail/queue/lock/trigger is either not there or has the wrong
permissions or is a regular file. Have a look at that first and see if it is
OK. I assume you're familiar with this document. If not, check out the links
from the qmail website.

Mike Berry-Porter
Gallery Software Productions
E-mail: [EMAIL PROTECTED]

This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please delete
it and notify the sender. The contents of this E-mail are the opinion of the
writer only and are not endorsed by Gallery Software Productions
unless expressly stated otherwise.


-----Original Message-----
From: benoit delagarde [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 18 September 2001 6:00 PM
To: [EMAIL PROTECTED]
Subject: PB with migration of qmail on other server


I all.
Firt im sorry for my english, im frencjh and i dont write very well.

I install qmail on a server witch was used for testing some configuration.
All the test are OK, so i decide to move the /var/qmail and all the other
programme and directories(like svscan, /services ect ...) to the new server.
I recreate all the user with the good UID and GID. And i veryfie all the
right User, group and autorisation for each directories.
I start svscan with this script :

#!/bin/sh -e
# /etc/init.d/svscan : start or stop svscan.
# borrowed from http://Web.InfoAve.Net/~dsill/lwq.html#start-qmail
# modified by Adam McKenna <[EMAIL PROTECTED]>

case "$1" in
    start)
        echo -n "Starting djb services: svscan "
        cd /service
        env - PATH="/usr/local/bin:$PATH" svscan &
        echo $! > /var/run/svscan.pid
        echo "."
        ;;
    stop)
        echo -n "Stopping djb services: svscan "
        kill `cat /var/run/svscan.pid`
        echo -n "services "
        svc -dx /service/*
        echo -n " logging "
        svc -dx /service/*/log
        echo "."
        ;;
    restart|reload|force-reload)
esac

All was good.
I try a qmail-inject, it seem to work but the delevery dont start. NO
message in logfile.
I restart qmail with this script :

#!/bin/sh -e
# /etc/init.d/qmail : start or stop the qmail mail subsystem.
# borrowed from http://Web.InfoAve.Net/~dsill/lwq.html#start-qmail
# modified by Adam McKenna <[EMAIL PROTECTED]>

PATH=$PATH:/usr/local/bin:/var/qmail/bin

case "$1" in
    start)
        echo -n "Starting mail-transport-agent:"
        svc -u /var/qmail/supervise/*
        echo -n " qmail"
        svc -u /var/qmail/supervise/*/log
        echo " logging."
        ;;
    stop)
        echo -n "Stopping mail-transport-agent: "
        echo -n " qmail"
        svc -d /var/qmail/supervise/*
        echo " logging"
        svc -d /var/qmail/supervise/*/log
        ;;
    restart)


and then the delivery start, and the log appear in the logfile.
Each time i send a mail, i need to restart qmail with this script. But
previously, the first script work fine.

Have someone an solution, or suggestion?
Perhaps did i made a mistake somewhere, but where?

Bye and thanks


Reply via email to