summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Bevin <gbevin@gentoo.org>2001-12-05 02:33:04 +0000
committerGeert Bevin <gbevin@gentoo.org>2001-12-05 02:33:04 +0000
commit3305cab09d899221a66abe94be3cc9b5a97e5b75 (patch)
treee99ed02b93c9bfd2e4bfe81b442f03631f55517c /net-mail/qmail/files/1.03-r5/run-qmailsmtpd
parentUpgraded to new version and integrate with startup scripts. (diff)
downloadgentoo-2-3305cab09d899221a66abe94be3cc9b5a97e5b75.tar.gz
gentoo-2-3305cab09d899221a66abe94be3cc9b5a97e5b75.tar.bz2
gentoo-2-3305cab09d899221a66abe94be3cc9b5a97e5b75.zip
Reviewed entire qmail installation since the installation was broken.
It's now installed exactly according to what's explained in the qmail howto v2. It uses daemontools for service launching. To start/stop/reload, there is an additional script /var/qmail/bin/qmail-control that can be used instead of the general svscan startup file.
Diffstat (limited to 'net-mail/qmail/files/1.03-r5/run-qmailsmtpd')
-rw-r--r--net-mail/qmail/files/1.03-r5/run-qmailsmtpd6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-mail/qmail/files/1.03-r5/run-qmailsmtpd b/net-mail/qmail/files/1.03-r5/run-qmailsmtpd
new file mode 100644
index 000000000000..0d61202a7cf3
--- /dev/null
+++ b/net-mail/qmail/files/1.03-r5/run-qmailsmtpd
@@ -0,0 +1,6 @@
+#!/bin/sh
+QMAILDUID=`id -u qmaild`
+NOFILESGID=`id -g qmaild`
+exec /usr/bin/softlimit -m 2000000 \
+ /usr/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb \
+ -u $QMAILDUID -g $NOFILESGID 0 smtp rblsmtpd /var/qmail/bin/qmail-smtpd 2>&1