Merc transaction-level filtering - Pegasus

This is a discussion on Merc transaction-level filtering - Pegasus ; How does one filter on a specific subject or HELO greeting? I tried filtering on a subject "Hello". It doesn't work. Neither does "/bHello/B". The only way to reject a subject of "Hello" is to filter on "*Hello*", which is ...

+ Reply to Thread
Results 1 to 4 of 4

Merc transaction-level filtering

  1. Default Merc transaction-level filtering

    How does one filter on a specific subject or HELO greeting?

    I tried filtering on a subject "Hello". It doesn't work. Neither does
    "/bHello/B". The only way to reject a subject of "Hello" is to filter on
    "*Hello*", which is NOT what I want.

    I am getting hundreds of spams from a multitude of IPs with a HELO greeting
    of either "1" followed by 9 digits or "-1" followed followed by 9 digits. I
    have never seen a legit HELO greeting such as this, so I tried filtering
    "-1[0-9][0-9][0-9 and "1[0-9][0-9][0-9]+". Didn't work. Neither did these:
    "/b-1[0-9][0-9][0-9]+/B"
    "/b1[0-9][0-9][0-9]+/B"
    or these:
    "-1[0-9][0-9][0-9]*"
    "1[0-9][0-9][0-9]*"

    This works: "*1[0-9][0-9][0-9]*", but blocks many legit greetings.

    Any ideas?

    Thanks,
    Dave



  2. Default Re: Merc transaction-level filtering

    Dave wrote:

    > I am getting hundreds of spams from a multitude
    > of IPs with a HELO greeting of either
    >
    > "1" followed by 9 digits
    >
    > or
    >
    >"-1" followed by 9 digits
    >
    > This works: "*1[0-9][0-9][0-9]*", but blocks many legit greetings.
    >


    Try:

    H, "*1[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]*", BS, "554 Rejected"

    --
    OpenPGP: id=18795161E22D3905; preference=signencrypt;
    url=http://guysalias.batcave.net/pgpkeys.txt

  3. Default Re: Merc transaction-level filtering


    "Guy" <Use-Reply-To-Address-Header@[127.1]> wrote in message
    news:9755$910AF$1261$2E284CEEC009E394A9D7@127.0.0.1...
    > Try:
    > H, "*1[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]*", BS, "554 Rejected"


    Thanks for the reply.

    Some legit greetings have a sequence of numbers preceded by location info.
    I'm concerned that even limiting to an exact minimum of digits might still
    match a legit sender.

    When I realized the entire line must be matched, I figured e.g. the
    expression
    "HELO -1[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]"
    would match "HELO -1234567890", but unfortunately it doesn't.






  4. Default Re: Merc transaction-level filtering

    Dave schrieb:
    > How does one filter on a specific subject or HELO greeting?
    >
    > This works: "*1[0-9][0-9][0-9]*", but blocks many legit greetings.
    >
    > Any ideas?


    Same problem here. I use

    "*/b-[0-9][0-9][0-9]*" (could be extended)
    and
    "*/b[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]*"

    this works for me.

+ Reply to Thread

Similar Threads

  1. Mercury transaction-level filtering
    By Application Development in forum Pegasus
    Replies: 1
    Last Post: 02-06-2006, 06:55 PM
  2. merc trans-level filtering, take 3
    By Application Development in forum Pegasus
    Replies: 0
    Last Post: 08-09-2005, 08:21 PM
  3. merc transaction-level filter
    By Application Development in forum Pegasus
    Replies: 2
    Last Post: 08-07-2005, 06:53 AM
  4. Mercury Transaction Level Filtering
    By Application Development in forum Pegasus
    Replies: 2
    Last Post: 07-31-2005, 06:33 PM
  5. Mercury/32 4.01 Transaction level filtering
    By Application Development in forum Pegasus
    Replies: 4
    Last Post: 02-27-2004, 07:23 AM