summaryrefslogtreecommitdiff
path: root/service/run_qmtpd
blob: 695cc1f0ef579ac7fad6aaed33d7ae17fae84256 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
QMAILU=`id -u qmaild`
QMAILG=`id -g qmaild`
HOSTNAME=`hostname`
exec env PATH="/var/qmail/bin:$PATH" \
     tcpserver -v -Rp -l $HOSTNAME \
     -Xx /var/qmail/control/rules.smtpd.cdb \
     -u $QMAILU -g $QMAILG 0 qmtp \
     qmail-qmtpd 2>&1