Pathwalker (pathwalker) wrote,
Pathwalker
pathwalker

new mailfilter [ofdoom]

Ok - I've been playing with this for a while, and I think it's working.

I have a delivery script that takes two mailboxes, and two thresholds. all mail with a score over the second threshold gets deleted, everything between the thresholds goes into the second mailbox, and everything under the first threshold goes into the first mailbox.

To use it, add it to a .qmail script like this:

| /var/qmail/bin/cyrus-wrapper-filter ${USER} slashdot slashdot.spam 5 10
(this example deletes everything with a score over 10, files everything between 5 and 10 into slashdot.spam, and everything under 5 goes into the slashdot mailbox).
Subscribe
  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments