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