diff options
Diffstat (limited to 'service/run_smtpsd')
-rwxr-xr-x | service/run_smtpsd | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/service/run_smtpsd b/service/run_smtpsd new file mode 100755 index 0000000..c373b83 --- /dev/null +++ b/service/run_smtpsd @@ -0,0 +1,11 @@ +#!/bin/sh +QMAILU=`id -u qmaild` +QMAILG=`id -g qmaild` +HOSTNAME=`hostname` +export SMTPAUTH="" +. /var/qmail/ssl/ssl.env +exec env PATH="/var/qmail/bin:/usr/local/bin:$PATH" \ + sslserver -seV -Rp -l $HOSTNAME \ + -Xx /var/qmail/control/rules.smtpd.cdb \ + -u $QMAILU -g $QMAILG 0 smtps \ + qmail-smtpd qmail-authuser true 2>&1 |