TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Frank Linhares
from: Eric Renfro
date: 2019-07-22 12:59:58
subject: Re: Another HPT Question

Re: Re: Another HPT Question
  By: Frank Linhares to Eric Renfro on Mon Jul 22 2019 12:37 pm

 ER>> Looks like, if I were to do something like that for netmail to
 ER>> forward it on from 1:135/300 if sent to Eric Renfro, Sysop, etc, I
 ER>> would use a filter sub, after my &pong, and just check $toaddr and
 ER>> $toname and if $toarea is undefined. Hmmm

 FL> $toarea would be your netmail area.

I've seen script examples that checks !defined($toarea), and send it over to
the netmail function, else, send it to the echomail function.

That said, I tried a few things so far to forward netmail sent TO 1:135/300 and
TO Eric Renfro, to forward it on to 1:135/371. The result I got from that from
the logs is:

6 03:05:46  PerlFilter: NetMail from Eric Renfro 1:135/371 to Eric Renfro
1:135/371: 1
J 03:05:46  Badmail reason: Rejected by perl filter (AREA: no areatag)

The script lines in sub filter were:

if (!defined $toarea && $toaddr eq "1:135/300" &&
$toname eq "Eric Renfro" {
  $toaddr = "1:135/371";
  $area = "NETMAIL";
  $change = 1;
}

(I'm about to test that again with a $toarea instead of $area, to see if that
was the issue, but I tried many things).

A secondary option, but I haven't yet actually gotten to it yet, was to have a
post() function that can essentially re-post a new message with the same
contents, as I'd seen in vtrack examples. I'd just have to include some
perlmodule to provide said post() function to do that, probably rip it from the
vtrack script examples. ;)

)))[Psi-Jack -//- Decker]
--- SBBSecho 3.07-Linux
* Origin: Decker's Heaven -//- bbs.deckersheaven.com (1:135/371)
SEEN-BY: 3/50 57/0 153/250 220/70 267/800 280/464 317/3 393/68 633/267 280
SEEN-BY: 640/1384 712/848 770/0 1 100 340 772/0 1 500
@PATH: 135/371 300 3634/12 153/7715 250 770/1 712/848 633/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™.