Mail Filter - block instead of reject

Discussion in 'Mail Gateway: Installation and configuration' started by Gabor Szel, Nov 8, 2018.

  1. Gabor Szel

    Gabor Szel New Member

    Nov 8, 2018
    Likes Received:
    Dear all!,

    We've made mail filter rules to reject unknown recipient.
    We solve this by giving a low priority rule in Mail Filter that will block it not accepted mails.
    This also works, but block is not good!
    If we block email, the sender is not notified.
    If we make "Notification" action object, the sender will receive a new letter! This is not god!, if sender use false email address, we send a notification email "SPAM".

    is it possible to use reject rule somehow ?
    I just found only a block action in available objects.
  2. heutger

    heutger Active Member

    Apr 25, 2018
    Likes Received:
    That’s not available in PMG because of architecture, however, it’s often asked for. You may check via postfix checks and reject there or via spamassassin checks with high score and may follow my guide on Advancing PMG by adding spamass-milter. PMG ruled are performed post-queue, so they can’t reject. Maybe once someone will rewrite pmg-smtp-filter to be run miltered.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice