TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Michael Dukelsky
from: Gert Koefoed Andersen
date: 2009-10-26 13:36:36
subject: Hpt manage empty netmails

* Reply to message originally in area CarbonArea

Hello Michael!

Mon Oct 26 2009, Michael Dukelsky wrote to Gert Koefoed Andersen:

 GA>> Is the a a way one can make husky hpt or other util there by function
 GA>> can delete empty netmails. Like messages there only is attach netmails
 GA>> as like this:
 GA>> =========================
 GA>> from : Inter-lord
 GA>> to   : Inter-lord
 GA>> subj.: c:\doors\..\file.ext
 GA>> ================================


 GA>> =================
 GA>> Mean that the netmail most be deleted right af recieving and it is a
 GA>> auto netmail there just is in the way and make troubles.


 MD>You may use a code like this in sub filter {...} in your filter.pl

 MD>    if($fromaddr eq "2:123/456" && $fromname eq
"Inter-lord" &&
 MD>       $toaddr eq "2:236/150" && $attr =~ /att/i)
 MD>    {
 MD>        $kill = 1;
 MD>        return "";
 MD>    }

 MD>It will delete all messages from 2:123/456 sent from name Inter-lord to 
 MD>the node 2:236/150 that have 'Att' attribute.

Then could my script file for hpt look a kind of this:
 --mail-in.sh
Hpt toss
perl filter.pl
sqpack netmailarea
 ----

All netmails from Game files will be deleted and netmailarea count been updated.
If I the had a function and util there do a import from .msg netmail to Sq
netmails would my maintain the bbs games go more than fine.


  Take care,
            Gert

      - Get the best with linux - 

--- Msged/LNX 6.2.0 (Linux/2.6.28-gentoo-r5 (x86_64))
* Origin: * One bird in hand is better than 10 on the roof * (2:236/150)
SEEN-BY: 10/1 11/200 201 331 34/999 120/228 128/2 187 140/1 222/2 226/0
SEEN-BY: 236/150 249/303 250/306 261/20 38 100 1404 1406 1418 266/1413
SEEN-BY: 280/1027 320/119 393/68 396/45 633/104 260 267 285 712/848 800/432
SEEN-BY: 801/161 189 2222/700 2320/100 105 5030/1256
@PATH: 236/150 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

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™.