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" "nag...@netcon.potsdam.edu"
> {
> 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

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

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to