TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Alan Ianson
from: Tommi Koivula
date: 2021-06-27 09:10:00
subject: Saving inbound packets

Hi Alan.

26 Jun 21 14:19:40, you wrote to Oli:

 AI>>> Is there a way to keep inbound packets after tossing to inspect
 AI>>> later?

 Ol>> make a copy before tossing?

 AI> That's what I am doing now. What a mess of stuff.. ;)

 AI> I am copying packets and bundles into a backup directory. A rather crude cp command. I'm not
 AI> sure what is going to happen with filename collisions.

From HPT you can use "afterunpack". But it may only be used for arcmail?

=== Cut ===
3.2.2 AfterUnpack

Syntax:
    afterUnpack 
Example:
    afterUnpack pktpack /home/fido/in.tmp/*.pkt

This  is executed after unpacking arcmail bundle. You may process your pkt files in tempInbound directory with external utility.

This statement cannot be repeated.
=== Cut ===

 AI> I was thinking others may have come up with a good way to accomplish that.

I'm using exec in binkd. :)

=== Cut ===
exec "4os2.exe /c d:\\binkd\\talteen.cmd *F *A0" *.su? *.mo? *.tu? *.we? *.th? *.fr? *.sa? *.pkt
=== Cut ===

=== Cut ===
echo x xx:xx:xx talteen...
set npolku=%@replace[/,_,%2]
set npolku=%@replace[:,_,%npolku]
set npolku=%@replace[@,_,%npolku]
set npolku=%@replace[.,_,%npolku]
if not exist i:\tmp\pkt\jemma\%_date%\%npolku\  md /s i:\tmp\pkt\jemma\%_date%\%npolku\
copy /equ "%1" i:\tmp\pkt\jemma\%_date%\%npolku\
exit
=== Cut ===

'Tommi

---
                              
* Origin: rbb.fidonet.fi (2:221/360)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.