I've added an additional smtp port for qmail. Many isp now block their users from connecting to port 25 so I created a port 2525 to get around that. All you have to do is use /service/qmail-smtpd as a template. I created /service/qmail-smtpd2525/ and change the port number in the run file such as:

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 11000000 \
    /usr/local/bin/tcpserver -H -R -l 0 \
    -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
    -u "$QMAILDUID" -g "$NOFILESGID" 0 2525 \
    /var/qmail/bin/qmail-smtpd domain.com \
    /home/vpopmail/bin/vchkpw /bin/true 2>&1

change the 2525 to whatever port you want. if you just want one smtp port change the run file in /sercice/qmail-smtpd/ and add the port there.




H�lio Dubeux Neto (OLD) wrote:


How can i change the qmail-toaster smtp port? I'm using RH9.0.

-------------------------------------
H�lio Dubeux Neto
Depto. T�cnico
INTERSIGHT
(81) 3224-0744
www.intersight.com.br



Reply via email to