%LIB-F-INVNBDS, invalid numeric byte data string
On Tue, 6 Aug 2024 14:49:38 -0500, Richard Jordan wrote:
%LIB-F-INVNBDS, invalid numeric byte data string
No traceback? No source code to look at?
But then, you did say it was “freeware”, not “Free software” ...
I have contacted VSI but thought I'd ask here too. If anyone can give
this a try and let me know if they experience the problem I'd appreciate knowing.
Integrity server, VMS V8.4-2L1, TCPIP V5.7 eco 5 with any later hotfixes
as of June 2023 applied.
V8.4-2L3 is coming but I can't install it to check for a while.
We use the 'sendmail.com' freeware to send email with binary attachments (mostly PDFs) with customized SMTP headers. On this VSI system we get a single error every time we run SFF from the command procedure.
Exact same procedure on a V8.3 Alpha and an HP V8.4 Integrity run
without error so we're tentatively calling it a VSI issue.
Every run using symbol form via
sff :== $SYS$SYSTEM:TCPIP$SMTP_SFF.EXE
(as defined within sendmail.com)
generates the following error, but also still creates the email
successfully:
%LIB-F-INVNBDS, invalid numeric byte data string
Happens with any normal or priv'd account, regardless of the body text
file, presence or absence of attachments, who the recipient is, presence
or absence of a subject line.
I don't have any other systems to test on (specifically no other VSI systems).
Thanks for any info.
I have contacted VSI but thought I'd ask here too. If anyone can give
this a try and let me know if they experience the problem I'd appreciate knowing.
Integrity server, VMS V8.4-2L1, TCPIP V5.7 eco 5 with any later hotfixes
as of June 2023 applied.
V8.4-2L3 is coming but I can't install it to check for a while.
We use the 'sendmail.com' freeware to send email with binary attachments (mostly PDFs) with customized SMTP headers. On this VSI system we get a single error every time we run SFF from the command procedure.
Exact same procedure on a V8.3 Alpha and an HP V8.4 Integrity run
without error so we're tentatively calling it a VSI issue.
Every run using symbol form via
sff :== $SYS$SYSTEM:TCPIP$SMTP_SFF.EXE
(as defined within sendmail.com)
generates the following error, but also still creates the email
successfully:
%LIB-F-INVNBDS, invalid numeric byte data string
On 2024-08-06, Richard Jordan <usenet@cropcircledogs.com> wrote:
Integrity server, VMS V8.4-2L1, TCPIP V5.7 eco 5 with any later hotfixes
as of June 2023 applied.
V8.4-2L3 is coming but I can't install it to check for a while.
It could be something x86-64 specific or it could be something that
has always been there and on other architectures just happens to give
a success exit status.
Integrity server, VMS V8.4-2L1, TCPIP V5.7 eco 5 with any later hotfixes
as of June 2023 applied.
V8.4-2L3 is coming but I can't install it to check for a while.
We use the 'sendmail.com' freeware to send email with binary attachments (mostly PDFs) with customized SMTP headers. On this VSI system we get a single error every time we run SFF from the command procedure.
Exact same procedure on a V8.3 Alpha and an HP V8.4 Integrity run
without error so we're tentatively calling it a VSI issue.
Every run using symbol form via
sff :== $SYS$SYSTEM:TCPIP$SMTP_SFF.EXE
(as defined within sendmail.com)
generates the following error, but also still creates the email
successfully:
%LIB-F-INVNBDS, invalid numeric byte data string
Happens with any normal or priv'd account, regardless of the body text
file, presence or absence of attachments, who the recipient is, presence
or absence of a subject line.
On 8/6/2024 3:49 PM, Richard Jordan wrote:
Integrity server, VMS V8.4-2L1, TCPIP V5.7 eco 5 with any later
hotfixes as of June 2023 applied.
V8.4-2L3 is coming but I can't install it to check for a while.
We use the 'sendmail.com' freeware to send email with binary
attachments (mostly PDFs) with customized SMTP headers. On this VSI
system we get a single error every time we run SFF from the command
procedure.
Exact same procedure on a V8.3 Alpha and an HP V8.4 Integrity run
without error so we're tentatively calling it a VSI issue.
Every run using symbol form via
sff :== $SYS$SYSTEM:TCPIP$SMTP_SFF.EXE
(as defined within sendmail.com)
generates the following error, but also still creates the email
successfully:
%LIB-F-INVNBDS, invalid numeric byte data string
Happens with any normal or priv'd account, regardless of the body text
file, presence or absence of attachments, who the recipient is,
presence or absence of a subject line.
Some LIB$ functions can return that (I looked at LIB$CVT_DX_DX).
<quote>
LIB$_INVNBDS
Invalid NBDS. There is an invalid character in the input, or the value
is outside the range that can be represented by the destination, or the
NMDS descriptor is invalid. This error is also signaled when the array
size of an NBDS is larger than 65,535 bytes or the array is multi- dimensional.
</quote>
But the relevance for email is not obvious to me.
On Tue, 6 Aug 2024 14:49:38 -0500, Richard Jordan wrote:
I have contacted VSI but thought I'd ask here too. If anyone can give
this a try and let me know if they experience the problem I'd appreciate
knowing.
Integrity server, VMS V8.4-2L1, TCPIP V5.7 eco 5 with any later hotfixes
as of June 2023 applied.
V8.4-2L3 is coming but I can't install it to check for a while.
We use the 'sendmail.com' freeware to send email with binary attachments
(mostly PDFs) with customized SMTP headers. On this VSI system we get a
single error every time we run SFF from the command procedure.
Exact same procedure on a V8.3 Alpha and an HP V8.4 Integrity run
without error so we're tentatively calling it a VSI issue.
Every run using symbol form via
sff :== $SYS$SYSTEM:TCPIP$SMTP_SFF.EXE
(as defined within sendmail.com)
generates the following error, but also still creates the email
successfully:
%LIB-F-INVNBDS, invalid numeric byte data string
Happens with any normal or priv'd account, regardless of the body text
file, presence or absence of attachments, who the recipient is, presence
or absence of a subject line.
Does sending mail to a smtp% address using the mail command work? I have
seen errors using sff caused by errors in the smtp config (tcpip show
config smtp).
Oswald
On 8/6/24 2:49 PM, Richard Jordan wrote:
I have contacted VSI but thought I'd ask here too. If anyone can give
this a try and let me know if they experience the problem I'd
appreciate knowing.
Integrity server, VMS V8.4-2L1, TCPIP V5.7 eco 5 with any later
hotfixes as of June 2023 applied.
V8.4-2L3 is coming but I can't install it to check for a while.
We use the 'sendmail.com' freeware to send email with binary
attachments (mostly PDFs) with customized SMTP headers. On this VSI
system we get a single error every time we run SFF from the command
procedure.
Exact same procedure on a V8.3 Alpha and an HP V8.4 Integrity run
without error so we're tentatively calling it a VSI issue.
Every run using symbol form via
sff :== $SYS$SYSTEM:TCPIP$SMTP_SFF.EXE
(as defined within sendmail.com)
generates the following error, but also still creates the email
successfully:
%LIB-F-INVNBDS, invalid numeric byte data string
Happens with any normal or priv'd account, regardless of the body text
file, presence or absence of attachments, who the recipient is,
presence or absence of a subject line.
I don't have any other systems to test on (specifically no other VSI
systems).
Thanks for any info.
Do you get anything interesting from:
$ MCR TCPIP$SYSTEM:TCPIP$SMTP_SFF.EXE sys$input: -log sys$error:
-loglevel 1
...
^Z
?
On 8/7/24 6:59 AM, Craig A. Berry wrote:
Do you get anything interesting from:
$ MCR TCPIP$SYSTEM:TCPIP$SMTP_SFF.EXE sys$input: -log sys$error:
-loglevel 1
...
^Z
?
Yes and no. Thanks for reminding that many of these utilities have
those options! I had forgotten; I rarely get to be in VMS anymore.
I ran it with one of the temp files sendmail.com created, and with the
-log and -loglevel options, as well as with SYS$INPUT.
The one run with the sendmail temp file for input placed the
%LIB-F-INVNBDS error as the first line in the error log, then a blank
line, then SMTP configuration data, then the expected text from the
input file appropriately escaped (munged).
The run with SYS$INPUT did the same. If I just hit return, SFF exits
with an error and the error log shows the %LIB-F-INVNBDS error at the
top. If I enter a valid SMTP command (MAIL FROM:) then ctrl-z errorlog shows the same; the LIB error, followed by a blank line, the contents of
the SMTP config file, my one line and an end of input file notice. And
same if I hit ctrl-z immediately after running SFF, I get the LIB error,
a blank line, then the SMTP config dump.
So the error is occurring 'early' and the cause is not logged. Feels
like a bug in the program. Despite the fact that its listed as a
'fatal' error, the exit status from SFF on all of these tests was the same: %0x00000001
On 8/7/24 11:21 AM, Richard Jordan wrote:
On 8/7/24 6:59 AM, Craig A. Berry wrote:
Do you get anything interesting from:
$ MCR TCPIP$SYSTEM:TCPIP$SMTP_SFF.EXE sys$input: -log sys$error:
-loglevel 1
...
^Z
?
Yes and no. Thanks for reminding that many of these utilities have
those options! I had forgotten; I rarely get to be in VMS anymore.
I ran it with one of the temp files sendmail.com created, and with the
-log and -loglevel options, as well as with SYS$INPUT.
The one run with the sendmail temp file for input placed the
%LIB-F-INVNBDS error as the first line in the error log, then a blank
line, then SMTP configuration data, then the expected text from the
input file appropriately escaped (munged).
The run with SYS$INPUT did the same. If I just hit return, SFF exits
with an error and the error log shows the %LIB-F-INVNBDS error at the
top. If I enter a valid SMTP command (MAIL FROM:) then ctrl-z
errorlog shows the same; the LIB error, followed by a blank line, the
contents of the SMTP config file, my one line and an end of input file
notice. And same if I hit ctrl-z immediately after running SFF, I get
the LIB error, a blank line, then the SMTP config dump.
So the error is occurring 'early' and the cause is not logged. Feels
like a bug in the program. Despite the fact that its listed as a
'fatal' error, the exit status from SFF on all of these tests was the
same:
%0x00000001
I can't reproduce the INVNBDS error with TCP/IP Services 5.7 ECO 5 on
8.4-2L3 or 6.0 on 9.2-2. So I don't think it is a simple HPE/VSI
difference that you're seeing. I wouldn't rule out the possibility you
have bad data somewhere. Based on SET WATCH FILE, the following data
files are accessed early by SFF, so something could be off in one of those:
TCPIP$SERVICE.DAT
TCPIP$HOST.DAT
VMSMAIL_PROFILE.DATA
and your timezone file. I would check VMSMAIL_PROFILE.DATA first. What
to check for? Dunno, really. Maybe a multibyte character in a personal name or columns that don't line up because somebody edited the file or something. I don't think that the columns are documented anywhere, so a robust validator for that file might be hard to come by.
I have contacted VSI but thought I'd ask here too. If anyone can give
this a try and let me know if they experience the problem I'd appreciate knowing.
Integrity server, VMS V8.4-2L1, TCPIP V5.7 eco 5 with any later hotfixes
as of June 2023 applied.
V8.4-2L3 is coming but I can't install it to check for a while.
We use the 'sendmail.com' freeware to send email with binary attachments (mostly PDFs) with customized SMTP headers. On this VSI system we get a single error every time we run SFF from the command procedure.
Exact same procedure on a V8.3 Alpha and an HP V8.4 Integrity run
without error so we're tentatively calling it a VSI issue.
Every run using symbol form via
sff :== $SYS$SYSTEM:TCPIP$SMTP_SFF.EXE
(as defined within sendmail.com)
generates the following error, but also still creates the email
successfully:
%LIB-F-INVNBDS, invalid numeric byte data string
Happens with any normal or priv'd account, regardless of the body text
file, presence or absence of attachments, who the recipient is, presence
or absence of a subject line.
I don't have any other systems to test on (specifically no other VSI systems).
Thanks for any info.
Problem identified. There was an incorrect parameter in the
TCPIP$SMTP.CONF file.
On 2024-08-13 14:54:42 +0000, Richard Jordan said:
Problem identified. There was an incorrect parameter in the
TCPIP$SMTP.CONF file.
That TCPIP$SMTP.CONF file is all too reminiscent of the recent
CrowdStrike mess.
If that configuration file is missing or empty, OpenVMS SMTP turns into
an open relay, too. No errors.
On 8/13/24 8:25 PM, Richard Jordan wrote:
On 8/13/24 6:28 PM, Stephen Hoffman wrote:
On 2024-08-13 14:54:42 +0000, Richard Jordan said:Yes. It was unfortunate that drastic SMTP config changes were made in
Problem identified. There was an incorrect parameter in the
TCPIP$SMTP.CONF file.
That TCPIP$SMTP.CONF file is all too reminiscent of the recent
CrowdStrike mess.
If that configuration file is missing or empty, OpenVMS SMTP turns
into an open relay, too. No errors.
an ECO to 5.7 that were never really followed up on too. Or
documented... Hopefully 6.0 will be better.
6.0 creates the configuration file for you when you enable the SMTP
service and sets relay to false. I guess that's something. But under
the help for SET CONFIGURATION SMTP I see no mention of SMTPS,[1] SPF,
DKIM, or DMARC,[2] all of which are now necessary to send mail with a reasonable chance of getting through.
[1] https://www.cloudflare.com/learning/email-security/smtp-port-25-587/
[2] https://www.cloudflare.com/learning/email-security/dmarc-dkim-spf/
On 8/13/24 6:28 PM, Stephen Hoffman wrote:
On 2024-08-13 14:54:42 +0000, Richard Jordan said:Yes. It was unfortunate that drastic SMTP config changes were made in
Problem identified. There was an incorrect parameter in the
TCPIP$SMTP.CONF file.
That TCPIP$SMTP.CONF file is all too reminiscent of the recent
CrowdStrike mess.
If that configuration file is missing or empty, OpenVMS SMTP turns
into an open relay, too. No errors.
an ECO to 5.7 that were never really followed up on too. Or
documented... Hopefully 6.0 will be better.
On 8/13/24 6:28 PM, Stephen Hoffman wrote:
On 2024-08-13 14:54:42 +0000, Richard Jordan said:Yes. It was unfortunate that drastic SMTP config changes were made in
Problem identified. There was an incorrect parameter in the
TCPIP$SMTP.CONF file.
That TCPIP$SMTP.CONF file is all too reminiscent of the recent
CrowdStrike mess.
If that configuration file is missing or empty, OpenVMS SMTP turns into
an open relay, too. No errors.
an ECO to 5.7 that were never really followed up on too. Or
documented... Hopefully 6.0 will be better.
Defaulting to an open relay is just spectacularly stupid.
On 2024-08-14 01:25:48 +0000, Richard Jordan said:
On 8/13/24 6:28 PM, Stephen Hoffman wrote:
On 2024-08-13 14:54:42 +0000, Richard Jordan said:Yes. It was unfortunate that drastic SMTP config changes were made in
Problem identified. There was an incorrect parameter in the
TCPIP$SMTP.CONF file.
That TCPIP$SMTP.CONF file is all too reminiscent of the recent
CrowdStrike mess.
If that configuration file is missing or empty, OpenVMS SMTP turns
into an open relay, too. No errors.
an ECO to 5.7 that were never really followed up on too. Or
documented... Hopefully 6.0 will be better.
Or tested, seemingly. Defaulting to an open relay is just spectacularly stupid. Default an unconfigured mail server startup to a safe
configuration (e.g. local only), and generate appropriate log chatter.
I've cobbled together mail relaying for some installation requirements,
but it's likely safer to disable the SMTP giblets within the grafted-on
IP stack entirely, and modify the apps to access a remote mail server
using either direct or indirect ESMTP access.
Or tested, seemingly. Defaulting to an open relay is just spectacularly stupid. Default an unconfigured mail server startup to a safe
configuration (e.g. local only), and generate appropriate log chatter.
I've cobbled together mail relaying for some installation requirements,
but it's likely safer to disable the SMTP giblets within the grafted-on
IP stack entirely, and modify the apps to access a remote mail server
using either direct or indirect ESMTP access.
On Wed, 14 Aug 2024 19:58:16 -0400, Stephen Hoffman wrote:
Defaulting to an open relay is just spectacularly stupid.
Back in the 1990s, as the spam problem was just gathering steam, there
were some old-school sysadmins who vehemently insisted on their right to >continue maintaining open mail relays.
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Wed, 14 Aug 2024 19:58:16 -0400, Stephen Hoffman wrote:
Defaulting to an open relay is just spectacularly stupid.
Back in the 1990s, as the spam problem was just gathering steam, there
were some old-school sysadmins who vehemently insisted on their right to
continue maintaining open mail relays.
I was one of them, making the argument that abusers should be dealt with rather than just hiding the problem. Unfortunately the makeup of the internet was changing at the time and things were growing to the point
where admins were no longer able to keep track of their users and I think
a lot of us didn't see the impending train wreck and destruction of the community we knew and loved coming.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 437 |
Nodes: | 16 (2 / 14) |
Uptime: | 192:26:32 |
Calls: | 9,135 |
Calls today: | 2 |
Files: | 13,432 |
Messages: | 6,035,250 |