Submission

From QmailToaster
Revision as of 12:58, 19 October 2024 by Ebroch (talk | contribs) (Created page with "Back<br> # cd /var/qmail/supervise # cat > submission/run << __EOF__ #!/bin/sh QMAILDUID=\`id -u vpopmail\` NOFILESGID=\`id -g vpopmail\` MAXSMTPD=\`cat /var/qmail/control/concurrencyincoming\` SMTPD="/var/qmail/bin/qmail-smtpd" TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb" HOSTNAME=\`hostname\` VCHKPW="/home/vpopmail/bin/vchkpw"<br> export FORCETLS="1" export SMTPAUTH="!"<br> exec /usr/bin/softlimit -m 128000000 \\ /usr/bin/tcpserv...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back

# cd /var/qmail/supervise
# cat > submission/run << __EOF__
#!/bin/sh
QMAILDUID=\`id -u vpopmail\`
NOFILESGID=\`id -g vpopmail\`
MAXSMTPD=\`cat /var/qmail/control/concurrencyincoming\`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=\`hostname\`
VCHKPW="/home/vpopmail/bin/vchkpw"
export FORCETLS="1" export SMTPAUTH="!"
exec /usr/bin/softlimit -m 128000000 \\ /usr/bin/tcpserver -v -R -H -l \$HOSTNAME -x \$TCP_CDB -c "\$MAXSMTPD" \\ -u "\$QMAILDUID" -g "\$NOFILESGID" 0 587 \\ \$SMTPD \$VCHKPW /bin/true 2>&1 __EOF__