Problem with sieve_before[solved]

Ger Hooton Scoil Chroí Íosa Blarney ghooton at scins.ie
Tue Mar 21 16:14:19 EET 2017


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 [ghooton at scins.ie ]
To:Robert Moskowitz [rgm at htt-consult.com ], chaouche yacine  
[yacinechaouche at yahoo.com ], dovecot at dovecot.org Date:Tue, 21 Mar 2017  
14:05:17 +0000
-------------------------------------------------


>
> Thanks Robert, how do I do that?
>
>
>
> ----------------original message-----------------
> From:Robert Moskowitz [rgm at htt-consult.com ]
> To:Ger Hooton Scoil Chroí Íosa Blarney [ghooton at scins.ie ], chaouche  
> yacine [yacinechaouche at yahoo.com ], dovecot at dovecot.org 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 [yacinechaouche at yahoo.com ]
>>> To:Ger Hooton Scoil Chroí Íosa Blarney [ghooton at scins.ie ],  
>>> dovecot at dovecot.org 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


More information about the dovecot mailing list