On 20 Feb 2021, 03:53p, Avon said the following...
I'm trying to get BinkD to execute a script when files that have the following syntax arrive at 1/100
z21n*.*
I can't seem to crack it, any thoughts?
I'm not sure if you meant to post this in the test echo or not, but I'll reply here. ;)
What I'm doing in my binkd.cfg file, is something like:
exec "~/mystic/rcs/fsxnet/stats.sh" fsxnet.z??
It should work with:
exec "~/path/to/makenl/makenl.sh" z21n*.*
Re: BinkD exec
By: Avon to All on Sat Feb 20 2021 03:53 pm
I'm trying to get BinkD to execute a script when files that have the following syntax arrive at 1/100
z21n*.*
Yeah, I havent looked at the code to see why, but on file receipt binkd only matches on wildcard extensions:
eg: test.* z21.[abc]* etc
If you want binkd to match on wildcard names, you need to prefix it with
a full path.
So in your case,
exec "/usr/local/tools/myscript.sh" /fido/mailer/inbound/z21n*
Should work.
On 20 Feb 2021 at 03:26p, deon pondered and said...
So in your case,
exec "/usr/local/tools/myscript.sh" /fido/mailer/inbound/z21n*
Should work.
Thanks, going to test this now ... appreciate the tip.
Will keep you both posted.
Dan's is flowing to his preferred NET 1 address but the one test I did for your segment failed to send.. I may need to create some settings for your node at 1/100 but you would think netmail routing would work..
If that netmail is crash it will go with the next pack. If it is not
crash you will likely need a routefile statement in your route config along with the route directive.
If no routefile is defined then files will not be routed at all.
Looks like I needed to define a link for you in my links area and also then create a record in BinkD
Can you check this packet came in OK please :)
but neither seemed to work... it was just packing it direct, hence the need
but neither seemed to work... it was just packing it direct, hence the need
I did try things like
route crash 21:2/100 21:2/116
route crash 21:2/100 21:2/*
but neither seemed to work... it was just packing it direct, hence the need to set something up in BinkD.. but certainly without defining a link with the 2/116 aka it would not pack the message and just delete it.
with no link defined.
7 Feb:20:2021:21:56:22 Msg packed with flavour 'crash': 21:1/1 -> 21:2/116 L Feb:20:2021:21:56:22 Msg #1 from 21:1/1 to 21:2/116 deleted
D Feb:20:2021:21:56:22 Statistics
D Feb:20:2021:21:56:22 areas: 2 msgs: 93
D Feb:20:2021:21:56:22 exported: 1
E Feb:20:2021:21:56:22 Areas summary:
E Feb:20:2021:21:56:22 netmail area NETMSG - 1 msgs
[snip]
with 2//16 defined as a link
M Feb:20:2021:22:10:33 pktFile /hub/echomail/out/temp/30d26900.pkt created for [21:2/116]
7 Feb:20:2021:22:10:33 Msg packed with flavour 'crash': 21:1/1 -> 21:2/116 L Feb:20:2021:22:10:33 Msg #1 from 21:1/1 to 21:2/116 deleted
M Feb:20:2021:22:10:33 packFile /hub/echomail/out.015/30d26900.sa0 created for [21:2/116 via 21:2/116]
O Feb:20:2021:22:10:33 toss.c:arcmail(): opened '/hub/echomail/out.015/00020074.clo' ("a+" mode)
Question.. if this is just a confirmation of segment being processed netmail why would I need the routefile line?
Got it :)
Did you try without the CRASH on the notify line in makenl?
I havent tried that myself, but I would think that would generate a non crash netmail, which should then be routed normally.
Crash can mean different things to different tossers. Crash should mean send it
now following our routing rules. I think in the case of HPT crash means send it
now directly.
If a message has the crash bit that is what will happen. I use it
rarely. I almost always send netmail without it, and in that case the route file defines what happens with netmail.
One other note, when sending netmail directly to an unlinked node it is best (I
think) not to archive it. It is going to arrive in the nodes unsecure inbound and some tossers like hpt won't unarchive mail in the unsecure inbound. They will import .pkt files so if it arrives that way it will
get tossed.
My mistake, I thought this was a file routing issue, but it isn't so
that won't
Thanks, yep I'll test without this flag and report back.
I wonder how best to set such things up? So many packets pass through here it's a benefit to me to keep it tidy and archived for assorted nodes when processing packets...
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,042 |
Nodes: | 16 (1 / 15) |
Uptime: | 01:47:41 |
Calls: | 500,919 |
Calls today: | 6 |
Files: | 109,372 |
D/L today: |
17,004 files (2,556M bytes) |
Messages: | 305,077 |
Posted today: | 7 |