Loading ...
Sorry, an error occurred while loading the content.

Re: Disable after-queue content filter for certain recipients

Expand Messages
  • Noel Jones
    ... Use a content_filter that allows you to bypass filtering for individual users, such as amavisd-new. -- Noel Jones
    Message 1 of 2 , Feb 28, 2008
    • 0 Attachment
      Alex Woick wrote:
      > I am using an smtp-based after-queue content filter that is activated
      > via the content_filter = ... keyword in main.cf.
      >
      > Now, I want to skip filtering for certain recipients, but only if they
      > are the sole recipient. If the recipient doesn't match a predefined list
      > or there are multiple recipients for the same message, the filter should
      > still be called.
      >
      > After reviewing the mailing list and the documentation, I see the only
      > solution is using a policy server that looks into the recipient_count
      > value in the END-OF-MESSAGE stage. It should send a "action=DUNNO" only
      > if the recipient=... matches and recipient_count==1. And "action=FILTER
      > myfilter:" otherwise. Am I right?
      >
      > Are there policy servers around that I can use for this purpose? Or
      > perl-based ones that I can hack with minimal effort?
      >
      > Tschau
      > Alex

      Use a content_filter that allows you to bypass filtering for
      individual users, such as amavisd-new.

      --
      Noel Jones
    Your message has been successfully submitted and would be delivered to recipients shortly.