void-packages/srcpkgs/sqmail/files/qmail-smtpsub/run
Leah Neukirchen 198edb5c7e sqmail: service tweaks.
Add service tags to all loggers.
Listen on :0 instead of :: to force dual-stack.
Make run scripts conf_files, as they are meant to be adapted to your needs.
2020-03-14 21:41:13 +01:00

11 lines
316 B
Bash
Executable file

#!/bin/sh
QMAILU=$(id -u _qmaild)
QMAILG=$(id -g _qmaild)
HOSTNAME=$(hostname)
export SMTPAUTH="!"
export UCSPITLS="!"
. /var/qmail/ssl/ssl.env
exec env PATH="/var/qmail/bin:/usr/local/bin:$PATH" \
sslserver -seVn -Rp -l $HOSTNAME \
-u $QMAILU -g $QMAILG :0 587 \
qmail-smtpd qmail-authuser true 2>&1