| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| 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>>> 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
MD>>> Inter-lord to the node 2:236/150 that have 'Att' attribute.
GA>> Then could my script file for hpt look a kind of this:
GA>> --mail-in.sh
GA>> Hpt toss
GA>> perl filter.pl
GA>> sqpack netmailarea
GA>> ----
MD>No. You should not call filter.pl explicitly. Hpt calls it internally.
MD>You will see in hpt.log that a message was killed.
Ok, then should it just be so Hpt self call perl filter when it unpacking mail.
I call hpt and htick by a script.
Take care,
Gert
- Get the best with linux -
--- Msged/LNX 6.2.0 (Linux/2.6.28-gentoo-r5 (x86_64))
* Origin: KofoBBS at ftp://ftp.kofobbs.dk (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™.