A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=445 
====================================================================== 
Reported By:                jasb
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   445
Category:                   Sieve (delivery, dbmail-sievecmd, dbmail-timsieved)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             10-Nov-06 23:24 CET
Last Modified:              12-Nov-06 11:29 CET
====================================================================== 
Summary:                    Sieve script error with 3 rules
Description: 
I have reports from some users that have the follow sieve script, that
receive about an error message for each received email.

Below, the sieve script created by squirrelmail's avelsieve plugin, and
some info about the error message they receive.



# This script has been automatically generated by avelsieve
# (Sieve Mail Filters Plugin for Squirrelmail)
# Warning: If you edit this manually, then the changes will not 
# be reflected in the users' front-end!
#AVELSIEVE_VERSIONYTo0OntzOjU6Im1ham9yIjtpOjE7czo1OiJtaW5vciI7aTo5O3M6NzoicmVsZWFzZSI7aTo3O3M6Njoic3RyaW5nIjtzOjU6IjEuOS43Ijt9
#AVELSIEVE_CREATED1157841771
#AVELSIEVE_MODIFIED1163173733
require ["fileinto","envelope","reject","regex"];
if
#START_SIEVE_RULEYTo2OntzOjQ6ImNvbmQiO2E6MTp7aTowO2E6MTp7czo0OiJ0eXBlIjtzOjM6ImFsbCI7fX1zOjQ6InR5cGUiO3M6MToiMSI7czo5OiJjb25kaXRpb24iO3M6MzoiYW5kIjtzOjY6ImFjdGlvbiI7czoxOiI0IjtzOjEzOiJyZWRpcmVjdGVtYWlsIjtzOjE4OiJhbGxtYWlsQGVjb2ZtZXEucHQiO3M6NDoia2VlcCI7czoyOiJvbiI7fQ%3D%3DEND_SIEVE_RULE
true
{
keep;
redirect "[EMAIL PROTECTED]";
}
if
#START_SIEVE_RULEYTo0OntzOjQ6ImNvbmQiO2E6Mjp7aTowO2E6NDp7czo0OiJ0eXBlIjtzOjY6ImhlYWRlciI7czo2OiJoZWFkZXIiO3M6NDoiRnJvbSI7czo5OiJtYXRjaHR5cGUiO3M6ODoiY29udGFpbnMiO3M6MTE6ImhlYWRlcm1hdGNoIjtzOjI4OiJwYXVsby5maWd1ZWlyZWRvLjdAZ21haWwuY29tIjt9aToxO2E6NDp7czo0OiJ0eXBlIjtzOjY6ImhlYWRlciI7czo2OiJoZWFkZXIiO3M6MjoiVG8iO3M6OToibWF0Y2h0eXBlIjtzOjg6ImNvbnRhaW5zIjtzOjExOiJoZWFkZXJtYXRjaCI7czoyMjoibmFvc2VpQHlhaG9vZ3JvdXBzLmNvbSI7fX1zOjQ6InR5cGUiO3M6MToiMSI7czo5OiJjb25kaXRpb24iO3M6MzoiYW5kIjtzOjY6ImFjdGlvbiI7czoxOiIyIjt9END_SIEVE_RULE
allof (header :contains "From" "[EMAIL PROTECTED]",
header :contains "To" "[EMAIL PROTECTED]")
{
discard;
}
if
#START_SIEVE_RULEYTo0OntzOjQ6ImNvbmQiO2E6MTp7aTowO2E6NDp7czo0OiJ0eXBlIjtzOjY6ImhlYWRlciI7czo2OiJoZWFkZXIiO3M6NzoiU3ViamVjdCI7czo5OiJtYXRjaHR5cGUiO3M6ODoiY29udGFpbnMiO3M6MTE6ImhlYWRlcm1hdGNoIjtzOjE0OiIqKioqKlNQQU0qKioqKiI7fX1zOjQ6InR5cGUiO3M6MToiMSI7czo5OiJjb25kaXRpb24iO3M6MzoiYW5kIjtzOjY6ImFjdGlvbiI7czoxOiIyIjt9END_SIEVE_RULE
header :contains "Subject" "*****SPAM*****"
{
discard;
}



Your Sieve script [phpscript] failed to parse correctly. Messages will
be delivered to your INBOX for now. The error message is: unsupported
feature: vacation regex


====================================================================== 

---------------------------------------------------------------------- 
 aaron - 10-Nov-06 23:56  
---------------------------------------------------------------------- 
Works for me with libSieve 2.2.1 and DBMail 2.2.0rc2. 

---------------------------------------------------------------------- 
 jasb - 10-Nov-06 23:59  
---------------------------------------------------------------------- 
Well i updated to last svn (2.2.0 rc2 i supose) today, this report had 2/3
days, i'm going to see in the next days is something happen and i'll let
you know.

But tell me, the error message i sent you, is generated from who, dbmail
right? 

---------------------------------------------------------------------- 
 jasb - 11-Nov-06 00:01  
---------------------------------------------------------------------- 
Just confirming you.
Right now, svn 2366 and libsieve 2.2.1 

---------------------------------------------------------------------- 
 aaron - 11-Nov-06 03:56  
---------------------------------------------------------------------- 
Oh, you know what, did you turn off vacation support in dbmail.conf? Make
sure you have a line that says:

[DELIVERY]
SIEVE_VACATION=Yes

Otherwise Vacation support will not be enabled. Now, the script you have
posted does not use Vacation, but does use Regex. Regex is always enabled
in libSieve. So I am not sure what's going on here. Make sure that you
have the latest libSieve and no older versions hanging around. 

---------------------------------------------------------------------- 
 jasb - 11-Nov-06 12:50  
---------------------------------------------------------------------- 
I've thinked in that, but i don't use no vacation script i've confirmed it,
strange, i'm confused about it.
I compiled libsieve with the default path's, that goes into /usr/local/lib
and then just moved the files to /usr/local/lib/dbmail, i supose i'm doing
it correct
Could it be some spam email mailformed that can be causing this when
dbmail processes the sieve script against the mailformed email? 

---------------------------------------------------------------------- 
 paul - 11-Nov-06 17:53  
---------------------------------------------------------------------- 
Jorge, that's just silly. The libsieve files do *not* belong in
/usr/local/lib/dbmail. Only libdbmail and the dbmail modules (like
libsortsieve.so) belong there. 

---------------------------------------------------------------------- 
 jasb - 12-Nov-06 11:29  
---------------------------------------------------------------------- 
Hum, but if i compile libsieve with the default and let the lib files in
/usr/local/lib dbmail complains that cannot find them, that's why i moved
them to there.

I'm i doing right this or can it be something else? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-Nov-06 23:24 jasb           New Issue                                    
10-Nov-06 23:56 aaron          Note Added: 0001584                          
10-Nov-06 23:59 jasb           Note Added: 0001585                          
11-Nov-06 00:01 jasb           Note Added: 0001586                          
11-Nov-06 03:56 aaron          Note Added: 0001587                          
11-Nov-06 12:50 jasb           Note Added: 0001588                          
11-Nov-06 17:53 paul           Note Added: 0001589                          
12-Nov-06 11:29 jasb           Note Added: 0001590                          
======================================================================

Reply via email to