Re: Debugging Sieve scripts

From: (no name) (no email)
Date: Mon Feb 28 2005 - 10:57:18 EST

  • Next message: Eric Schnoebelen: "Re: Creating and using virtual domains in/with Cyrus.."

    Kevin,

    Kevin M. Myer wrote:

    > Hello,
    >
    > I have a problem that periodically crops up, then usually goes away and I never
    > get around to diagnosing the root cause of it. It seems to be triggered
    > whenever I set a vacation/out of office message. When I enable a vacation
    > message, messages that would normally be filed into folders start appearing in
    > my INBOX. It becomes annoying quickly when you come back and have to sort
    > through 300+ messages to find the things you want to see (other mail is list
    > mail and system log messages). Normally, disabling the vacation notification
    > solves the problem but this time it didn't.
    >
    > What I find even stranger is there appears to be no rhyme or reason for letting
    > one message be filtered and another not. I'm getting a lot of virus
    > notifications for the latest version of the Bagle worm. The majority of these
    > are filed into my virus folder. A few end up in my INBOX. All should be
    > caught by the same sieve script but aren't. Same with list mail and system log
    > messages. The bulk are filtered properly but a few sneak through into my
    > INBOX. The messages that come through appear to be identical in nature to the
    > messages that are filed. It appears as if Sieve gets periodicaly overwhelmed,
    > and just gives up on filtering for short periods of time.
    >
    > I haven't been able to rule out that there's a bug in the program that I use to
    > generate the scripts (Ingo 1.0.1 from the Horde project). So I'm wondering if
    > there is a way I can take a message that made it by Sieve, and somehow run
    > Sieve in test mode, in much the same manner you can test ClamAV or
    > SpammAssassin on a message and have it report back what the results are for a
    > single message. I'd like to have it run through my sieve script, show me the
    > matches and then tell me what it would have done with the message.
    >
    > Short of there being a bug in the script itself, does anyone else have any ideas
    > why Sieve behaves erratically, apparently triggered by turning vacation notices
    > on, and then will eventually clear itself up?

    What do your logs say? Are there lmtpd errors present?
    I had a problem with the sieve lexer/parser not resetting its state
    after a runtime error (see bug #1951) in version 2.1.16. If you're
    using the 2.1 version check out the patch attached to the bug.

    >
    > Thanks,
    > Kevin
    >

    Bye,
    Henk

    --
    Henk Roose - 
    CWI - Centrum voor Wiskunde en Informatica
    Centre for Mathematics and Computer Science
    Amsterdam (NL)
    ---
    Cyrus Home Page: http://asg.web.cmu.edu/cyrus
    Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: Eric Schnoebelen: "Re: Creating and using virtual domains in/with Cyrus.."





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD