[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IMAP and Sieve



Maurits van Rees wrote:

>On Tue, Nov 15, 2005 at 07:38:26PM +0000, Caleb Walker wrote:
>  
>
>>I have this script:
>>
>>header :contains "List-Id" "debian-user.lists.debian.org"
>>{
>>fileinto "INBOX.Storage.Debian-User";
>>stop;
>>}
>>
>>which does not work.
>>    
>>
>
>Maybe you just pasted it incorrectly, but you would need to put 'if '
>in front of the first line.  Otherwise it looks correct, but I am no
>expert.
>
>And you may need to have the following line at the start of your file.
>At least it doesn't hurt to have it:
>
>require "fileinto";
>
>  
>
As far as what I have seen thus far is that using cyrdeliver out of
procmail does not matter and sieve should still work.  Is that right? 
If that is so, what is the "-l" for when using cyrdeliver?  If I use
that my mail stops getting delivered.  I see in my procmail log that
cyrdeliver -l -a <user> -m user.<user> is being executed but mail is not
put in the proper mailbox and seems to just disappear.  What am I
missing here?

BTW this is my sieve recipe:
# This script has been automatically generated by avelsieve
# (Sieve Mail Filters Plugin for Squirrelmail)
#AVELSIEVE_VERSIONYTo0OntzOjU6Im1ham9yIjtpOjE7czo1OiJtaW5vciI7aTo5O3M6NzoicmVsZWFzZSI7aTozO3M6Njoic3RyaW5nIjtzOjU6IjEuOS4zIjt9
#AVELSIEVE_CREATED1132077764
#AVELSIEVE_MODIFIED1132134157
require
["fileinto","reject","vacation","imapflags","relational","comparator-i;ascii-numeric","regex","notify"];
if
#START_SIEVE_RULEYTo3OntzOjY6ImhlYWRlciI7YToxOntpOjA7czo2OiJ0b29yY2MiO31zOjk6Im1hdGNodHlwZSI7YToxOntpOjA7czo4OiJjb250YWlucyI7fXM6MTE6ImhlYWRlcm1hdGNoIjthOjE6e2k6MDtzOjEwOiJkZWJpYW4ub3JnIjt9czo0OiJ0eXBlIjtzOjE6IjIiO3M6NjoiYWN0aW9uIjtzOjE6IjUiO3M6NjoiZm9sZGVyIjtzOjI1OiJJTkJPWC5TdG9yYWdlLkRlYmlhbi1Vc2VyIjtzOjQ6InN0b3AiO3M6Mjoib24iO30%3DEND_SIEVE_RULE
header :contains ["to", "cc"] "debian.org"
{
fileinto "INBOX.Storage.Debian-User";
stop;
}
if
#START_SIEVE_RULEYTo3OntzOjY6ImhlYWRlciI7YToxOntpOjA7czo2OiJ0b29yY2MiO31zOjk6Im1hdGNodHlwZSI7YToxOntpOjA7czo4OiJjb250YWlucyI7fXM6MTE6ImhlYWRlcm1hdGNoIjthOjE6e2k6MDtzOjIwOiJsaXN0cy5hbmRyZXcuY211LmVkdSI7fXM6NDoidHlwZSI7czoxOiIyIjtzOjY6ImFjdGlvbiI7czoxOiI1IjtzOjY6ImZvbGRlciI7czoxOToiSU5CT1guU3RvcmFnZS5DeXJ1cyI7czo0OiJzdG9wIjtzOjI6Im9uIjt9END_SIEVE_RULE
header :contains ["to", "cc"] "lists.andrew.cmu.edu"
{
fileinto "INBOX.Storage.Cyrus";
stop;
}
if
#START_SIEVE_RULEYToyOntzOjQ6InR5cGUiO3M6MToiNCI7czo2OiJhY3Rpb24iO3M6MToiMSI7fQ%3D%3DEND_SIEVE_RULE
true {
keep;
}



Reply to: