🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
17 messages
17 total messages Started by Wm Sat, 16 Apr 2016 12:24
[dialog] SMTP b0rked
#260216
Author: Wm
Date: Sat, 16 Apr 2016 12:24
24 lines
1836 bytes
Hi, I like dialog but I can't get it to play nice sending mail.  This isn't
a show stopper, I can send a copy e-mail manually using another program on
those occasions when it is necessary but it is bugging me that dialog won't
talk to contemporary SMTP hosts.

Is this a known problem?  googling isn't coming up with anything obvious,
I'm happy to read any links anyone has directly concerning this.

Details: I have access to a number of SMTP hosts and can use them to send
email using, for example, Thunderbird, so I know they work and I've plugged
the right details into dialog.  Dialog b0rks with

===
Sending email failed: Error while receiving. Connection closed.
Error while receiving. Connection closed.
===

I'm using 2.0.15.84 under Win 8.1 with an AMD x64 processor if that matters
but the same problem exists with .1 and .41

TIA

-- 
Wm
Re: [dialog] SMTP b0rked
#260215
Author: Michael Baeuerle
Date: Sat, 16 Apr 2016 14:04
24 lines
1879 bytes
Wm wrote:
> 
> Hi, I like dialog but I can't get it to play nice sending mail.  This isn't
> a show stopper, I can send a copy e-mail manually using another program on
> those occasions when it is necessary but it is bugging me that dialog won't
> talk to contemporary SMTP hosts.
> 
> Is this a known problem?  googling isn't coming up with anything obvious,
> I'm happy to read any links anyone has directly concerning this.
> 
> Details: I have access to a number of SMTP hosts and can use them to send
> email using, for example, Thunderbird, so I know they work and I've plugged
> the right details into dialog.  Dialog b0rks with
> 
> ===
> Sending email failed: Error while receiving. Connection closed.
> Error while receiving. Connection closed.
> ===
> 
> I'm using 2.0.15.84 under Win 8.1 with an AMD x64 processor if that matters
> but the same problem exists with .1 and .41

Maybe your servers require TLS and the protocol versions supported by
Dialog are no longer sufficient?
Re: [dialog] SMTP b0rked
#260217
Author: Wm
Date: Sat, 16 Apr 2016 14:30
42 lines
2882 bytes
On Sat, 16 Apr 2016 14:04:37 -0000, in news.software.readers, Michael
Baeuerle <michael.baeuerle@gmx.net> wrote:

> Wm wrote:
>> 
>> Hi, I like dialog but I can't get it to play nice sending mail.  This isn't
>> a show stopper, I can send a copy e-mail manually using another program on
>> those occasions when it is necessary but it is bugging me that dialog won't
>> talk to contemporary SMTP hosts.
>> 
>> Is this a known problem?  googling isn't coming up with anything obvious,
>> I'm happy to read any links anyone has directly concerning this.
>> 
>> Details: I have access to a number of SMTP hosts and can use them to send
>> email using, for example, Thunderbird, so I know they work and I've plugged
>> the right details into dialog.  Dialog b0rks with
>> 
>> ===
>> Sending email failed: Error while receiving. Connection closed.
>> Error while receiving. Connection closed.
>> ===
>> 
>> I'm using 2.0.15.84 under Win 8.1 with an AMD x64 processor if that matters
>> but the same problem exists with .1 and .41
> 
> Maybe your servers require TLS and the protocol versions supported by
> Dialog are no longer sufficient?

I fear that may be the case, I am basicaly checking to see if I am doing
something stupid or not.  I like dialog's threading model and as a good
netizen spend more time reading than writing and only ocasionally have to
post and email.

It just seems a pity that an otherwise good bit of software got outdated
when usenet itself hasn't changed much.

Next question: is the SMTP conversation hard coded or can I play with it?
I can talk to the servers by hand so is the call and response conversation
available for me to edit in dialog or not?

-- 
Wm
Re: [dialog] SMTP b0rked
#260220
Author: Michael Baeuerle
Date: Sat, 16 Apr 2016 16:01
20 lines
1877 bytes
Wm wrote:
> Michael Baeuerle wrote:
> > 
> > Maybe your servers require TLS and the protocol versions supported by
> > Dialog are no longer sufficient?
> 
> I fear that may be the case, I am basicaly checking to see if I am doing
> something stupid or not.  I like dialog's threading model and as a good
> netizen spend more time reading than writing and only ocasionally have to
> post and email.
> 
> It just seems a pity that an otherwise good bit of software got outdated
> when usenet itself hasn't changed much.

If this really is the problem and you want to stay with old software,
you always have the choice of inserting some kind of proxy between it
and the server.

E.g. I use postfix and leafnode/stunnel on Unix for this purpose.
For Windows something equivalent should be available for this purpose.
Re: [dialog] SMTP b0rked
#260218
Author: Wm
Date: Sat, 16 Apr 2016 17:59
34 lines
2529 bytes
On Sat, 16 Apr 2016 16:01:45 -0000, in news.software.readers, Michael
Baeuerle <michael.baeuerle@gmx.net> wrote:

> Wm wrote:
>> Michael Baeuerle wrote:
>>> 
>>> Maybe your servers require TLS and the protocol versions supported by
>>> Dialog are no longer sufficient?
>> 
>> I fear that may be the case, I am basicaly checking to see if I am doing
>> something stupid or not.  I like dialog's threading model and as a good
>> netizen spend more time reading than writing and only ocasionally have to
>> post and email.
>> 
>> It just seems a pity that an otherwise good bit of software got outdated
>> when usenet itself hasn't changed much.
> 
> If this really is the problem and you want to stay with old software,
> you always have the choice of inserting some kind of proxy between it
> and the server.

I don't think that will be necessary.  I can simply pick up the post and
email it afterwards.

> E.g. I use postfix and leafnode/stunnel on Unix for this purpose.
> For Windows something equivalent should be available for this purpose.

I can use them too, part of the reason for me trying out Dialog was to not
have an extra hoop in posting.  Should idiots that abuse usenet have hoops?
Sure.  Should you and I?  Probably not.  And that is the problem, I, a good
citizen am stuck with a problem.

-- 
Wm
Re: [dialog] SMTP b0rked
#260219
Author: Bernd Rose
Date: Sat, 16 Apr 2016 19:15
21 lines
2208 bytes
On Sat, 16 Apr 2016 15:30:40 +0100, Wm wrote:

>>> Hi, I like dialog but I can't get it to play nice sending mail.  This isn't
>>> a show stopper, I can send a copy e-mail manually using another program on
>>> those occasions when it is necessary but it is bugging me that dialog won't
>>> talk to contemporary SMTP hosts.
[...] 
> is the SMTP conversation hard coded or can I play with it?

It is compiled (= hard-coded) into Dialog using Indy library functions. 
Indy, in turn, depends on OpenSSL for encryption. Dialog supports SSL2, 
SSL3, and TLS1 connections this way. 

To get tools for debugging SSL/TLS connection problems you may check 
this site:

  https://wiki.apache.org/httpd/DebuggingSSLProblems

Generally, Dialog /does/ connect to contemporary SMTPS servers using TLS.

Bernd
Re: [dialog] SMTP b0rked
#260221
Author: VanguardLH
Date: Sat, 16 Apr 2016 21:46
68 lines
4624 bytes
Wm wrote:

> Hi, I like dialog but I can't get it to play nice sending mail.  This isn't
> a show stopper, I can send a copy e-mail manually using another program on
> those occasions when it is necessary but it is bugging me that dialog won't
> talk to contemporary SMTP hosts.
> 
> Is this a known problem?  googling isn't coming up with anything obvious,
> I'm happy to read any links anyone has directly concerning this.
> 
> Details: I have access to a number of SMTP hosts and can use them to send
> email using, for example, Thunderbird, so I know they work and I've plugged
> the right details into dialog.  Dialog b0rks with
> 
> ===
> Sending email failed: Error while receiving. Connection closed.
> Error while receiving. Connection closed.
> ===
> 
> I'm using 2.0.15.84 under Win 8.1 with an AMD x64 processor if that matters
> but the same problem exists with .1 and .41

Many e-mail providers switched awhile ago to requiring use of StartTLS
to establish a session with their SMTP server.  That is, your client
must support TLS connect and must use those with the SMTP server.
Dialog got abandoned over a decade ago (though I still use it but only
for Usenet) so it doesn't have TLS support.

I don't know if Dialog has a log function where you can see the SMTP
commands sent by the client to the server (i.e., where you get to
monitor the SMTP session).  If the SMTP server demands StartTLS but the
client doesn't support it, there should be a timeout message for status
returned by the server saying StartTLS was missing or not received.

I used to have MS Office 2003 and had no reason to upgrade to later
versions since there was no bang-for-the-buck to me.  I was happy with
all the features present in the 2003 version -- until Microsoft changed
their SMTP servers to demand TLS connects.  Outlook 2003 doesn't support
TLS so I had to look for another e-mail client.  I used Thunderbird for
awhile but it was not as robust an e-mail/PIM product as Outlook.
Eventually I got a defective computer from a friend that had OEM
versions of Windows 7 and MS Office 2010, so I repaired the computer and
used the OEM software that was installed on it.  Outlook 2010 does
support TLS connects to the SMTP server.  

While the SMTP server may support SSL connects, many SMTP servers
require the more secure TLS connection.  I doubt Dialog supports TLS.
From what I see in Dialog's server definitions, you only get to choose
SSL to secure the connection.  That will probably work with the POP3 and
IMAP4 servers to receive e-mail but not with SMTP servers that demand
TLS connections.  You would have to find an e-mail provider that allows
non-secure or SSL connects to their SMTP server.  Those are becoming
rare.  

You never mention to *whose* SMTP server you were trying to connect.
Microsoft (Hotmail/Live/Outlook.com) and Gmail demand TLS connects.  I
think my ISP does, too.  I just set it up the way they say and haven't
bothered to "accidentally" discover if they permit non-secure connects.

Also, mixing your e-mail and newsgroups clients into one program has
some disadvantages.  You are mixing 2 separate communication stores
together.  If one gets screwed up then so might the other.  If the
program fails, both communication venues are dead.  There are those
senior moments when you meant to send a very private message but instead
told Usenet where your message lingers forever in various archives and
forums.  You meant to tell your contractor your drivers license number
but instead told everyone in Usenet that can look it up for years and
years later.
Re: [dialog] SMTP b0rked
#260222
Author: VanguardLH
Date: Sat, 16 Apr 2016 21:57
42 lines
3224 bytes
Michael Baeuerle wrote:

> Wm wrote:
>
>> Michael Baeuerle wrote:
>>> 
>>> Maybe your servers require TLS and the protocol versions supported by
>>> Dialog are no longer sufficient?
>> 
>> I fear that may be the case, I am basicaly checking to see if I am doing
>> something stupid or not.  I like dialog's threading model and as a good
>> netizen spend more time reading than writing and only ocasionally have to
>> post and email.
> 
> If this really is the problem and you want to stay with old software,
> you always have the choice of inserting some kind of proxy between it
> and the server.

I remember using sTunnel with YahooPOPs (which did not support SSL
connects).  I gave up on Yahoo for e-mail a long time ago.  They
discontinued free POP/SMTP access in the USA a long time ago.  For
awhile, I used the trick of changing my account's region to Asia where
those users still got POP/SMTP access; however, Yahoo eventually closed
that loophole.  Then I used YahooPOPs - a screen scraper and URL
navigator but Yahoo kept changing their pages and the navigation between
them which broke YahooPOPs and you had to wait a week or two until its
author fixed his software.  Eventually YahooPOPs (aka YPOPs) got
abandoned so there would be no more fixes.  Then Yahoo demanded SSL
connects that YPOPs did not support.  So I added sTunnel.  Lengthening
the chain (e-mail client -> to YPOPs -> sTunnel -> SMTP server) made for
a more fragile chain.  Something was breaking about every 2 weeks that
took me an hour, or more, (when I had time) to resolve.  Twas easier to
just leave Yahoo's free e-mail service (I am *not* getting stuck with
having to use a webmail client) and move to other free e-mail services
that include POP/IMAP/SMTP access.

From what I see at https://www.stunnel.org/index.html, they now include
TLS support.  So you could add that in the chain from Dialog to sTunnel
to SMTP server but you'll have to figure out how to build that chain.

However, my suggestion is to get a better e-mail client that natively
supports TLS.
Re: [dialog] SMTP b0rked
#260223
Author: tlvp
Date: Sun, 17 Apr 2016 05:01
11 lines
1371 bytes
On Sat, 16 Apr 2016 13:24:25 +0100, Wm wrote:

>  it is bugging me that dialog won't
> talk to contemporary SMTP hosts.
> 
> Is this a known problem?

I use dialog to send mail through an SMTP server that my Net@ddress.com
contract lets me use. I encounter no problems. HTH. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: [dialog] SMTP b0rked
#260225
Author: Bernd Rose
Date: Sun, 17 Apr 2016 09:06
19 lines
1988 bytes
On Sat, 16 Apr 2016 16:46:48 -0500, VanguardLH wrote:

> I don't know if Dialog has a log function where you can see the SMTP
> commands sent by the client to the server (i.e., where you get to
> monitor the SMTP session). 

* Settings -> Show Status Window
* Right mouse click inside the Status pane: 
  Log Level -> 0 .. All Debug Messages
* Best to clear the Log before testing (again: Right mouse click inside
  the Status Pane)
* Try out the connection which doesn't seem to work
* Set Log level back to 3 ("Information"), 4 ("Warnings") or sth. like that
* Analyze the Log

More detailed information can be acquired using SSL/TLS specific tools
like the ones listed on the page I recommended yesterday, though.

Bernd
Re: [dialog] SMTP b0rked
#260226
Author: VanguardLH
Date: Sun, 17 Apr 2016 21:07
26 lines
2014 bytes
Bernd Rose wrote:

> On Sat, 16 Apr 2016 16:46:48 -0500, VanguardLH wrote:
> 
>> I don't know if Dialog has a log function where you can see the SMTP
>> commands sent by the client to the server (i.e., where you get to
>> monitor the SMTP session). 
> 
> * Settings -> Show Status Window
> * Right mouse click inside the Status pane: 
>   Log Level -> 0 .. All Debug Messages
> * Best to clear the Log before testing (again: Right mouse click inside
>   the Status Pane)
> * Try out the connection which doesn't seem to work
> * Set Log level back to 3 ("Information"), 4 ("Warnings") or sth. like that
> * Analyze the Log
> 
> More detailed information can be acquired using SSL/TLS specific tools
> like the ones listed on the page I recommended yesterday, though.
> 
> Bernd

I don't use Dialog for e-mail but this might help the OP determine if
TLS is working between Dialog and his SMTP server.  Will the log
actually show the StartTLS command issued by Dialog when the SMTP server
is waiting for it?
Re: [dialog] SMTP b0rked
#260224
Author: Bernd Rose
Date: Mon, 18 Apr 2016 15:48
23 lines
2306 bytes
On Sun, 17 Apr 2016 16:07:54 -0500, VanguardLH wrote:

[Dialog debug log]
> Will the log actually show the StartTLS command issued by Dialog when the
> SMTP server is waiting for it?

No. (That's why I recommended the website with the SSL/TLS debugging tools.)
The Dialog debug log works on Dialog call level. It will not show detailed
information from the inside of called library functions. (OpenSSL via Indy
in this case.) Therefore the log will show (for a successful connection)
sth. like:

| 3 730100: Enabling SSL for smtp connection [$00000D8C]
| 1 730100: SSL Status: Resolving hostname xxxxxxxxxx [$00000D8C]
| 1 730115: SSL Status: Connecting to xxx.xxx.xxx.xxx. [$00000D8C]
| 0 730271: Server certificate received: [$00000D8C]
| 0 730271:   Issuer: xxxxxxxxxxxxxxxxx [$00000D8C]
| [...]

Dunno, what it might show in case of the error the OP described. The log 
does /not/ differentiate between SSL and TLS encrypted connections, btw.

Bernd
Re: [dialog] SMTP b0rked
#260227
Author: VanguardLH
Date: Mon, 18 Apr 2016 20:22
29 lines
2498 bytes
Bernd Rose wrote:

> On Sun, 17 Apr 2016 16:07:54 -0500, VanguardLH wrote:
> 
> [Dialog debug log]
>> Will the log actually show the StartTLS command issued by Dialog when the
>> SMTP server is waiting for it?
> 
> No. (That's why I recommended the website with the SSL/TLS debugging tools.)
> The Dialog debug log works on Dialog call level. It will not show detailed
> information from the inside of called library functions. (OpenSSL via Indy
> in this case.) Therefore the log will show (for a successful connection)
> sth. like:
> 
>| 3 730100: Enabling SSL for smtp connection [$00000D8C]
>| 1 730100: SSL Status: Resolving hostname xxxxxxxxxx [$00000D8C]
>| 1 730115: SSL Status: Connecting to xxx.xxx.xxx.xxx. [$00000D8C]
>| 0 730271: Server certificate received: [$00000D8C]
>| 0 730271:   Issuer: xxxxxxxxxxxxxxxxx [$00000D8C]
>| [...]
> 
> Dunno, what it might show in case of the error the OP described. The log 
> does /not/ differentiate between SSL and TLS encrypted connections, btw.

I was thinking more about a log of only the commands (from client) and
returned statuses (from server) for the e-mail session(s); i.e., a log
of just the session between client and server.  If I set the log level
to zero (debug), it looks like there are some session entries there but
there was too much for me to look at.
Re: [dialog] SMTP b0rked
#260228
Author: Bernd Rose
Date: Tue, 19 Apr 2016 17:35
19 lines
2285 bytes
On Mon, 18 Apr 2016 15:22:31 -0500, VanguardLH wrote:

[Dialog debug log]
> I was thinking more about a log of only the commands (from client) and
> returned statuses (from server) for the e-mail session(s); i.e., a log
> of just the session between client and server.  

The Dialog log is a general purpose (= all inclusive) log for Dialog level
calls. For network specific monitoring, special tools should be used, like
Microsoft Network Monitor, which is linked from the website I recommended
2 days ago: https://wiki.apache.org/httpd/DebuggingSSLProblems

> If I set the log level to zero (debug), it looks like there are some
> session entries there but there was too much for me to look at.

To avoid cluttering the Dialog log I recommended to first clear it and to
reset the log level as soon as possible. Still, it /is/ a lot information.

Bernd
Re: [dialog] SMTP b0rked
#260229
Author: Sqwertz
Date: Tue, 19 Apr 2016 18:21
13 lines
1634 bytes
On Mon, 18 Apr 2016 15:22:31 -0500, VanguardLH wrote:

> I was thinking more about a log of only the commands (from client) and
> returned statuses (from server) for the e-mail session(s); i.e., a log
> of just the session between client and server.  If I set the log level
> to zero (debug), it looks like there are some session entries there but
> there was too much for me to look at.

BTDT.  I turned on debugging once to look at an SMTP problem and the
output was just *way too much* to weed through.  I have just given up
trying to send email from Dialog.  No big loss.

-sw
Re: [dialog] SMTP b0rked
#260297
Author: Wm
Date: Sat, 04 Jun 2016 16:12
49 lines
2583 bytes
On Sat, 16 Apr 2016 16:01:45 -0000, in news.software.readers, Michael
Baeuerle <michael.baeuerle@gmx.net> wrote:

> Wm wrote:
>> Michael Baeuerle wrote:
>>> 
>>> Maybe your servers require TLS and the protocol versions supported by
>>> Dialog are no longer sufficient?
>> 
>> I fear that may be the case, I am basicaly checking to see if I am doing
>> something stupid or not.  I like dialog's threading model and as a good
>> netizen spend more time reading than writing and only ocasionally have to
>> post and email.
>> 
>> It just seems a pity that an otherwise good bit of software got outdated
>> when usenet itself hasn't changed much.
> 
> If this really is the problem and you want to stay with old software,
> you always have the choice of inserting some kind of proxy between it
> and the server.
> 
> E.g. I use postfix and leafnode/stunnel on Unix for this purpose.
> For Windows something equivalent should be available for this purpose.

Thanks to all who followed up.

For the record I decided to go with a simple stunnel setup in the end.

===
[abcdefg-smtp]
client = yes
protocol = smtp
accept = 127.0.0.1:3587
connect = smtp.abcdefg.co.uk:587
===

and at the dialog end
===
[Identity0]
smtphost=127.0.0.1
smtpport=3587
smtpssl=0
smtppassword=password
smtpusername=email@ddress
===

Maybe that'll help someone else another day.
-- 
Wm
Re: [dialog] SMTP b0rked
#260298
Author: memmo7767
Date: Sun, 05 Jun 2016 02:41
53 lines
3309 bytes
بتاريخ السبت، 16 أبريل، 2016 5:30:37 م UTC+3، كتب Wm:
> On Sat, 16 Apr 2016 14:04:37 -0000, in news.software.readers, Michael
> Baeuerle <michael.baeuerle@gmx.net> wrote:
> 
> > Wm wrote:
> >> 
> >> Hi, I like dialog but I can't get it to play nice sending mail.  This isn't
> >> a show stopper, I can send a copy e-mail manually using another program on
> >> those occasions when it is necessary but it is bugging me that dialog won't
> >> talk to contemporary SMTP hosts.
> >> 
> >> Is this a known problem?  googling isn't coming up with anything obvious,
> >> I'm happy to read any links anyone has directly concerning this.
> >> 
> >> Details: I have access to a number of SMTP hosts and can use them to send
> >> email using, for example, Thunderbird, so I know they work and I've plugged
> >> the right details into dialog.  Dialog b0rks with
> >> 
> >> ===
> >> Sending email failed: Error while receiving. Connection closed.
> >> Error while receiving. Connection closed.
> >> ===
> >> 
> >> I'm using 2.0.15.84 under Win 8.1 with an AMD x64 processor if that matters
> >> but the same problem exists with .1 and .41
> > 
> > Maybe your servers require TLS and the protocol versions supported by
> > Dialog are no longer sufficient?
> 
> I fear that may be the case, I am basicaly checking to see if I am doing
> something stupid or not.  I like dialog's threading model and as a good
> netizen spend more time reading than writing and only ocasionally have to
> post and email.
> 
> It just seems a pity that an otherwise good bit of software got outdated
> when usenet itself hasn't changed much.
> 
> Next question: is the SMTP conversation hard coded or can I play with it?
> I can talk to the servers by hand so is the call and response conversation
> available for me to edit in dialog or not?
> 
> -- 
> Wm
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads