Re: Global sieve doesn't run and I don't know why

2018-09-21 Thread Ranbir
On Thu, 2018-09-20 at 22:34 +0200, Stephan Bosch wrote: > https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration#Executing_Mu > ltiple_Scripts_Sequentially You were right! Thanks. At least I knew I was probably using the global_sieve_dir parameter incorrectly. :) -- Ranbir

Re: Global sieve doesn't run and I don't know why

2018-09-21 Thread Ranbir
On Fri, 2018-09-21 at 23:15 +0300, Aki Tuomi wrote: > You probably wanted to use sieve_before instead of sieve_global. > sieve_global is directory which is used when you refer to scripts > using :global tag, not scripts ran globally. Awesome! Thank you for clarifying it to me. I was pretty confi

Re: Global sieve doesn't run and I don't know why

2018-09-21 Thread Ranbir
On Fri, 2018-09-21 at 20:07 +, Larry Rosenman wrote: > Did you compile (sievec) the script? Yes, I mentioned this in my first post. Here are the contents of the global sieve dir: [root@mailhost global]# ls -al total 8 drwxr-xr-x. 2 root root 44 Sep 21 16:12 . drwxr-xr-x. 3 root root 19 Sep

Re: Global sieve doesn't run and I don't know why

2018-09-21 Thread Aki Tuomi
> On 21 September 2018 at 23:10 Ranbir wrote: > > > On Fri, 2018-09-21 at 23:09 +0300, Aki Tuomi wrote: > > > Did you forget the pastebin link? > > I had it in my first post. Here it is again: > > https://www.pastiebin.com/5ba3faa8628c2 > > > Also 2.2.10 is ancient. > > I totally underst

Re: Global sieve doesn't run and I don't know why

2018-09-21 Thread Ranbir
On Fri, 2018-09-21 at 23:09 +0300, Aki Tuomi wrote: > Did you forget the pastebin link? I had it in my first post. Here it is again: https://www.pastiebin.com/5ba3faa8628c2 > Also 2.2.10 is ancient. I totally understand, but it's what ships with "CentOS Linux release 7.5.1804 (Core)". -- R

Re: Global sieve doesn't run and I don't know why

2018-09-21 Thread Aki Tuomi
> On 21 September 2018 at 23:07 Ranbir wrote: > > > On Thu, 2018-09-20 at 22:34 +0200, Stephan Bosch wrote: > > https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration#Executing_Mu > > ltiple_Scripts_Sequentially > > I've seen this suggested on this list and across the web. What I don't > un

Re: Global sieve doesn't run and I don't know why

2018-09-21 Thread Ranbir
On Thu, 2018-09-20 at 22:34 +0200, Stephan Bosch wrote: > https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration#Executing_Mu > ltiple_Scripts_Sequentially I've seen this suggested on this list and across the web. What I don't understand is why is this necessary when there is a config paramater

Re: Global sieve doesn't run and I don't know why

2018-09-21 Thread Larry Rosenman
On 9/21/18, 3:05 PM, "dovecot on behalf of Ranbir" wrote: On Fri, 2018-09-21 at 09:15 +0300, Aki Tuomi wrote: > 1. > > set mail_debug=yes, try again, and check logs The output copied and linked to on pastiebin.com is with mail_debug=yes set. I never see the global si

Re: Global sieve doesn't run and I don't know why

2018-09-21 Thread Ranbir
On Fri, 2018-09-21 at 09:15 +0300, Aki Tuomi wrote: > 1. > > set mail_debug=yes, try again, and check logs The output copied and linked to on pastiebin.com is with mail_debug=yes set. I never see the global sieve script even read. > 2. > > take one email (the whole email as source), store it as

Re: Global sieve doesn't run and I don't know why

2018-09-20 Thread Aki Tuomi
1. set mail_debug=yes, try again, and check logs 2. take one email (the whole email as source), store it as mail.eml and use sieve-test to find out if your script is broken. Aki On 20.09.2018 23:02, Ranbir wrote: > Hi Everyone, > > I have dovecot, postfix, roundcube and piegeonhole managesiev

Re: Global sieve doesn't run and I don't know why

2018-09-20 Thread Stephan Bosch
Op 20/09/2018 om 22:02 schreef Ranbir: Hi Everyone, I have dovecot, postfix, roundcube and piegeonhole managesieve all working nicely together. Personal scripts defined in roundcube run without issue. I have configured the global sieve dir defined in 90-sieve.conf: sieve_global_dir = /var/l