Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DBMail: users
Sieve script parsing issues
 

Index | Next | Previous | View Flat


dan at entropy

Feb 3, 2009, 2:20 AM


Views: 401
Permalink
Sieve script parsing issues

Hi all.

I just did a server migration, and upgraded from dbmail 2.3.3 to
2.3.5 ( I ran the db upgrade script ). I did a mysql backup on the old
server with 'mysqldump --opt --all-databases' and imported this on the
new server. Everything appeared to go well, apart from my sieve rules.
All my rules were dropped when the new server started. I used
dbmail-sievecmd on the old server to dump my script, and tried
importing it with:

dbmail-sievecmd -u dan -y -i Dan sieve.txt

This gives the error:

Script [Dan] has errors: Parse error on line [9]: syntax error,
unexpected $end, expecting STRING or '[.'.

The first bit of my sieve script reads:

#Mail filter rules for dan
#Generated by dan using SmartSieve 1.0.0-RC2 2009/01/13 07:26:36
require ["fileinto"];

if allof (header :contains "List-ID" "Enlightenment developer list")
{
fileinto "Enlightenment";
}

elsif allof (header :contains "List-ID" "komodo") {
fileinto "Komodo";
}

... so it's failing on the first
'elsif' line. I tried deleting an
elsif block, and it failed on the *new* first elsif block. As noted,
the sieve stuff was all working in dbmail-2.3.3.

Any ideas?

Dan

Subject User Time
Sieve script parsing issues dan at entropy Feb 3, 2009, 2:20 AM
    Re: Sieve script parsing issues paul at nfg Feb 3, 2009, 2:12 AM
        Re: Sieve script parsing issues dan at entropy Feb 3, 2009, 4:20 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.