I modified the 'run' script because it didn't work on my system. Then I modified it again to run on different ports.
I'm curious how others are starting qpsmtpd on different ports. Perhaps there is a better way than what I've done. See below #!/bin/sh QMAILDUID=`id -u smtpd` NOFILESGID=`id -g smtpd` SOFTLIMIT=/usr/sbin/softlimit #originally pointed to /usr/local/bin TCPSERVER=/usr/bin/tcpserver #originally pointed to /usr/local/bin if [ -f "config/PORT" ] ; then PORT=`head -1 config/PORT` else PORT=smtp fi if [ -f "config/IP" ] ; then #This was inline. doing it here allows for better error handling IP=`head -1 config/IP` fi exec $SOFTLIMIT -m 25000000 \ $TCPSERVER -c 10 -v -R -p \ -u $QMAILDUID -g $NOFILESGID $IP $PORT \ ./qpsmtpd 2>&1 -- JT Moree