Page 1 of 1

SMTPS -STUNNEL with Scalix 10

Posted: Sun Dec 23, 2007 2:46 pm
by evital
I have been using version 10 for over a year now but have never been able to get smtps or pop3s working via stunnel.

IMAP does work and I have been at this for a few days so any help is greatly appreciated!!

Here are the relevant entries in my stunnel.conf

[pop3s]
accept = 995
connect = 110

[ssmtp]
accept = 465
connect = 25

[imaps]
accept = 993
connect = 143

*----* Update
When trying to connect from my other box via telnet this is what I get

When I telnet into 25 it looks like it is talking to Scalix but when I telnet into 465 it looks like it is talking to sendmail.


[root@vserver01 ]# telnet 192.168.xx.xxx 25
Trying 192.168.xx.xxx...
Connected to 192.168.xx.xxx (192.168.xx.xxx).
Escape character is '^]'.
220 mail.mydomain.com ESMTP Scalix SMTP Relay 10.0.1.3; Sun, 23 Dec 2007 15:39:35 -0500 (EST)
EHLO localhost
250-mail.mydomain.com Hello [192.168.xx.20], pleased to meet you
250-AUTH GSSAPI CRAM-MD5 PLAIN DIGEST-MD5 LOGIN
250-AUTH=LOGIN
250-DSN
250 8BITMIME
quit
221 mail.myhost.com closing connection
Connection closed by foreign host.


[root@vserver01 ]# telnet 192.168.xx.xxx 465
Trying 192.168.xx.xxx...
Connected to 192.168.xx.xxx (192.168.xx.xxx).
Escape character is '^]'.
+ stunnelaribe.com ESMTP Sendmail 8.13.1/8.13.1; Sun, 23 Dec 2007 15:52:27 -0500
MAIL From:<mysuername@mydomain.com>
Connection closed by foreign host.
[root@vserver01 ]#

Re: SMTPS -STUNNEL with Scalix 10

Posted: Mon Dec 24, 2007 1:55 pm
by bbryan
evital wrote:
[ssmtp]
accept = 465
connect = 25

I would change port 25 to 587, (requiring authentication from localhost) to avoid open relay.

evital wrote:[root@vserver01 ]# telnet 192.168.xx.xxx 465


If you're using telnet to access an ssl secured port you'll want to install telnet-ssl, then it should work with this..

$ telnet -z ssl 192.168.xx.xxx 465

Ben