Submission: Difference between revisions
Jump to navigation
Jump to search
(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...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Configuration#Submission|Back]]<br> | [[Configuration#Submission|Back]]<br> | ||
# qmailctl stop | |||
# cd /var/qmail/supervise | # cd /var/qmail/supervise | ||
# cat > submission/run << __EOF__ | # cat > submission/run << __EOF__ | ||
Line 16: | Line 17: | ||
-u "\$QMAILDUID" -g "\$NOFILESGID" 0 587 \\ | -u "\$QMAILDUID" -g "\$NOFILESGID" 0 587 \\ | ||
\$SMTPD \$VCHKPW /bin/true 2>&1 | \$SMTPD \$VCHKPW /bin/true 2>&1 | ||
__EOF__ | __EOF__<br> | ||
# qmailctl start | |||
# firewall-cmd --zone=public --add-port=587/tcp --permanent | |||
# firewall-cmd --reload |
Latest revision as of 12:01, 19 October 2024
# qmailctl stop # 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__
# qmailctl start # firewall-cmd --zone=public --add-port=587/tcp --permanent # firewall-cmd --reload