[stunnel-users] How use certificates with stunnel -- Newbie question

Shatadal shatadal at vfemail.net
Sat Nov 27 11:41:52 CET 2004


mtrojnar at mirt wrote:
> Shatadal wrote:
> 
> I guess there's a client=yes here.
> 
> 
>># IMAP service, listens on localhost:1200
>>[myisp-imaps]
>>accept=localhost:1200
>>connect=myisp.com:993
> 
> 
> Ok.  IMAPS port is 993.
> 
> 
>># SMTP service, listens on localhost:260
>>[myisp-smtps]
>>accept=localhost:260
>>connect=myisp.com:25
> 
> 
> You either need to switch from SMTP to SSMTP:
> 
> [myisp-ssmtp]
> accept=localhost:260
> connect=myisp.com:465
> 
> or enable SMTP SSL protocol negotiation:
> 
> [myisp-smtp-ssl]
> accept=localhost:260
> connect=myisp.com:25
> protocol=smtp
> 
> (whatever is supported by your ISP)

I tried your second suggestion (myisp has port 465 disabled) but it did 
not work. I was checking the traffic over my firewall and stunnel did 
connect to myisp.com using smtp but the e-mail client (mozilla 
thunderbird) was taking ages to send the e-mail and finally gave the 
following error:

Sending of message failed.

The message could not be sent because connection to SMTP server 
localhost failed. The server may be unavailable or is refusing SMTP 
connections. Please verify that your SMTP server setting is correct and 
try again, or else contact your network administrator.

I guess it is an issue with the certificate from myisp which I had 
mentioned in my original post.

> 
> Best regards,
>     Mike

Thanks,
Shatadal.


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0448-1, 11/26/2004
Tested on: 11/27/2004 4:41:55 AM
avast! - copyright (c) 2000-2004 ALWIL Software.
http://www.avast.com






More information about the stunnel-users mailing list