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

Hello Gert,

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.


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

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

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

Michael

... dukelsky (at) aha (dot) ru
--- GoldED+/LNX 1.1.5-b20061116
* Origin: Moscow, Russia (2:5020/1042)
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: 5020/1042 140/1 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™.