I get the following error that gets injected into a forwarding session:
m_filter : file '/usr/local/var/ax25/fbb/mail/mail4/m_009604.mes' openedm_filter : message file '/usr/local/var/ax25/fbb/mail/mail4/m_009604.mes' appended to 'm_filter.fwd'FF
and since this is not part of the FBB forwarding command set, the session terminates before forwarding is finished.
-Thanks
Chris KQ6UP
Here is a patch:
--- m_filter.c.dist 2025-04-08 05:25:34.045019283 -0700
+++ m_filter.c 2025-04-08 05:32:23.175029662 -0700
@@ -50,13 +50,13 @@
hptr_m = open (av[1], O_RDONLY, S_IREAD|S_IWRITE);
if (hptr_m == -1) {
/ DEBUG F6BVP /
- printf ("m_filter : could not open file '%s'\n", av[1]);
+ fprintf(stderr, "m_filter : could not open file '%s'\n", av[1]);
/ DEBUG F6BVP /
- printf ("m_filter : file '%s' opened\n", av[1]);
+ fprintf(stderr, "m_filter : file '%s' opened\n", av[1]);
@@ -88,13 +88,13 @@
if (found)
{
/ DEBUG F6BVP /
- printf ("m_filter : file '%s' is a 7+ file\n", av[1]);
+ fprintf(stderr, "m_filter : file '%s' is a 7+ file\n", av[1]);
/ DEBUG F6BVP /
- printf ("m_filter : did not find or could not open file 'm_filter.fwd'\n");
+ fprintf(stderr, "m_filter : did not find or could not open file 'm_filter.fwd'\n");
@@ -118,7 +118,7 @@
}
/ DEBUG F6BVP /
- printf ("m_filter : message file '%s' appended to 'm_filter.fwd'\n", av[1]);
+ fprintf(stderr, "m_filter : message file '%s' appended to 'm_filter.fwd'\n", av[1]);
I thought message filters aren't part of the LinFBB package itself as they're external tools invoked by LinFBB.
For which message filter is this patch intended? I can't find a packaged m_filter.c.
It is a separate package here on the sourceforge site:
https://sourceforge.net/projects/linfbb/files/7plus/7plus.tar.bz2/download
This is to provide 7plus compression in the file server.
One sends a message like this 7pserv@km6jtd Subject:gtjbios.com
and you get 7plus message in return. If it is big, it is
automatically broken into parts.
Last edit: Dave van der Locht 2025-04-09
Ah, it's regarding the M_FILTER example in the 7plus 'addon' in the files section.
I'll repackage that one with your patch applied. Sourceforge is stripping stuff (no code block used?) but that's fine. I see the issue and your suggestion to fix it seems to be good too.
I can send the patch to you directly. It did fix the issue.
Thanks,
Chris Maness
-Sent from my iPhone
On Wed, Apr 9, 2025 at 2:19 AM Dave van der Locht davevdl@users.sourceforge.net wrote:
Related
Tickets: #88