Computing.Net > Forums > Linux > Can't start qmail-smtpd

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

Can't start qmail-smtpd

Reply to Message Icon

Name: pt2huynh
Date: January 6, 2006 at 06:22:27 Pacific
OS: Red hat 9
CPU/Ram: P4/512
Comment:

Hi everyone,

My qmail-smptd RUN file is:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then
echo "QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in"
echo "/var/qmail/supervise/qmail-smtpd/run"
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo "No /var/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open relay"
exit 1
fi
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb
-c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1


when I execute that with "sh run", I got Line 20 unexpected end of file.

Please help.

Thanks,



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Best Operating system /etc/passwd change accide...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Can't start qmail-smtpd

Can't start postgre-server in RH9.0 www.computing.net/answers/linux/cant-start-postgreserver-in-rh90/24033.html

Can't start *.doc on separate wind www.computing.net/answers/linux/cant-start-doc-on-separate-wind/26043.html

Xwindows can't start www.computing.net/answers/linux/xwindows-cant-start/21573.html