General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] [DEV] SOGo Sieve Code


Chronological Thread 
  • From: Francis Lachapelle < >
  • To:
  • Subject: Re: [SOGo] [DEV] SOGo Sieve Code
  • Date: Thu, 1 Dec 2011 16:44:23 -0500


On 2011-12-01, at 11:15 AM, Ronald Yacketta wrote:

> Looks like I am missing the piece that takes a sieve file that looks like
>
> if header :contains "From"
> " "
> {
> fileinto "nagios";
> }
> elseif header :contains "List-Id" "Apcupsd Discussion List
> <apcupsd-users.lists.sourceforge.net>"
> {
> fileinto "apcupsd";
> }
>
> and converts into something SOGo likes "{"SOGoSieveFilters": [{"active":
> true, "actions": [{"method": "fileinto", "argument": "foo"}], "rules":
> [{"operator": "contains", "field": "subject", "value": "bar"}], "match":
> "any", "name": "foobar"}]}''

Indeed, that's the purpose of your script!

:)

Francis

--

:: +1.514.755.3640 :: http://www.inverse.ca
Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence
(http://packetfence.org)




Archive powered by MHonArc 2.6.18.

Top of page