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.
  • Hello,

    I don't quite follow your question in relation to "working like a mail bombing application". 

    Do you mean work against a mail bombing application?  The product is not designed to send spam rather stop it.

    You can count the number of recipients and filter, send or discard to a special mailbox messages with 30 or more recipients from the same domain.

    Cheers,

    MarkJD.

    :8725
  • Oooops! sorry for the mistake. I want to say "mail anti-bombing". Question edited with more details.

    I found the option to count the recipients but, how can I use a black list to decide what mail should deliver or not?

    if pmx_number_of_recipients :over 1 {
    pmx_mark1 "External_Recipient_Limit";
    discard;
    stop;
    } 
    :8733
  • It may be advisable to work with a Technial Support Engineer to help you craft a policy to meet your specific needs as this isn't an easy question.

    When you say blacklist, is this a list of domains you have created that are not accepted by your organization?

    $ man lists.conf

    This will give you a detailed explanation of how to use lists within PMX.  This may help you craft the policy you are after.

    There isn't a "grey-listing" feature in PMX at this time unfortunately.  If you have specific domains to create a specific test, then what you are after may be achievable. 

    I would recommend opening a support case to work with an engineer.

    Cheers,

    Mark.

    :8765
  • Thank you for your fast response.

    Yes, the "black list" it is an own list.

    I shall open a case.

    Thank you again.

    :8785
  • 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