Postfix Mail Content Filter Problem

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

  1. concept21

    concept21 Member

    I find a cheap company sending me spams often. He uses this tactics to name his sender address as, for instance,
    cheapguy0@freemail.com,
    cheapguy1@freemail.com,
    ..
    cheapguy9@freemail.com,
    cheapguy10@freemail.com,
    cheapguy11@freemail.com,
    ..
    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