I did chmod -R 777 /var/lib/dovecot and it worked.
I just need to figure out what the correct setting are.
Thanks everyone
//Ger



----------------original message-----------------
From:Ger Hooton Scoil Chroí Íosa Blarney [[email protected] ]
To:Robert Moskowitz [[email protected] ], chaouche yacine [[email protected] ], [email protected] Date:Tue, 21 Mar 2017 14:05:17 +0000
-------------------------------------------------



Thanks Robert, how do I do that?



----------------original message-----------------
From:Robert Moskowitz [[email protected] ]
To:Ger Hooton Scoil Chroí Íosa Blarney [[email protected] ], chaouche yacine [[email protected] ], [email protected] Date:Tue, 21 Mar 2017 09:47:18 -0400
-------------------------------------------------




On 03/21/2017 09:30 AM, Ger Hooton Scoil Chroí Íosa Blarney wrote:

Hi Yassine,
That did not work, is there a way to see is the script is been run?

Perhaps it is an SELinux permissions problem? Try setenforce 0 to see?

----------------original message-----------------
From:chaouche yacine [[email protected] ]
To:Ger Hooton Scoil Chroí Íosa Blarney [[email protected] ], [email protected] Date:Tue, 21 Mar 2017 13:06:14 +0000 (UTC)
-------------------------------------------------


Hi Ger,

sieve_before should be a path to sieve script file, not to a directory.
in your configuration, you set sieve_before to /var/lib/dovecot/sieve/before which is a directory.

what you need to do is figure out which sieve script you'd like to execute and its path rather. If you think that default2.sieve is the right script then set sieve_before to /var/lib/dovecot/sieve/before/default2.sieve

-- Yassine.




On Tuesday, March 21, 2017 12:56 PM, Ger Hooton Scoil Chroí Íosa Blarney wrote:





Hi All,
[...]

plugin {
[...]


sieve_before = /var/lib/dovecot/sieve/before
.................................

In /var/lib/dovecot/sieve/before I have :

drwxrwxrwx 3 mail mail 4096 Mar 20 23:47 ..

-rw-rw-rw- 1 root root 195 Mar 21 09:57 default2.svbin

-rwxrwxrwx 1 mail mail 157 Mar 21 11:12 default2.sieve

default2.sieve is as follows:

require ["fileinto"];

if allof (header :matches "subject" "*JUNK*") {

fileinto "INBOX.Junk";

}


__________________________________________________

Please consider the environment before printing this email.
Ger Hooton
Systems Administrator
Scoil Chroí Íosa Blarney.
Blarney.
Co. Cork




__________________________________________________

Please consider the environment before printing this email.
Ger Hooton
Systems Administrator
Scoil Chroí Íosa Blarney.
Blarney.
Co. Cork


__________________________________________________

Please consider the environment before printing this email.
Ger Hooton
Systems Administrator
Scoil Chroí Íosa Blarney.
Blarney.
Co. Cork

Reply via email to