Re: [Dovecot] Sieve > Pigeonhole > external storage with LDAP or other data source available to dovecot
got it, I have extdata working fine now for simple commands like redirect. vacation doesn't seem to be working properly - in that a message is not returned to the sender. I'll continue to test this with and without extdata and report back if I still can't get this to work by the end of my day (~18:00 @ UTC+11)
I have also updated the wiki with sieve plugin testing information http://wiki.dovecot.org/LDA/Sieve/Dovecot "Script Compling with Sieve Plugins"
Cheers,
-Martin Foster
Stephan Bosch wrote :
Martin F. Foster wrote:
oh wow - ignore my last message about sievec& environment. As the output says, it's just a warning... it is not blocking the compilation of the sieve script as I originally thought.
<compile script> # /usr/local/bin/sievec -P sieve_extdata /usr/local/etc/dovecot/sieve/before.sv /usr/local/etc/dovecot/sieve/before.sieve Warning: sieve: extdata: no dict uri specified, extension is unconfigured (sieve_extdata_dict_uri is not set).
# echo $? 0
This will compile the before.sv into a binary before.sieve, which is wrong. First of all, Pigeonhole expects scripts to have the .sieve extension. Second, binaries are expected to have the .svbin extension. The errors you get are caused by the deliver plugin's attempts at compiling a binary (since the .sieve is the binary and a .svbin file does not exist) :)
Regards,
Stephan.
participants (1)
-
Martin F. Foster