>>>>> "Ben" == Ben Gertzfield <[EMAIL PROTECTED]> writes:
Ben> Example qmail-smtpd/run script:
Thanks to tw for pointing out that I had copied and pasted the
wrong qmail-smtpd/run script for ldap-relay! Here's the correct
example run script to use ldap-relay:
#!/bin/sh
QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 20000000 \
/usr/local/bin/tcpserver -v -R -l 0 \
-x /var/qmail/control/access/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/ldap-relay \
/var/qmail/bin/qmail-smtpd /var/qmail/bin/auth_smtp /usr/bin/true 2>&1
Ben
--
Brought to you by the letters W and G and the number 15.
"It makes my nipples hard!"
Debian GNU/Linux maintainer of Gimp and Nethack -- http://www.debian.org/