void-packages/srcpkgs/sqmail/files/qmail-smtpsd/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

12 lines
342 B
Bash
Executable file

#!/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 465 \
qmail-smtpd qmail-authuser true 2>&1