Re: sieve plugin editheader not found

2015-04-11 Thread Eugene Paskevich

On 04/11/2015 04:26 PM, Patrick Lion wrote:


   sieve_extensions = +notify +imapflags
   sieve_plugins = editheader


Editheader is not a plugin. It's an extension.
Ergo, if you put +editheader into sieve_extensions
sievec -x flag won't be necessary. Require line will be though.

--
Eugene Paskevich |   *==)---   | Plug me into
eug...@raptor.kiev.ua|   ---(==*   |  The Matrix


Re: sieve plugin editheader not found

2015-04-11 Thread Patrick Lion
Hi Eugene and Stephan,

doveconf -a | grep sieve

managesieve(root): Fatal: Plugin 'editheader' not found from directory
/usr/lib64/dovecot/sieve
doveconf: Error: managesieve-login: dump-capability process returned 89
managesieve_client_workarounds =
managesieve_implementation_string = Dovecot Pigeonhole
managesieve_logout_format = bytes=%i/%o
managesieve_max_compile_errors = 5
managesieve_max_line_length = 65536
managesieve_sieve_capability =
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +notify +imapflags
  sieve_global_extensions = variables
  sieve_plugins = editheader
service managesieve-login {
  executable = managesieve-login
  inet_listener sieve {
  protocol = sieve
service managesieve {
  executable = managesieve
  protocol = sieve
  unix_listener login/sieve {
  mail_plugins = quota sieve
  mail_plugins = quota sieve


sievec -d -x +editheader /etc/postfix/sieve_add_xorg.sieve
sievec(root): Fatal: Plugin 'editheader' not found from directory
/usr/lib64/dovecot/sieve

( with added "require ["editheader"]" in my sieve file )

find / -type f -name editheader.txt
/opt/dovecot-2.2-pigeonhole-0.4.3/doc/extensions/editheader.txt
/opt/_dovecot-2.2-pigeonhole-0.4.3/doc/extensions/editheader.txt

( these are files from tests i did with manual compiling the pigeonhole
sources, not used at all and deleted in the meantime).

Stephan, i was testing some things and the general mail delivery fails when
loading the plugin like you can see in this doveconf output. So in my first
mail it wasnt present at specific time, but it is for sure and giving me
same error over and over again with failing mail delivery.

Thanks in advance.


Re: Why are here ignore a simple question?

2015-04-11 Thread Hardy Flor
I've also looked at the source code. But my attempt to output the UID 
fails because of the error message:

doveadm-mail save.c: 62: 36: error: dereferencing pointer to incomplete type
in the line:
printf("uid =%s\n", dec2str(save_ctx->dest_mail->uid));


Am 11.04.2015 um 08:46 schrieb Gedalya:
Unfortunately this is not unique. Dovecot's documentation is at all 
times significantly lagging behind the code, this is the MO for this 
project. I guess someone will say "contributions are welcome".
There has also been some general discussion about organizing the 
documentation differently, making it more comprehensive and perhaps 
verbose, and my own personal impression that every line on the wiki 
seems to assume you already know everything there is no know about 
dovecot, except the line you're reading right now ;-)

But I must say the documentation is still quite helpful, in its own way.
And nothing will change unless people get into a practical discussion 
about organizing an effort to improve the documentation.