Hey DM,
I've noticed something (on a CVS build from yesterday - but I've seen this before randomly.)
If I'm reading email, and a new email comes in - SBBSecho sends me a telegram (awesome) - but when I get to that new email, it is blank.
IE: I see the headers "to", "from",etc - and then a blank below it with the command prompt.
I have to "Q"uit and then "R"ead to see the contents.
It seems to be working for me. Is the problem only when FTN NetMail?
I'll try with just a netmail and an incoming email.
Or you could logon to Vertrauen and send yourself email there and see if you can reproduce it on Vertrauen and perhaps give me a captured instance of the problem happening.
Sure I'll try on Vert first.
Fri Aug 9 09:56:17 2019 alterant.leenooks.net
mail 0055 SMTP !ERROR 'Couldn't import the session key used to protect
the private key' (-22) getting private key
I don't think this is related to your email issue. See http://wiki.synchro.net/server:terminal#cryptlibkey
"l.dlcm.co" is not my server, so it appears you're trying to relay *to* deon.george@vert.synchro.net *through* another server (l.dlcm.co) which is telling "no, you can't do with without authenticating".
So... there's a problem with your mail-sending configuration there somewhere.
Okay, so then we should both be using the same reader. You said Vertrauen was using a "different reader", so I'm trying to figure out what you're talking about.
Fri Aug 9 09:56:17 2019 alterant.leenooks.net
mail 0055 SMTP !ERROR 'Couldn't import the session key used to
protect the private key' (-22) getting private key
I don't think this is related to your email issue. See
http://wiki.synchro.net/server:terminal#cryptlibkey
Re: Email issue?
By: Alterego to Digital Man on Fri Aug 09 2019 08:23 am
Sure I'll try on Vert first.
I had no luck on Vert - it kept bouncing my email :(
I sent QWK mail, but then discovered you have a different mail reader - so when the 3rd mail came in, the reader was only showing the 2 previous ones, until I quit the reader and went back in to read messages.
So I updated my system, and I cant reproduce it at the moment, but as soon as I notice it I'll give you some details from that log.
I sent QWK mail, but then discovered you have a different mail reader - so when the 3rd mail came in, the reader was only showing the 2 previous ones, until I quit the reader and went back in to read messages.
So I updated my system, and I cant reproduce it at the moment, but as soon as I notice it I'll give you some details from that log.
So I updated my system, and I cant reproduce it at the moment, but
as soon as I notice it I'll give you some details from that log.
I had no luck on Vert - it kept bouncing my email :(What address did you try sending to?
I'm using the built-in (internal) message reader. What reader are you using?
Re: Email issue?
By: Alterego to Digital Man on Fri Aug 09 2019 09:04 am
So I updated my system, and I cant reproduce it at the moment, but as soon as I notice it I'll give you some details from that log.
OK, I managed to reproduce it, but got no error on the console.
You might need to educate me on increasing error logging verbosity... :)
And error.log only shows:
Fri Aug 9 09:56:17 2019 alterant.leenooks.net
mail 0055 SMTP !ERROR 'Couldn't import the session key used to protect the private key' (-22) getting private key
Which I've been ignoring - something I was going to ask about but mail works, and I figure its because its trying TLS...
Re: Email issue?
By: Digital Man to Alterego on Thu Aug 08 2019 04:50 pm
I had no luck on Vert - it kept bouncing my email :(What address did you try sending to?
deon.george@vert.synchro.net (#deon)
The bounce was cryptic - I sent a few mails.
At first my config was to forward mail (to my bbs), so after the first 2 bounced, I turned that off, sent another, still bounced. Logged off and on, and sent 2 more, they both bounced.
One of the bounced messages said this:
cvs.synchro.net reporting delivery failure of message
from Deon George to deon.george@bbs.leenooks.net
Reason:
l.dlcm.co replied with:
"550 5.7.1 <deon.george@vert.synchro.net>... Relaying denied. Proper authentication required."
instead of the expected reply:
"25* ..."
Original message text follows:
test12
(I have sent email to my system from yours successfully previously.)
Re: Email issue?
By: Digital Man to Alterego on Thu Aug 08 2019 05:00 pm
I'm using the built-in (internal) message reader. What reader are you using?
The "default" (or whatever is configured when you login - I dont know how I change it ;)
Re: Email issue?
By: Alterego to Digital Man on Fri Aug 09 2019 11:04 am
Fri Aug 9 09:56:17 2019 alterant.leenooks.net
mail 0055 SMTP !ERROR 'Couldn't import the session key used to
protect the private key' (-22) getting private key
I don't think this is related to your email issue. See
http://wiki.synchro.net/server:terminal#cryptlibkey
Confirmed. I followed those instructions again (deleted the cryptlib.key) -
recycled SBBS and I still get that message on inbound email.
Does that make it a bug? ;)
Re: Email issue?
By: Digital Man to Alterego on Thu Aug 08 2019 06:00 pm
"l.dlcm.co" is not my server, so it appears you're trying to relay *to* deon.george@vert.synchro.net *through* another server (l.dlcm.co) which is telling "no, you can't do with without authenticating".
So... there's a problem with your mail-sending configuration there somewhere.
So yeah, I thought the same thing - but that message comes from your server ?
(And it is sent from GMAIL. So yes, this is confusing, since my system is l.dlcm.co, the message *to* your system shouldnt go anywhere near it.)
Here are the headers from the bounce:
...
Return-Path: <mail.delivery.subsystem@vert.synchro.net>
Received: from vert.synchro.net (vert.synchro.net. [71.95.196.34])
by mx.google.com with ESMTPS id i24si57596478pgh.224.2019.08.08.15.39.43
for <deon@leenooks.net>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Thu, 08 Aug 2019 15:39:43 -0700 (PDT)
Received-SPF: pass (google.com: domain of mail.delivery.subsystem@vert.synchro.net designates 71.95.196.34 as permitted sender) client-ip=71.95.196.34;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of mail.delivery.subsystem@vert.synchro.net designates 71.95.196.34 as permitted sender) smtp.mailfrom=mail.delivery.subsystem@vert.synchro.net Date: Fri, 9 Aug 2019 08:39:11 +1000
From: "Mail Delivery Subsystem" <mail.delivery.subsystem@vert.synchro.net> Organization: Vertrauen
Subject: Delivery failure: test12
To: <deon@leenooks.net>
Message-ID: <CD310BBA-C778-4CAC-B05E-866E789D6ED2@leenooks.net>
Re: Email issue?
By: Digital Man to Alterego on Thu Aug 08 2019 06:00 pm
Okay, so then we should both be using the same reader. You said Vertrauen was using a "different reader", so I'm trying to figure out what you're talking about.
When I log into vert and go "E"(read email), "R" (read mail) - I get a light bar looking UI. The navigation is different, but it starts by clearing the screen and listing the readable messages. I navigate by using the up/down arrows and selecting the message to read.
On my system, when I go E->R, I get a list dump of available messages - each prefixed with a number that I can read specifically at the prompt, which starts with "Start with number[1]:"
I dont know how/why I get the different UI on vert - but my mail reading UI is how Synchronet has always looked to me.
Re: Email issue?
By: Alterego to Digital Man on Fri Aug 09 2019 11:23 am
Re: Email issue?
By: Alterego to Digital Man on Fri Aug 09 2019 11:04 am
Fri Aug 9 09:56:17 2019 alterant.leenooks.net
mail 0055 SMTP !ERROR 'Couldn't import the session key used to
protect the private key' (-22) getting private key
I don't think this is related to your email issue. See
http://wiki.synchro.net/server:terminal#cryptlibkey
Confirmed. I followed those instructions again (deleted the cryptlib.key) -
Was the file successfully deleted?
recycled SBBS and I still get that message on inbound email.
Was the file successfully recreated by SBBS?
Does that make it a bug? ;)
I don't know yet.
... and as you can see it's going to try to relay the email to deon.george@bbs.leenooks.net. Let me know if you get it.
I do have an experimetnal message lister on my system, but it's not invoked when hitting 'R' from the Email menu. Perhaps you hit 'U' or 'T' instead? That's pretty weird.
Was the file successfully deleted?
Was the file successfully recreated by SBBS?
I noticed you're getting the error with the mailserver (SMTP/TLS, not SSH). Try deleting the ctrl/ssl.cert file as well.
Re: Email issue?
By: Digital Man to Alterego on Thu Aug 08 2019 07:47 pm
... and as you can see it's going to try to relay the email to deon.george@bbs.leenooks.net. Let me know if you get it.
I didnt get it.
I know my mail is working, as I'm testing by sending from gmail to me...
And to make sure I wasnt dreaming it, I just sent one from my iphone (icloud) and saw it arrive...
8/9 14:43:19 mail 0058 SMTP !ERROR 'Couldn't import the session key used to protect the private key' (-22) getting private key
8/9 14:43:19 mail 0058 SMTP Receiving mail message from: <XXXX@icloud.com> to XXX@XXbbs.leenooks.net
8/9 14:43:19 mail 0058 SMTP Content-Transfer-Encoding = 7bit
8/9 14:43:20 mail 0058 SMTP End of message (body: 3 lines, 29 bytes, header: 61 lines, 2877 bytes)
Re: Email issue?
By: Digital Man to Alterego on Thu Aug 08 2019 07:48 pm
I do have an experimetnal message lister on my system, but it's not invoked when hitting 'R' from the Email menu. Perhaps you hit 'U' or 'T' instead? That's pretty weird.
Yeah, you right - I just tried it and I see the different now - must have been using "U"...
OK, I'll try and regenerate the with vert - but cant use email, since you dont like mail from me :)
BTW: I did (a while ago), left you a message to delete "CHINWAG" and "ALTEREGO" from your system - I was using CHINWAG (but now ALTERANT), and I had set up ALTEREGO, but foolishly chose QWK - would you believe by mistake ;)
So you should only have 1 deon george (DEON), and ALTERANT can be "Alter Ego" if that makes things easier.
... and as you can see it's going to try to relay the email to deon.george@bbs.leenooks.net. Let me know if you get it.
Re: Email issue?
By: Digital Man to Alterego on Thu Aug 08 2019 07:47 pm
... and as you can see it's going to try to relay the email to deon.george@bbs.leenooks.net. Let me know if you get it.
So I'm not sure if this is my mail server issue or yours :)
So mail to me from your system, that is forwarded, appears to be arrive at my system addressed to "deon.george@vert...", hence the relay denied.
Aug 9 08:39:41 d-1-1 sendmail[1418]: x78MdUwB001418: ruleset=check_rcpt, arg1=<deon.george@vert...>, relay=synchro.net [71.95.196.36], reject=550 5.7.1 <deon.george@vert....>... Relaying denied. Proper authentication required.
Aug 9 08:39:41 d-1-1 sendmail[1418]: x78MdUwB001418: lost input channel from synchro.net [71.95.196.36] to MTA-v4 after rcpt
Aug 9 08:39:41 d-1-1 sendmail[1418]: x78MdUwB001418: from=<deon@leenooks...>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=synchro.net [71.95.196.36]
So this example, I sent mail from me (deon@leenooks...), via GMAIL to deon.george@vert....
Your system would have forwarded to me at deon.george@bbs...., however, when it arrived at my mail server (l.dlcm...), it was still addressed to deon.george@vert.... - and my server though you were trying to relay.
I would have expected that you address it to deon.george@bbs.leenooks.... when it is arriving at my server?
I'm sure this worked recently...?
Re: Email issue?
By: Digital Man to Alterego on Thu Aug 08 2019 07:48 pm
I do have an experimetnal message lister on my system, but it's not invoked when hitting 'R' from the Email menu. Perhaps you hit 'U' or 'T' instead? That's pretty weird.
Yeah, you right - I just tried it and I see the different now - must have been using "U"...
OK, I'll try and regenerate the with vert - but cant use email, since you dont like mail from me :)
Re: Email issue?
By: Alterego to Digital Man on Fri Aug 09 2019 05:22 pm
Re: Email issue?
By: Digital Man to Alterego on Thu Aug 08 2019 07:47 pm
... and as you can see it's going to try to relay the email to deon.george@bbs.leenooks.net. Let me know if you get it.
So I'm not sure if this is my mail server issue or yours :)
So mail to me from your system, that is forwarded, appears to be arrive at my system addressed to "deon.george@vert...", hence the relay denied.
Aug 9 08:39:41 d-1-1 sendmail[1418]: x78MdUwB001418: ruleset=check_rcpt, arg1=<deon.george@vert...>, relay=synchro.net [71.95.196.36], reject=550 5.7.1 <deon.george@vert....>... Relaying denied. Proper authentication required.
Aug 9 08:39:41 d-1-1 sendmail[1418]: x78MdUwB001418: lost input channel from synchro.net [71.95.196.36] to MTA-v4 after rcpt
Aug 9 08:39:41 d-1-1 sendmail[1418]: x78MdUwB001418: from=<deon@leenooks...>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=synchro.net [71.95.196.36]
So this example, I sent mail from me (deon@leenooks...), via GMAIL to deon.george@vert....
Your system would have forwarded to me at deon.george@bbs...., however, when it arrived at my mail server (l.dlcm...), it was still addressed to deon.george@vert.... - and my server though you were trying to relay.
I would have expected that you address it to deon.george@bbs.leenooks.... when it is arriving at my server?
I agree.
This does not look right:
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄúúúú
³ Subj: to deon.george@vert.synchro.net;
Synchronet ³ Attr: Deleted
ÝßÝÝßÝÝßÝ ³ To : deon.george@vert.synchro.net (deon.george@bbs.leenooks.net) ÛßÝÛßÝÞÜ
³ From: Rob Swindell #1 (rob@synchro.net) Û ÝÛ ÝÜ Ý ³ Date: Thu Aug 08 2019 07:44 pm UTC-7:00 (5.9 hours ago) ßß ßß ß ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄúúúúúú
software
MIME-decoded iso-8859-1 plain-text:
This is just a test, sent from rob@synchro.net to deon.george@vert.synchro.net
-Rob
I'm sure this worked recently...?
It did. I probably broke it with my recent work with retaining MIME-encoded headers. Hrm.
Re: Email issue?
By: Digital Man to Alterego on Fri Aug 09 2019 01:38 am
Re: Email issue?
By: Alterego to Digital Man on Fri Aug 09 2019 05:22 pm
Re: Email issue?
By: Digital Man to Alterego on Thu Aug 08 2019 07:47 pm
... and as you can see it's going to try to relay the email to deon.george@bbs.leenooks.net. Let me know if you get it.
So I'm not sure if this is my mail server issue or yours :)
So mail to me from your system, that is forwarded, appears to be arrive at my system addressed to "deon.george@vert...", hence the relay denied.
Aug 9 08:39:41 d-1-1 sendmail[1418]: x78MdUwB001418: ruleset=check_rcpt, arg1=<deon.george@vert...>, relay=synchro.net [71.95.196.36], reject=550 5.7.1 <deon.george@vert....>... Relaying denied. Proper authentication required.
Aug 9 08:39:41 d-1-1 sendmail[1418]: x78MdUwB001418: lost input channel from synchro.net [71.95.196.36] to MTA-v4 after rcpt
Aug 9 08:39:41 d-1-1 sendmail[1418]: x78MdUwB001418: from=<deon@leenooks...>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=synchro.net [71.95.196.36]
So this example, I sent mail from me (deon@leenooks...), via GMAIL to deon.george@vert....
Your system would have forwarded to me at deon.george@bbs...., however, when it arrived at my mail server (l.dlcm...), it was still addressed to deon.george@vert.... - and my server though you were trying to relay.
I would have expected that you address it to deon.george@bbs.leenooks.... when it is arriving at my server?
I agree.
This does not look right:
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄúúúú
³ Subj: to deon.george@vert.synchro.net;
Synchronet ³ Attr: Deleted
ÝßÝÝßÝÝßÝ ³ To : deon.george@vert.synchro.net (deon.george@bbs.leenooks.net) ÛßÝÛßÝÞÜ
³ From: Rob Swindell #1 (rob@synchro.net) Û ÝÛ ÝÜ Ý ³ Date: Thu Aug 08 2019 07:44 pm UTC-7:00 (5.9 hours ago)
ßß ßß ß ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄúúúúúú
software
MIME-decoded iso-8859-1 plain-text:
This is just a test, sent from rob@synchro.net to deon.george@vert.synchro.net
-Rob
I'm sure this worked recently...?
It did. I probably broke it with my recent work with retaining MIME-encoded headers. Hrm.
Actually, I'm not so sure anything's broken:
SEND Message #7476 (4 of 5) from Rob Swindell #1 <rob@synchro.net> to deon.george@vert.synchro.net [deon.george@bbs.leenooks.net]
So envelope is to "bbs.leenooks.net". This should be the RCPT TO value passed to your mail server. That's *not* a relay attempt (unless your mail server thinks leenooks.net is a non-local domain).
The "To:" header field of the message text is largely irrelevant (that's origianl recipient, "deon.george@vert.synchro.net" here). I think you mail server maybe doesn't like that? It should think it's a relay attempt however.
Starting Nmap 7.40 ( https://nmap.org ) at 2019-08-08 23:28 PDT
Nmap scan report for l.dlcm.co (121.208.16.219)
Host is up (0.23s latency).
rDNS record for 121.208.16.219: cpe-121-208-16-219.cfui-cr-004.woo.qld.bigpond.net.au
Not shown: 990 filtered ports
PORT STATE SERVICE
23/tcp open telnet
25/tcp closed smtp
Here's one session from you that my mail server didn't like:
Aug 8 15:31:52 cvs sbbs: mail 0044 SMTPS RX: EHLO dom-3-1-s.dlcm.co
So envelope is to "bbs.leenooks.net". This should be the RCPT TO value passed to your mail server. That's *not* a relay attempt (unless your mail server thinks leenooks.net is a non-local domain).
The "To:" header field of the message text is largely irrelevant (that's origianl recipient, "deon.george@vert.synchro.net" here). I think you mail server maybe doesn't like that? It should think it's a relay attempt however.
Can you add an exemption for me in your fail2ban so we can at least test this?
So I updated my system, and I cant reproduce it at the moment, but as soon as I notice it I'll give you some details from that log.
Okay.
Re: Email issue?
By: Digital Man to Alterego on Thu Aug 08 2019 04:50 pm
So I updated my system, and I cant reproduce it at the moment, but as soon as I notice it I'll give you some details from that log.
Okay.
So, I've been trying to reproduce the issue on vert - without luck. I've sent emails and netmails, and no problem... :(
I've noticed that your system shows "newest first", whereas mine shows "oldest first" - so I was even reading the last one and pressing "-" to get back to the first (and latest) message - and all rendered OK.
I did get an error at some point - and it put up "Sysop notifed" - I was at message 6 of 6 and pressed "-" when the error popped up.
I'll rebuild mine again Sunday and try again - just in case when I did the rebuild I didnt get the debugging you put in. (I'm away on the weekend.)
Re: Email issue?
By: Digital Man to Alterego on Fri Aug 09 2019 01:57 am
So envelope is to "bbs.leenooks.net". This should be the RCPT TO value passed to your mail server. That's *not* a relay attempt (unless your mail server thinks leenooks.net is a non-local domain).
Yeah, my server is only authoriative for bbs.leenooks.net (leenooks.net goes to gmail).
The "To:" header field of the message text is largely irrelevant (that's origianl recipient, "deon.george@vert.synchro.net" here). I think you mail server maybe doesn't like that? It should think it's a relay attempt however.
Possibly. On an SMTP session, if you are doing "rcpt to: deon@vert..." you'll get the relay rejection.
Can you add an exemption for me in your fail2ban so we can at least test this?
Done, I've added 71.95.196.3[46] to the firewall rules before fail2ban, so you shouldnt be banned.
Your sever is sending an invalid FQDN for the EHLO argument.
Re: Email issue?
By: Digital Man to Alterego on Fri Aug 09 2019 01:49:46
Your sever is sending an invalid FQDN for the EHLO argument.
so, ummm... HELO can be any name 'cause no security with HELO but EHLO must be a valid FQDN? that seems to be what i keep finding when i look things up...
i'm not up on all these RFCs and basically only have empirical evidence from my own servers to go by... i need to check my SEMF filter on my firewall and see what it is doing for each... i do know that i have a setting for resolvable domains turned on... i'm just not sure if it applies to both HELO and EHLO...
I did get an error at some point - and it put up "Sysop notifed" - IOn your system or mine? If on your system, please check your data/error.log file. It should have the error details.
was at message 6 of 6 and pressed "-" when the error popped up.
Re: Email issue?
By: Digital Man to Deon on Fri Aug 09 2019 08:46 am
I did get an error at some point - and it put up "Sysop notifed" - IOn your system or mine? If on your system, please check your data/error.log file. It should have the error details.
was at message 6 of 6 and pressed "-" when the error popped up.
Oh, sorry, on vert.
I couldnt reproduce the blank message on your system, but I can on mine.
But I did notice your system renders messages "newest" first, whereas I render them "oldest" first. Is that a setting somewhere? I'll try and match your config and see if I can produce it.
I'm not finding any error logged while you were online. You were online here as "Alterego"?
It shouldn't really make much difference, however.
Re: Email issue?
By: Digital Man to Alterego on Sat Aug 10 2019 10:53 am
I'm not finding any error logged while you were online. You were online here as "Alterego"?
No, as Deon. I cant use Alterego, I stupidly configured it as a QWK account (unless you can fix that for me ;)
Sysop: | Zazz |
---|---|
Location: | Mesquite, Tx |
Users: | 7 |
Nodes: | 4 (0 / 4) |
Uptime: | 39:47:33 |
Calls: | 157 |
Files: | 2,095 |
Messages: | 145,234 |