Here is a message I posted to the amavis mailing list:
I tried running the /usr/sbin/scanmails as suggested in a previous
message and this is what I got when I sent a test message to a user on
my system (/var/log/qmail). I followed the README.qmail instructions
from amavis-0.2.1 and made symlinks to qmail-local and qmail-remote
in /var/qmail/bin from /usr/sbin/scanmails.
982230586.171074 status: local 0/10 remote 0/20
982230636.618106 new msg 668379
982230636.618137 info msg 668379: bytes 738 from
<[EMAIL PROTECTED]> qp 16686 uid 501
982230636.633205 starting delivery 1: msg 668379 to local
[EMAIL PROTECTED]
982230636.633267 status: local 1/10 remote 0/20
982230647.420901 delivery 1: success:
bin/qmail-local:_basename:_command_not_found/bin/qmail-local:_date:_command_not_found/bin/qmail-local:_
cut:_command_not_found/bin/qmail-local:_
cut:_command_not_found/bin/qmail-local
...
<much stuff deleted, btw>
...
No_such_file_or_directory//usr/bin/head:_To:_sam@do/Error_report_too_long,_sorry./
and it stops after that, but I am not sure what has happened, here is what
the startup script for my qmail system looks like:
#!/bin/sh
# Qmail Startup
# Source function library.
. /etc/rc.d/init.d/functions
HOSTNAME=`hostname`
# See how we were called.
case "$1" in
start)
echo -n "Starting: "
env - PATH="/var/qmail/bin:/usr/local/bin" \
qmail-start ./Maildir/ /usr/local/bin/accustamp \
| /usr/local/bin/setuser qmaill /usr/local/bin/cyclog /var/log/qmail &
echo -n "qmail "
env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -c100 0 pop-3 /var/qmail/bin/qmail-popup \
$HOSTNAME \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
echo -n "pop "
env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R -x /etc/tcp.smtp.cdb -c100 -u501 -g60 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &
echo "smtp"
;;
stop)
echo -n "stopping qmail"
killall qmail-send
killall tcpserver
echo
;;
restart)
$0 stop
$0 start
;;
status)
status qmail
;;
*)
echo "Usage: qmail {start|stop|restart|status}"
exit 1
esac
exit 0
Any ideas what has happened?
i've put qmail-local and qmail-remote back from qmail-local-real and
qmail-remote-real in the meantime
-Bill