Index: openacs-4/packages/acs-core-docs/www/files/qmail-send-log-run.txt =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/files/qmail-send-log-run.txt,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-core-docs/www/files/qmail-send-log-run.txt 24 Jun 2003 22:18:05 -0000 1.1 @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail Index: openacs-4/packages/acs-core-docs/www/files/qmail-send-run.txt =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/files/qmail-send-run.txt,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-core-docs/www/files/qmail-send-run.txt 24 Jun 2003 22:18:05 -0000 1.1 @@ -0,0 +1,2 @@ +#!/bin/sh +exec /var/qmail/rc Index: openacs-4/packages/acs-core-docs/www/files/qmail-smtpd-log-run.txt =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/files/qmail-smtpd-log-run.txt,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-core-docs/www/files/qmail-smtpd-log-run.txt 24 Jun 2003 22:18:05 -0000 1.1 @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd Index: openacs-4/packages/acs-core-docs/www/files/qmail-smtpd-run.txt =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/files/qmail-smtpd-run.txt,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/acs-core-docs/www/files/qmail-smtpd-run.txt 24 Jun 2003 22:18:05 -0000 1.1 @@ -0,0 +1,17 @@ +#!/bin/sh +QMAILDUID=`id -u qmaild` +NOFILESGID=`id -g qmaild` +LOCAL=`head -1 /var/qmail/control/me` +if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$LOCAL" ]; then + echo QMAILDUID, NOFILESGID, 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 \ + -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 \ No newline at end of file