This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PMX Filtering

Hi,

I'm using Puremessage for UNIX version 5.6.0.

I want to know if PMX if capable to work like a mail anti-bombing aplication.

What I want to do:

  - Filter messages with 30 or more recipients from a certain domain using a black list what contains the domains I don't want they send messages with more than 30 recipients. If the server receives a message with more than 30 recipients but the domain of the sender is not in the black list, the message will be delivered.

It's that possible?

Thanks

:8679


This thread was automatically locked due to age.
Parents
  • Hi,

    here a solution :

    if allof(envelope :comparator "i;ascii-casemap" :all :memberof
    ["from"] ["lst_sender_black_list"],
    pmx_number_of_recipients :over 30)
    {
    pmx_mark "pmx_reason" "EXTERNAL_RECIPIENT_LIMIT";
    pmx_quarantine "EXTERNAL_RECIPIENT_LIMIT";
    stop;
    }
    :11083
Reply
  • Hi,

    here a solution :

    if allof(envelope :comparator "i;ascii-casemap" :all :memberof
    ["from"] ["lst_sender_black_list"],
    pmx_number_of_recipients :over 30)
    {
    pmx_mark "pmx_reason" "EXTERNAL_RECIPIENT_LIMIT";
    pmx_quarantine "EXTERNAL_RECIPIENT_LIMIT";
    stop;
    }
    :11083
Children
No Data