• Deleting netmail attach messages

    From Sean Rima@2:263/1 to All on Tue Aug 1 12:01:44 2023

    Hello everybody!

    How do I delete netmail attach messages that come in with files and tics. I searched the texi file but cannot see it

    Sean


    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: TCOB1 Mail Only (2:263/1)
  • From Michael Dukelsky@2:5020/1042 to Sean Rima on Tue Aug 1 15:49:22 2023
    Hello Sean,

    Tuesday August 01 2023, Sean Rima wrote to All:

    How do I delete netmail attach messages that come in with files and
    tics. I searched the texi file but cannot see it

    You could not see it because htick does not produce netmail attach messages when it sends files and ticks. And it does not produce them because they are not needed.

    Ask your link to stop sending you the netmail attach messages. If he/she cannot, then the easiest option is to change the link. Otherwise, you may develop a script for deleting the messages.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20230221
    * Origin: Moscow, Russia (2:5020/1042)
  • From Stas Mishchenkov@2:460/5858 to Sean Rima on Tue Aug 1 14:58:26 2023
    Hi Sean!

    Tuesday August 01 2023 12:01, you wrote to All:

    How do I delete netmail attach messages that come in with files and
    tics. I searched the texi file but cannot see it

    hptperlfile /home/fido/perl/filter.pl

    ---- filter.pl ----

    sub filter()
    {
    unless ( $area ) {
    if ( istous($toaddr) ) {
    if ( $fromname eq 'FileFix' ) {
    my $attrr = attr2str( $attr )
    if ( $attrr =~ /\bAtt\b/i ) {
    $kill = 1;
    return 'Attach from FileFix killed.';
    }
    }
    # ...
    }
    # ...
    }
    }


    sub istous($)
    {
    my ( $addrr ) = @_;
    for my $cfg_addr ( @{$config{addr}} ) {
    if( $addrr eq $cfg_addr ) {
    return 1;
    }
    }
    return 0;
    }

    -------------------


    Have a nice night.
    Stas Mishchenkov.

    --- Have You daily sexual life? Hide it proper from Your wife! ;)
    * Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858)
  • From Tommi Koivula@2:221/1 to Sean Rima on Tue Aug 1 16:48:49 2023
    Hello, Sean Rima.
    On 01/08/2023 14.01 you wrote:

    Hello everybody!
    How do I delete netmail attach messages that come in with files and tics. I searched the texi file but cannot see it

    There is a certain braindead TICK sending me empty netmails every day. I made carbon move rule to move those netmails to a black hole netmail area.

    ---
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/1.0)
  • From Kai Richter@2:240/77 to Sean Rima on Wed Aug 2 16:07:48 2023
    Hello Sean!

    01 Aug 23, Sean Rima wrote to All:

    How do I delete netmail attach messages that come in with files and
    tics. I searched the texi file but cannot see it

    Check the source at fidoconf/doc/keywords.hpt for "carbon copy" actions. There is carbondelete but i suggest to test the configuration with carbonmove at first.

    I noticed the source texi file is much smaller than the info file. If you did not compile with info support then on the installed system the info file may not be available. But you can read the source fidoconfig.info with a text viewer/editor easily.

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Sean Rima@2:263/1.1 to Michael Dukelsky on Thu Aug 3 11:36:11 2023

    Hello Sean,

    Tuesday August 01 2023, Sean Rima wrote to All:

    How do I delete netmail attach messages that come in with files and
    tics. I searched the texi file but cannot see it

    You could not see it because htick does not produce netmail attach messages when it sends files and ticks. And it does not produce them because they are not needed.

    Ask your link to stop sending you the netmail attach messages. If he/she cannot, then the easiest option is to change the link. Otherwise, you may develop a script for deleting the messages.


    I get them from a few different links. So deleting them here is the best option.

    Sean Rima
    There Can Only Be 1
    --- AfterShock/Android 1.7.4
    * Origin: Tcob1 (2:263/1.1)
  • From Sean Rima@2:263/1.1 to Stas Mishchenkov on Thu Aug 3 11:36:51 2023

    Hi Sean!

    Tuesday August 01 2023 12:01, you wrote to All:

    How do I delete netmail attach messages that come in with files and
    tics. I searched the texi file but cannot see it

    hptperlfile /home/fido/perl/filter.pl

    ---- filter.pl ----

    sub filter()
    {
    unless ( $area ) {
    if ( istous($toaddr) ) {
    if ( $fromname eq 'FileFix' ) {
    my $attrr = attr2str( $attr )
    if ( $attrr =~ /\bAtt\b/i ) {
    $kill = 1;
    return 'Attach from FileFix killed.';
    }
    }
    # ...
    }
    # ...
    }
    }


    sub istous($)
    {
    my ( $addrr ) = @_;
    for my $cfg_addr ( @{$config{addr}} ) {
    if( $addrr eq $cfg_addr ) {
    return 1;
    }
    }
    return 0;
    }

    -------------------

    Thanks will log into the pc and try

    Sean Rima
    There Can Only Be 1
    --- AfterShock/Android 1.7.4
    * Origin: Tcob1 (2:263/1.1)
  • From Sean Rima@2:263/1.1 to Tommi Koivula on Thu Aug 3 11:37:15 2023

    Hello, Sean Rima.
    On 01/08/2023 14.01 you wrote:

    Hello everybody!
    How do I delete netmail attach messages that come in with files and tics.
    I searched the texi file but cannot see it

    There is a certain braindead TICK sending me empty netmails every day. I made carbon move rule to move those netmails to a black hole netmail area.

    Never thought of carbon move

    Sean Rima
    There Can Only Be 1
    --- AfterShock/Android 1.7.4
    * Origin: Tcob1 (2:263/1.1)
  • From Sean Rima@2:263/1.1 to Kai Richter on Thu Aug 3 11:37:42 2023

    Hello Sean!

    01 Aug 23, Sean Rima wrote to All:

    How do I delete netmail attach messages that come in with files and
    tics. I searched the texi file but cannot see it

    Check the source at fidoconf/doc/keywords.hpt for "carbon copy" actions. There is carbondelete but i suggest to test the configuration with carbonmove at first.

    I noticed the source texi file is much smaller than the info file. If you did not compile with info support then on the installed system the info file may not be available. But you can read the source fidoconfig.info with a text viewer/editor easily.

    Yeah I will play with that and see how I go

    Sean Rima
    There Can Only Be 1
    --- AfterShock/Android 1.7.4
    * Origin: Tcob1 (2:263/1.1)