I've downloaded and compiled JamNNTPd from: https://github.com/ftnapps/jamnntpd
It was easy enough to compile on Ubuntu 22.04.3 LTS and configure. I
setup a couple of bases as a test and I can see some (but not all) of
the messages in Thunderbird. When I post a message GoldED will see that there's a new message but can't display it. Exiting GoldED it warns me that the message base is corrupted.
I've tried making a new test base (creating the JAM base files w/
GoldED) with the same behaviour. GoldED does create the missing *.jlr files so I didn't need to run the (missing) fidoconfig2jamnntpd.pl file referenced in ReadMe_hpt.txt.
Does anyone have any pointers as to what I may be doing wrong?
First, and really nothing to do with the issues you're having, but
give Smapinntpd a try instead. Smapinntpd uses the smapi library which includes newer and probably better JAM support (rather than the
ancient jamlib that Jamnntpd uses).
With that said, Jamnntpd/Smapinntpd doesn't work very well with the
latest Thunderbird. Not only does the issue you speak of happen almost 100% of the time, but the FROM field ends up using node numbers
instead of actual names, also.
Take a look at Claws Mail, Sylpheed, or Pan as a newsreader. I'm using
the Windows version of Claws Mail with Smapinntpd (hosted on Linux)
and it works great.
I seem to have an issue compiling SmapiNNTPd. It says "This program
needs SMAPI to run", when I run make linux I see:
make -f Makefile.linux
make[1]: Entering directory '/tmp/smapinntpd/src'
gcc -Wall -Wno-pointer-sign -DPLATFORM_LINUX -D__PROGPROT_H__ -c main.c
-o main.o
In file included from main.c:1:
nntpserv.h:22:10: fatal error: smapi/msgapi.h: No such file or directory
22 | #include <smapi/msgapi.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile.linux:37: main.o] Error 1
make[1]: Leaving directory '/tmp/smapinntpd/src'
make: *** [Makefile:15: linux] Error 2
I've git clone'd https://github.com/huskyproject/smapi.git and moved the smapi/smapi directory to smapinntpd/src so smapi/msgapi.h does exist,
I'm not sure why it's saying it doesn't.
Any pointers on getting it compiled?
With that said, Jamnntpd/Smapinntpd doesn't work very well with the
latest Thunderbird. Not only does the issue you speak of happen
almost 100% of the time, but the FROM field ends up using node
numbers instead of actual names, also.
Take a look at Claws Mail, Sylpheed, or Pan as a newsreader. I'm
using the Windows version of Claws Mail with Smapinntpd (hosted on
Linux) and it works great.
Thanks for this. I'll check out Claws Mail.
With that said, Jamnntpd/Smapinntpd doesn't work very well with the latest Thunderbird. Not only does the issue you speak of happen almost 100% of the time, but the FROM field ends up using node numbers instead of actual names, also.
Does your SmapiNNTPd use <z:n/f.p> or <p@f.n.z> addresses in the From field?
CN> Does your SmapiNNTPd use <z:n/f.p> or <p@f.n.z> addresses in the From[...]
CN> field?
My From field in Claws Mail for this message shows: Carlos Navarro -> Accession, and here are the control lines:
From: "Carlos Navarro -> Accession" <21:1/192>
So it looks like it's using <z:n/f.p>, but it looks like it drops it from the actual From column displayed in the newsreader. It seems to carry over the original poster's node number, I believe based off the origin line.. and with the REPLY kludge in tact, and fills out the From field in the header with the node number that was taken out of the newsreader's From column.
This is not the case when using the latest Thunderbird versions, though. For some reason it doesn't use our actual names, but instead you would see something like "1/192 -> 1/200" or something similar in the From column, which leads me to believe there has been something changed in Thunderbird that Jamnntpd/Smapinntpd has not been (nor probably will be) updated to handle.
I had the same issue. It seems you have to compile smapi with
'DYNLIBS=1 LIBDIR=/usr/local/lib' on the make and make install line so that it can share libraries. Just putting the code in a subfolder of smapinntpd (where it seems like it should be) never worked for me,
either.
Otherwise, if all of this is just for fun and tinkering, Jamnntpd will probably still do what you want it to, and won't require all of the
extra work.
This issue was fixed it JamNNTPd version 1.2 with a patch by Peter Krefting:
https://github.com/ftnapps/jamnntpd/commit/0f66465b4f93cd436b6da19ecad7b05c9133620d
From History.txt:
====================
Changes in version 1.2
- Make From addresses into valid RFC 5322 addresses.
- JamNNTPd traditionally has used Fidonet-style addresses in the From
header. This breaks RFC 5322 and causes some e-mail software (Alpine,
Opera) not to display the sender address properly.
This patch changes the From header to use a valid RFC 5322 syntax,
albeit not a valid Internet e-mail address.
====================
Unfortunately it seems that this patch was not applied to SmapiNNTPd, at least to the one on the ftnapps repo.
On Wednesday January 17 2024, Accession said the following...
I had the same issue. It seems you have to compile smapi with
'DYNLIBS=1 LIBDIR=/usr/local/lib' on the make and make install line
so that it can share libraries. Just putting the code in a
subfolder of smapinntpd (where it seems like it should be) never
worked for me, either.
Hmm, I tried setting DYNLIBS=1 and LIBDIR=${PREFIX}/lib in huskymak.cfg
but then hpt complained it couldn't find linked libraries and wouldn't
run at all.
Otherwise, if all of this is just for fun and tinkering, Jamnntpd
will probably still do what you want it to, and won't require all
of the extra work.
I installed Claws mail for Windows and tried Jamnntpd again with a newly created test base and it still corrupts the base. This is mostly for fun/tinkering and seeing if I could use this from my phone, but Jamnntpd doesn't seem to support MODE READER so it's kind of all for naught anyway.
Does your SmapiNNTPd use <z:n/f.p> or <p@f.n.z> addresses in the From field?
I installed Claws mail for Windows and tried Jamnntpd again with a newly created test base and it still corrupts the base. This is mostly for fun/tinkering and seeing if I could use this from my phone, but Jamnntpd doesn't seem to support MODE READER so it's kind of all for naught anyway.
CN> Does your SmapiNNTPd use <z:n/f.p> or <p@f.n.z> addresses in the From
CN> field?
This message I'm replying to, and as you can see above "211/192 wrote", my From: field is showing 211/192.
Was this what was addressed in the v1.2 patch?
Honestly, I haven't seen Thunderbird work with Jamnntpd in that regard for years.
This message I'm replying to, and as you can see above "211/192
wrote", my From: field is showing 211/192.
Was this what was addressed in the v1.2 patch?
I think so. I just checked another sysop's JamNNTPd 1.0 server and it
has exactly that same issue with the latest Thunderbird.
Works fine with mine. It's JamNNTPd 1.3 (with a couple small patches), compiled for Win32.
I just remembered something. The issues we were having with Jamnntpd corrupting message bases was because we were compiling it on 64bit
Linux. So it could be a 64bit issue altogether. That's why a couple
of us ended up going with Smapinntpd instead, since that works on
64bit.
I'm guessing if you were to compile it on 32bit, Jamnntpd would work
better. ;)
With that said, if you want to continue messing around with
Smapinntpd, I can help you more with that.
I'm guessing if you were to compile it on 32bit, Jamnntpd would work
better. ;)
With that said, if you want to continue messing around with
Smapinntpd, I can help you more with that.
Ok, I spun up a Ubuntu 16 32bit VM, compiled JamNNTPd there and
copied the binaries over and it seems to be working much better.
How would one add these READER & IPv6 patches?
Ok, I spun up a Ubuntu 16 32bit VM, compiled JamNNTPd there and
copied the binaries over and it seems to be working much better.
X-SMAPI-Control: @PID: JamNNTPd/Linux 1
Looks like you're using Johan's version now? Now that you have it
working, you may want to use 1.3 instead.
And copied what binaries over to where? Or did you mean config files?
Cuz you definitely shouldn't be copying binaries from one architecture
to another. ;)
The MODE READER patch/hack was posted to the JAMNNTPD echo on Fidonet earlier today. As for the IPv6 stuff, here's the diffs I used to patch mine. You'll notice this is from an even more modified version that
I'm currently trying to get my hands on, but the guy has been
unreachable for awhile.
That said, you can go to the lines mentioned, and then scroll a little
bit for the exact lines you need to remove. They won't be on the exact lines mentioned and some lines calling for removal may not even be in
the original code at all (like lines containing cfg_hostname and cfg_ipaddr, for example), since these diffs are from a more modified version. Only remove (-) and add (+) the lines specified, or it won't work. And some lines definitely wrapped below when I pasted it.
And make sure sysctl net.ipv6.bindv6only=0 is set for ipv4 to work as well.
Good luck!
The MODE READER patch/hack was posted to the JAMNNTPD echo on Fidonet earlier today. As for the IPv6 stuff, here's the diffs I used to patch mine. You'll notice this is from an even more modified version that
I'm currently trying to get my hands on, but the guy has been
unreachable for awhile.
200 Welcome to JamNNTPd/Linux 1.3 (posting may or may not be allowed,< AUTHINFO USER warpslide
try your luck)
381 Received login name, now send password< AUTHINFO PASS ...
281 Authentication accepted< MODE READER
200 Server ready - posting allowed< LIST ACTIVE
215 List of newsgroups follows< LIST NEWSGROUPS
FSX_TST 1004 1 y
FSX_BBS 839 1 y
.
215 List of newsgroups follows
FSX_TST
FSX_BBS
.
I've just been using this one:
https://github.com/ftnapps/jamnntpd
The page references v1.3 but when I git clone it, I guess I'm getting v1?
Is there another place to get 1.3?
I compiled on Ubuntu 16 32bit and copied the binaries over to Ubuntu 22 64bit. Crude but effective. :)
I've never manually patched something before, this sounds more like a weekend thing! ;)
Thanks so much for your help with this, much appreciated!
< MODE READER
200 Server ready - posting allowed
Thanks again, you're awesome!
The ftnapps repo is probably never going to be updated/maintained
again. I believe "Jame" or RJ Clay (the main guy) has passed on,
and I'm unsure anyone else that was able to commit to that repo are
around to do anything about it these days.
I can definitely try to take a look and add this patch (or at least
try to modify it - since most, if not all variables and other wording
has changed between Jamnntpd and Smapinntpd) to my custom version of Smapinntpd.
With Smapinntpd, I already have a "CHRS: UTF-8 4" kludge fix (which
is kind of like the one you posted today), I've also added IPv6
support, and I just today added your fix for MODE READER, although
I'm unsure Smapinntpd actually needed it since I haven't seen that
error in the logs since I started using it.
As for the IPv6 stuff, here's the diffs I used to patch mine.
And make sure sysctl net.ipv6.bindv6only=0 is set for ipv4 to work as
well.
But I suppose that anyone could fork it or start another repo...
I can definitely try to take a look and add this patch (or at least
try to modify it - since most, if not all variables and other wording
has changed between Jamnntpd and Smapinntpd) to my custom version of
Smapinntpd.
I see there are lots of differences. Good luck! ;-)
CN> But I suppose that anyone could fork it or start another repo...
That's true. Ready to take it on? Jamlib needs 64bit compatibility. There's the first feature request. I had forgotten about that. That is why Jamnntpd hasn't worked for me for years. ;)
Sorry for my previous replies being addressed to All. I tried using
Claws Mail but it seems it doesn't work well with Synchronet's NNTP
server (or I didn't set it up properly).
That's true. Ready to take it on? Jamlib needs 64bit compatibility.There's the first feature request. I had forgotten about that. That is
why Jamnntpd hasn't worked for me for years. ;)
:-) Sorry, I'm no C programmer. I'm only doing small, easy patches for now...
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,064 |
Nodes: | 17 (1 / 16) |
Uptime: | 18:37:16 |
Calls: | 501,325 |
Calls today: | 4 |
Files: | 109,413 |
D/L today: |
2,235 files (311M bytes) |
Messages: | 302,017 |