diff options
Diffstat (limited to 'mail-mta/qmail-ldap/files/supervise/run-qmailsmtpd')
-rw-r--r-- | mail-mta/qmail-ldap/files/supervise/run-qmailsmtpd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail-mta/qmail-ldap/files/supervise/run-qmailsmtpd b/mail-mta/qmail-ldap/files/supervise/run-qmailsmtpd new file mode 100644 index 000000000000..b9ddd77050ec --- /dev/null +++ b/mail-mta/qmail-ldap/files/supervise/run-qmailsmtpd @@ -0,0 +1,6 @@ +#!/bin/sh +QMAILDUID=`id -u qmaild` +NOFILESGID=`id -g qmaild` +exec /usr/bin/softlimit -m 8000000 \ + /usr/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb \ + -u $QMAILDUID -g $NOFILESGID 0 smtp rblsmtpd /var/qmail/bin/qmail-smtpd /var/qmail/bin/auth_smtp /usr/bin/true 2>&1 |