TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Michael Dukelsky
from: Gert Koefoed Andersen
date: 2009-10-26 13:27:10
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:

 MD>26 Oct 09, Gert Koefoed Andersen wrote to All:

 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.

I can try to se if it works and make the perl filter.pl to run right after
my hpt has unpacked mail as .mo? and pkt files.
Then could there be several kills of empty netmails as I getting netmails
for 3 nodes there is from BBS games.

I haven't yet make the other system make to run for badlinks and badechos,
but now is there no errors in do 'perl filter.pl', I have just to set the
things up and to get some data bases for links and nodelist ad .db files.


  Take care,
            Gert

      - Get the best with linux - 

--- Msged/LNX 6.2.0 (Linux/2.6.28-gentoo-r5 (x86_64))
* Origin: * One step from heaven is not enough * (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™.