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

Re: Postfix setting? or Spam Assassin?

Expand Messages
  • mouss
    ... You are filtering one message, using the first recipient ($4). as a result, the message will have one score (corresponding to the first user). use
    Message 1 of 15 , Nov 1, 2006
    • 0 Attachment
      Alan Fullmer wrote:
      > Thanks. That puts me on the right path.
      >
      > I did forget to post my script:
      >
      > #!/bin/bash
      > /usr/bin/spamc -f -u "$4" | /usr/sbin/sendmail -i "$@"
      > exit $?
      >

      You are filtering one message, using the first recipient ($4). as a
      result, the message will have one score (corresponding to the first user).

      use
      spamassassin_destination_recipient_limit = 1

      so that the message is "split" by postfix (one recipient at a time)
      before using the spamassassin transport.
    Your message has been successfully submitted and would be delivered to recipients shortly.