14 lines
357 B
Bash
Executable File
14 lines
357 B
Bash
Executable File
#!/bin/sh
|
|
QMAILU=$(id -u _qmaild)
|
|
QMAILG=$(id -g _qmaild)
|
|
HOSTNAME=$(hostname)
|
|
export SMTPAUTH="!"
|
|
export UCSPITLS="!"
|
|
export UTF8="1"
|
|
. /var/qmail/ssl/ssl.env
|
|
exec env PATH="/var/qmail/bin:/usr/local/bin:$PATH" \
|
|
chpst -m 50000000 \
|
|
sslserver -seVn -Rp -l $HOSTNAME \
|
|
-u $QMAILU -g $QMAILG :0 587 \
|
|
qmail-smtpd qmail-authuser true 2>&1
|