LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   qmail ssl and smtp not working together (https://www.linuxquestions.org/questions/linux-software-2/qmail-ssl-and-smtp-not-working-together-379414/)

shmude 11-02-2005 07:02 PM

qmail ssl and smtp not working together
 
i used the qmailrocks guide to get everything running. It runs great with regular ol pop and smtp but i want to do it over SSL (call me crazy) i found a topic on qmailrocks forums about it and pop3s works great! i did the same thing for smtp and it doesn't want to work. Im using outlook 2003 as my mail client.

here is my stunnel_smtpd.conf
Code:

cert = /var/qmail/control/servercert.pem
exec = /var/qmail/bin/qmail-smtpd
execargs = qmail-smtpd /home/vpopmail/bin/vchkpw

and my run file
Code:

/usr/local/bin/tcpserver -p -v -R -l 0 -x /etc/tcp.smtp.cdb \
-u98 -g98 -v -c100 0 465 \
/usr/sbin/stunnel /var/qmail/control/stunnel_smtpd.conf 2>&1

if i just try to ./run it give me
Code:

tcpserver: fatal: unable to bind: address already used
but it does that under the pop3 section too.

nmap...
Code:

PORT    STATE SERVICE
22/tcp  open  ssh
37/tcp  open  time
80/tcp  open  http
106/tcp open  pop3pw
113/tcp open  auth
465/tcp open  smtps
993/tcp open  imaps
995/tcp open  pop3s

if i try to telnet to localhost 465 it says it connects and then kicks me out.
Code:

telnet localhost 465
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

any advice??
btw this is a slackware 10.2 fresh install.


All times are GMT -5. The time now is 04:22 AM.