This is a discussion on telnet connection refused, can't receive/deliver within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Dave, My version is probably old, the book is dated 2002, so I got it quite some time ago. Time ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Dave,
My version is probably old, the book is dated 2002, so I got it quite some time ago. Time flys! Thanks for your help, Jack bsd# ps wwaux | grep tcpserver qmaild 1676 0.0 0.2 104 412 C0- I Sat05PM 0:00.01 /usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.smtp.cdb -c 20 -u 1001 -g 1000 0 465 /usr/local/sbin/stunnel -f -p /usr/local/etc/stunnel.pem -l /var/qmail/bin/qmail-smtpd bsd# cd /var/qmail/service/qmail-smtpd bsd# ls log run bsd# cat run #!/bin/sh # Dave Sill, 2001-11-06 # For use with The qmail Handbook, ISBN 1893115402 QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`head -1 /var/qmail/control/concurrencyincoming` if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in echo $0 exit 1 fi exec /usr/local/bin/softlimit -m 3000000 \ /usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 465 \ /usr/local/sbin/stunnel -f -p /usr/local/etc/stunnel.pem \ -l /var/qmail/bin/qmail-smtpd 2>&1 |
|
|||
|
"jack" <jackjenkins@softhome.net> writes:
> My version is probably old, the book is dated 2002, so I got it quite > some time ago. Time flys! That's the latest version of the book. Lifewithqmail.org has newer versions of the scripts, but the ones in the book will work. > bsd# ps wwaux | grep tcpserver > qmaild 1676 0.0 0.2 104 412 C0- I Sat05PM 0:00.01 > /usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.smtp.cdb -c 20 -u > 1001 -g 1000 0 465 /usr/local/sbin/stunnel -f -p > /usr/local/etc/stunnel.pem -l /var/qmail/bin/qmail-smtpd That's listening on port 465 and is an SSL-secured SMTP service. > bsd# cd /var/qmail/service/qmail-smtpd > bsd# ls > log run > bsd# cat run > #!/bin/sh > > # Dave Sill, 2001-11-06 > # For use with The qmail Handbook, ISBN 1893115402 > > QMAILDUID=`id -u qmaild` > NOFILESGID=`id -g qmaild` > MAXSMTPD=`head -1 /var/qmail/control/concurrencyincoming` > if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then > echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in > echo $0 > exit 1 > fi > exec /usr/local/bin/softlimit -m 3000000 \ > /usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.smtp.cdb -c > "$MAXSMTPD" \ > -u "$QMAILDUID" -g "$NOFILESGID" 0 465 \ > /usr/local/sbin/stunnel -f -p /usr/local/etc/stunnel.pem \ > -l /var/qmail/bin/qmail-smtpd 2>&1 And we can see from the run script that it's been modified from the one in the book to add SSL. Replace the last bit with: /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 25 /var/qmail/bin/qmail-smtpd 2>&1 and do "svc -t /service/qmail-smtpd". -- Dave Sill Oak Ridge National Lab, Workstation Support Author, The qmail Handbook <http://web.infoave.net/~dsill> <http://lifewithqmail.org/>: Almost everything you always wanted to know. |
|
|||
|
Dave,
Thanks for your patience. Still no change...I really appreciate your help. I think I may have another problem besides qmail. nmap and netstat show that nothing is listening on port 25. I think I need to go over the install again. Thanks again, Jack |