This is a discussion on [stunnel-users] Stunnel Testing within the Stunnel Users forums, part of the Networking and Network Related category; This is a multipart message in MIME format. --===============0558394197== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01C802BD.73EBB200" Content-Language: ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multipart message in MIME format.
--===============0558394197== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01C802BD.73EBB200" Content-Language: en-us This is a multipart message in MIME format. ------=_NextPart_000_0006_01C802BD.73EBB200 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am using a command line mailer (BLAT) from a batch file to notify me when errors occur. My ISP requires SSL however still allows non-SSL traffic on Port 25 as well. Here is my scenario: I use BLAT to send an SMTP message on Port 25 to my ISP. This works but I must send my userid and password which I don't want to do. I then use Stunnel with the following config: [smtps] accept = 25 connect = smtp.isp.domain.net:465 Port 465 is the SSL port for my ISP. I run Stunnel as a service in Vista. I then have BLAT send an SMTP message on Port 25 to my ISP. This works. My question is, everything seems to work but how can I test this? I'm trying to figure out if it really worked (I sent the message with SSL to port 465) or I am still just sending a message on Port 25. Since both of these cases work, it is hard for me to tell. I've tried to telnet to these ports; however, since I basically have to specify port 25 in either case for the test, I'm not sure that I am successful. Any thoughts on how to make sure my messages are going through SSL? Bob ------=_NextPart_000_0006_01C802BD.73EBB200 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} pre {mso-style-priority:99; mso-style-link:"HTML Preformatted Char"; margin:0in; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.HTMLPreformattedChar {mso-style-name:"HTML Preformatted Char"; mso-style-priority:99; mso-style-link:"HTML Preformatted"; font-family:"Courier New";} MsoChpDefault {mso-style-type:export-only;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal>I am using a command line mailer (BLAT) from a = batch file to notify me when errors occur. My ISP requires SSL however still = allows non-SSL traffic on Port 25 as well.<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>Here is my scenario:<o:p></o:p></p> <p class=3DMsoNormal>I use BLAT to send an SMTP message on Port 25 to my ISP. This works but I must send my userid and password which I = don’t want to do.<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>I then use Stunnel with the following = config:<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'>[smtps]<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"'>accept =3D 25<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"'>connect =3D smtp.isp.domain.net:465<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Courier New"'>Port 465 is the SSL port for my ISP.<o:p></o:p></span></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>I run Stunnel as a service in Vista.<o:p></o:p></p> <p class=3DMsoNormal>I then have BLAT send an SMTP message on Port 25 to = my ISP. This works.<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>My question is, everything seems to work but how = can I test this?<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>I’m trying to figure out if it really worked = (I sent the message with SSL to port 465) or I am still just sending a message = on Port 25. Since both of these cases work, it is hard for me to = tell.<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>I’ve tried to telnet to these ports; however, = since I basically have to specify port 25 in either case for the test, I’m = not sure that I am successful.<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>Any thoughts on how to make sure my messages are = going through SSL?<o:p></o:p></p> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal>Bob <o:p></o:p></p> </div> </body> </html> ------=_NextPart_000_0006_01C802BD.73EBB200-- --===============0558394197== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ stunnel-users mailing list stunnel-users@mirt.net http://stunnel.mirt.net/mailman/listinfo/stunnel-users --===============0558394197==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|