Re: Global sieve scripts and spamfolders/bb

From: Roland Felnhofer (no email)
Date: Mon Apr 16 2007 - 16:39:26 EDT

  • Next message: Roland Felnhofer: "Re: Global sieve scripts and spamfolders/bb"

    Hi Janne,
    partially answering your question:

    My sieve admin is cyrus. He "owns" the global cyrus scripts. Change
    these scripts as user cyrus. (I'm using 'Websieve')

    My config /setup

    imapd.conf
    ...
    sieve_extensions: fileinto reject vacation imapflags notify include
    envelope bod
    y relational regex subaddress copy
    ...

    #
    # global sieve file "spam"
    #
    require ["fileinto"];
    if allof (header :contains "X-Spam-Flag" "YES") {
         fileinto "INBOX.Junk";
    }

    #
    # private user sieve script
    #
    require ["include"];
    include :global "spam";

    More info: http://www.mvmf.org/docs/draft-daboo-sieve-include-02.txt

    Best regards
    Roland

    Janne Peltonen wrote:
    > Hi!
    >
    > If the way to use sieve with bbs is sieve scripts in the global
    > namespace, I was wondering whether there was any way to determine the
    > destination mailbox based on the incoming address.
    >
    > That is:
    >
    > We'd like to create /one/ global spam-filtering script, which the BB
    > owners could register their BB to use.
    >
    > At the same time, we'd like the email classified as spam to end up
    > somewhere the BB owners could read them - so as to detect false
    > positives.
    >
    > And we'd like that only the owners of the BB could read the spam sent to
    > that BB's address.
    >
    > So spam that's coming to 'bb' should get filtered to, say, 'bb.spam', and
    > spam coming to 'bb2' should get filtered to 'bb2.spam'.
    >
    > If this isn't possible without a sieve-script-per-bb, is there a way to
    > allow normal users to (safely) add global sieve scripts?
    >
    > Or is the only way to go to (automatically) create a new global sieve
    > script every time a new bb is created?
    >
    > Thanks.
    >
    >
    > --Janne
    >



    ----
    Cyrus Home Page: http://cyrusimap.web.cmu.edu/
    Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    


  • Next message: Roland Felnhofer: "Re: Global sieve scripts and spamfolders/bb"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD