Postfix Mail Content Filter Problem

Discussion in 'Tips/Tricks/Mods' started by concept21, Jan 11, 2016.

  1. concept21

    concept21 Active Member

    I find a cheap company sending me spams often. He uses this tactics to name his sender address as, for instance,
    [email protected],
    [email protected],
    ..
    [email protected],
    [email protected],
    [email protected],
    ..
    etc..

    So I create a postfix content filter as following:
    -----------------------
    Filter: Header Filter
    Regexp. Pattern: cheapguy[0-9]+@freemail\.com
    Data:
    Action: Reject
    ----------------------
    but it can still pass. What should I do to block him? :(

    Also, what should I place in the "Data" field actually? :rolleyes:
    postfixft.PNG
     

Share This Page