Oleg, Sieve is a work-in-progress and unfinished. That's Aaron's brainchild. I haven't a clue what the current status is, though I'm pretty sure Aaron would have told us if it's in any way usable. Maybe Aaron can enlighten us a bit here.
Oleg Lapshin wrote: > Hello > I try to insert this sieve-script: > > require "fileinto"; > if header :is "X-Spam-Flag" "YES" { > fileinto "SPAM";} > else { > fileinto "INBOX";} > > with command: > > dbmail-sievecmd -u loe -i spam1 < sieve_spam1 > > and get: > > *** dbmail-sievecmd *** > Opening connection to database... > Opening connection to authentication... > Ok. Connected! > Segmentation fault > > This happens on this line in sievecmd.c: > res = sort_validate(user_idnr, "@!temp-script!@", &errmsg); > > Last lines from strace: > > fcntl64(6, F_SETFL, O_RDWR) = 0 > write(6, "Z\0\0\0\3SELECT script from dbmail_s"..., 94) = 94 > read(6, "\271\0\0\1", 4) = 4 > read(6, "\377(\4#42000You have an error in yo"..., 185) = 185 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > +++ killed by SIGSEGV +++ > > > What did I do wrong? > > -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl