[horde] Ingo fileinto not working

Simon Wilson simon at simonandkate.net
Sun Apr 5 10:31:25 UTC 2009


I am having a problem with Ingo.

It is backing onto Cyrus / Sieve. If I set rules to flag for followup,  
it works fine, so Sieve is working.

But if I tell it to move them to a different folder, it doesn't work.

My Email structure in cyrus is as follows:

user.simon (\HasChildren)
user.simon.Deleted Items (\HasNoChildren)
user.simon.Drafts (\HasNoChildren)
user.simon.Saved Emails (\HasNoChildren)
user.simon.Sent Items (\HasNoChildren)
user.simon.Spam (\HasNoChildren)

An example of a rule that doesn't work (from the script) is:

12: # Emails from work
13: if address :all :comparator "i;ascii-casemap" :contains "From"  
"me at work"  {
14:     addflag "\\Flagged";
15:     fileinto "INBOX.Saved Emails";
16:     removeflag "\\Flagged";
17:     stop;
18: }

It flags it, but leaves it in Inbox. Also emails that meet the Spam  
threshold of 5 are left in Inbox, not moved to Spam, despite the  
script reading:

12: # Spam Filter
13: if header :comparator "i;ascii-casemap" :contains "X-Spam-Level"  
"*****"  {
14:     fileinto "INBOX.Spam";
15:     stop;
16: }

I have another system (a ClarkConnect server) that uses a Cyrus setup,  
and on that one the script reads INBOX/Spam, etc, not INBOX.Spam.

Is that the issue, and if so, how do I set the system to use a /  
instead of a .?

My backends.php contains the following definition:

$backends['sieve'] = array(
     'driver' => 'timsieved',
     'preferred' => '',
     'hordeauth' => true,
     'params' => array(
         'hostspec' => 'localhost',
         'logintype' => 'PLAIN',
         'usetls' => false,
         'port' => 2000,
         'scriptname' => 'ingo',
      ),
     'script' => 'sieve',
     'scriptparams' => array(),
     'shares' => false
);

Can anyone help?


Regards

Simon Wilson.


More information about the horde mailing list