[ingo] newbie needin help with sieve server/ingo config.

Jan Schneider jan at horde.org
Mon Oct 26 14:09:36 UTC 2009


Zitat von Jason Welsh <jason at monsterjam.org>:

>
>
> Jan Schneider wrote:
>> Zitat von Jason Welsh <jason at monsterjam.org>:
>>
>>>
>>>
>>>>>>
>>>>>> In ingo/lib/Driver/timsieved.php, around line 74, change the "false"
>>>>>> below "Ingo::getUser(false)" to "true". Then try again and post the
>>>>>> output here. Be careful, the output will contain the password.
>>>>>>
>>>>>> Jan.
>>>>>>
>>>>> ok, I tried that and got the same thing.. I didnt see any extra
>>>>> output..
>>>>> where was I supposed to see it?
>>>>>
>>>>> Changes saved.
>>>>> There was an error activating the script. The driver said: Not
>>>>> currently
>>>>> in TRANSACTION state
>>>>>
>>>>>
>>>>> heres the change I made:
>>>>>      68         $this->_sieve = &new Net_Sieve($auth,
>>>>>      69
>>>>> $this->_params['password'],
>>>>>      70
>>>>> $this->_params['hostspec'],
>>>>>      71                                        $this->_params['port'],
>>>>>      72
>>>>> $this->_params['logintype'],
>>>>>      73                                        Ingo::getUser(true),
>>>>>      74                                        false,
>>>>>      75                                        false,
>>>>>      76
>>>>> $this->_params['usetls']);
>>>>
>>>> *Below* Ingo::getUser()...
>>>>
>>>> Jan.
>>>>
>>>
>>> I tried using
>>>         $this->_sieve = &new Net_Sieve($auth,
>>>                                        $this->_params['password'],
>>>                                        $this->_params['hostspec'],
>>>                                        $this->_params['port'],
>>>                                        $this->_params['logintype'],
>>>                                        Ingo::getUser(false),
>>>                                        true,
>>>                                        false,
>>>                                        $this->_params['usetls']);
>>>
>>> and
>>>         $this->_sieve = &new Net_Sieve($auth,
>>>                                        $this->_params['password'],
>>>                                        $this->_params['hostspec'],
>>>                                        $this->_params['port'],
>>>                                        $this->_params['logintype'],
>>>                                        Ingo::getUser(false),
>>>                                        true,
>>>                                        true,
>>>                                        $this->_params['usetls']);
>>>
>>>
>>> and neither one seemed to get me any more output.
>>> web page just says "changes saved" and "There was an error activating
>>> the script. The driver said: Not currently in TRANSACTION state"
>>
>> There *has* to be some output. Try clicking on "Script" and then
>> showing the currently active script. Maybe your browser gets
>> redirected before it has a chance to show the output.
>>
>> Jan.
>>
> hrm, when I click on script, I see
>
>   1: # Sieve Filter
>   2: # Generated by Ingo (http://www.horde.org/ingo/) (10/26/2009,  
> 09:59:19 AM)
>   3:
>   4: # test
>   5: if header :comparator "i;ascii-casemap" :contains "Sender" "fred"  {
>   6:     discard;
>   7:     stop;
>   8: }
>   9:

Are you sure you are editing the correct file?

> btw, which of the above 2 entries is right (below the
> Ingo::getUser(false))  for showing the extra debugging?

         $this->_sieve = &new Net_Sieve($auth,
                                        $this->_params['password'],
                                        $this->_params['hostspec'],
                                        $this->_params['port'],
                                        $this->_params['logintype'],
                                        Ingo::getUser(false),
                                        true,
                                        false,
                                        $this->_params['usetls']);


Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the ingo mailing list