
dan at entropy
Feb 3, 2009, 4:20 PM
Post #3 of 3
(863 views)
Permalink
|
On Tue, 03 Feb 2009 11:12:17 +0100, Paul J Stevens <paul [at] nfg> wrote: > Try setting sieve_debug=yes in dbmail.conf. Maybe that will yield some > useful info. Hi Paul. Thanks for the reply. I was using libsieve 2.2.6 on the old system, 2.2.7 on the new system. I downgraded to 2.2.6 on the new system and rebuilt dbmail. No luck :( Setting sieve_debug=yes doesn't really produce any extra ( useful ) output in this case: Feb 4 22:01:21 archeopteryx dbmail/sievecmd[8414]: [0x606ef0] Debug:[auth] auth_load_driver(+51): library_directory is [/usr/lib64/dbmail] Feb 4 22:01:21 archeopteryx dbmail/sievecmd[8414]: [0x606ef0] Debug:[auth] auth_load_driver(+64): looking for auth_sql as /usr/lib64/dbmail/libauth_sql.so Feb 4 22:01:21 archeopteryx dbmail/sievecmd[8414]: [0x606ef0] Debug:[sort] sort_load_driver(+48): library_directory is [/usr/lib64/dbmail] Feb 4 22:01:21 archeopteryx dbmail/sievecmd[8414]: [0x606ef0] Debug:[sort] sort_load_driver(+61): looking for sort_sieve as /usr/lib64/dbmail/libsort_sieve.so Feb 4 22:01:21 archeopteryx dbmail/sievecmd[8414]: [0x606ef0] Debug:[sort] sort_startup(+722): Sieve vacation enabled. Feb 4 22:01:21 archeopteryx dbmail/sievecmd[8414]: [0x606ef0] Debug:[sort] sort_startup(+742): Sieve debugging enabled. Feb 4 22:01:21 archeopteryx dbmail/sievecmd[8414]: [0x606ef0] Info:[sort] sort_getscript(+485): Getting default script named [@!temp-script!@] Feb 4 22:01:21 archeopteryx dbmail/sievecmd[8414]: [0x606ef0] Info:[sort] sort_errparse(+413): Error is PARSE: Line is [9], Message is [syntax error, unexpected $end, expecting STRING or '['] Anything else to try? Dan > > Dan wrote: >> >> 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 >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> DBmail mailing list >> DBmail [at] dbmail >> https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > _______________________________________________ DBmail mailing list DBmail [at] dbmail https://mailman.fastxs.nl/mailman/listinfo/dbmail
|