10 lines
279 B
Bash
10 lines
279 B
Bash
#!/bin/sh
|
|
|
|
PORT=$(/sbin/e-smith/db configuration getprop altqmail-smtpd TCPPort)
|
|
|
|
exec \
|
|
/usr/bin/env - PATH="/var/qmail/bin:/bin:/usr/bin:/usr/local/bin" \
|
|
tcpsvd -vv 127.0.0.1 ${PORT:-27} \
|
|
chpst -u qmails -/ ../altqmail/root /var/qmail/bin/qmail-smtpd \
|
|
2>&1
|