I am trying to use exim as a replacement for sendmail in RedHat 9.
At system bootup I get the following messages:
Jun 8 13:17:40 sleepy sendmail: sendmail startup succeeded
Jun 8 13:17:40 sleepy sendmail: exim abandoned: unknown, malformed, or incomplete option -L
Jun 8 13:17:40 sleepy sendmail: sm-client startup failed
Looking at the script in /etc/rc.d/init.d/sendmail I see:
start() {
# Start daemons.
echo -n $"Starting $prog: "
/usr/bin/newaliases > /dev/null 2>&1
if test -x /usr/bin/make -a -f /etc/mail/Makefile ; then
make -C /etc/mail -s
else
for i in virtusertable access domaintable mailertable ; do
if [ -f /etc/mail/$i ] ; then
makemap hash /etc/mail/$i < /etc/mail/$i
fi
done
fi
daemon /usr/sbin/sendmail $([ "x$DAEMON" = xyes ] && echo -bd) \
$([ -n "$QUEUE" ] && echo -q$QUEUE)
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/sendmail
if ! test -f /var/run/sm-client.pid ; then
echo -n $"Starting sm-client: "
touch /var/run/sm-client.pid
chown smmsp:smmsp /var/run/sm-client.pid
daemon --check sm-client /usr/sbin/sendmail -L sm-msp-queue -Ac \
-q$SMQUEUE
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/sm-client
fi
return $RETVAL
}
The error is in the line:
daemon --check sm-client /usr/sbin/sendmail -L sm-msp-queue -Ac -q$SMQUEUE
exim does not support the -L switch.
sm-client do not get started, but sendmail (exim) appears to be
functioning properly.
The script from RedHat 7.2 did not start sm-client.
Does anyone have a solution to this problem?