I think you should mix single and double quotes for exmaple :subject 'Ik ben bezig met het "testen" van de autoreply' 'Ik ben bezig met het "testen" van de auto reply Maar dat duurt hoop ik niet lang';
OR :subject "Ik ben bezig met het 'testen' van de autoreply" "Ik ben bezig met het 'testen' van de auto reply Maar dat duurt hoop ik niet lang"; On Fri, Aug 13, 2010 at 1:00 PM, Marius Karthaus <[email protected]> wrote: > Hi List, > > I'm having trouble using the " char in sieve vacation (and probably in > all sieve scripts) > I've tried several things but I either end up with a script with errors > or a reply that actually contains the escaped version \" of the " > character instead of the character " itself. > > Version: > > r...@mail3:~# dbmail-util -V |head -1 > This is DBMail version 2.2.15 > > My script: > > r...@mail3:~# cat test.script > require "vacation"; > vacation > :days 1 > :addresses ["[email protected]"] > :subject "Ik ben bezig met het \"testen\" van de autoreply" > "Ik ben bezig met het \"testen\" van de auto reply > Maar dat duurt hoop ik niet lang"; > > Insert using: > > r...@mail3:~# dbmail-sievecmd -u '[email protected]' -y -i vacation > test.script > Aug 13 11:50:25 mail3 dbmail-sievecmd[26187]: Error:[sort] > sortsieve.c,sort_startup(+663): Sieve notify is not supported in this > release. > Script [vacation] successfully updated and remains active! > > > Result: > I get an autoreply with the actual subject: > Ik ben bezig met het \"testen\" van de autoreply > > I've tried: > - not escaping-> :subject "Ik ben bezig met het "testen" van de > autoreply" -> (compile errors) > - using single chars -> :subject 'Ik ben bezig met het "testen" van de > autoreply' > (compile errors) > - double escaping (\\") -> :subject "Ik ben bezig met het \\"testen\\" > van de autoreply" > gives \\" in the resulting subject > > > Any ideas? > > Regards, > Marius Karthaus > > > > _______________________________________________ > DBmail mailing list > [email protected] > http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail > _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
