Adam Tauno Williams | 15 Apr 14:30 2014

Ingo Fails In Script.php <at> 116:createAll

I am attempting to update a Horde instance that uses Ingo with a SIEVE
backend.  The filters application runs - but there are no filters
displayed and no "New Rule" button.

In the logs I see:

2014-04-15T08:25:54-04:00 WARN: HORDE [ingo] PHP ERROR: array_keys()
expects parameter 1 to be array, string given [pid 5795 on line 116 of
"/srv/www/vhosts/horde/ingo/lib/Factory/Script.php"]
2014-04-15T08:25:54-04:00 WARN: HORDE [ingo] PHP ERROR: Invalid argument
supplied for foreach() [pid 5795 on line 116 of
"/srv/www/vhosts/horde/ingo/lib/Factory/Script.php"]

 - which is -

    /**
     * Returns all Ingo_Script instances.
     *
     *  <at> return array  All Ingo_Script instances.
     *  <at> throws Ingo_Exception
     */
    public function createAll()
    {
        $scripts = $GLOBALS['session']
            ->get('ingo', 'backend/script', Horde_Session::TYPE_ARRAY);
        $instances = array();
        foreach (array_keys($scripts) as $rule) {
            $instances[$rule] = $this->create($rule);
        }
        return $instances;
(Continue reading)

Jan Schneider | 10 Mar 13:20 2014

Ingo H5 (3.1.4) (final)

The Horde Team is pleased to announce the final release of the Ingo Email
Filter Rules Manager version H5 (3.1.4).

Ingo is an email-filter management application. It is fully internationalized,
integrated with Horde and the IMP Webmail client, and supports both  
server-side
(Sieve, Procmail, Maildrop) and client-side (IMAP) message filtering. For more
information on Ingo, visit http://www.horde.org/apps/ingo.

For upgrading instructions, please see
http://www.horde.org/apps/ingo/docs/UPGRADING

For detailed installation and configuration instructions, please see
http://www.horde.org/apps/ingo/docs/INSTALL

The major changes compared to Ingo version H5 (3.1.3) are:
     * Updated Danish translation.
     * Small bugfixes and improvements.

The full list of changes can be viewed here:

https://github.com/horde/horde/blob/58da5313037faa2c3ae30c52d5e620bb81cb09c7/ingo/docs/CHANGES

Have fun!

The Horde Team.
Kein Name | 21 Feb 09:10 2014
Picon

Vacation Text above original message

Hello List,

I am wondering if and how it is possible to get the "vacation" filter
send its message _above_ the original text. Per default it seems to post
the vacation text below the original text.
Messing with the webmail settings does not change that, obviously.

I appreciate any help or hints!
Thanks a lot

Stefan König
--

-- 
ingo mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: ingo-unsubscribe@...

woj woj | 18 Feb 14:20 2014
Picon

Multiple vacation_unset

Hello.
could anybody knows how to make two queries for vacation_unset script in
ingo?
In mysql php driver works semicolon ; like this
'vacation_unset' => 'UPDATE vacation SET active = 0 WHERE email = %u ;
 DELETE from vacation_notification WHERE on_vacation = %u',
But when I change php driver to mysqli a got syntax error.
Matti Rantakömi | 9 Feb 22:30 2014
Picon

Default Spam filter rule doesn't work with Sieve

Hello,

I'm using Horde Groupware Webmail Edition 5.1.3 (Ingo 3.1.3). There is 
default rule "Spam filter" with options:

Spam Level: (Messages with a likely spam score greater than or equal to 
this number will be treated as spam.)

Folder to receive spam:	

This is okay. The problem is that when I try to use "Save and enable" 
Ingo gives error message:

Script not updated: There was an error activating the script. The driver 
said: ingo: line 10: error: unknown test 'No' (only reported once at 
first occurence). ingo: error: validation failed.

So it seems that Ingo tries to write unproper Sieve lines for that spam 
filter rule and thus it cannot be validated.

The sieve formatted default spam filter rule saved by Ingo is the following:

  9: # Spam Filter
     10: if No strings specified {
     11:     fileinto "Spam";
     12:     stop;
     13: }

As the error message says the problem is in line 10. As you can see 
there is "No strings specified" so the rule cannot work. I suppose that 
(Continue reading)

Marc Fournier | 8 Feb 08:11 2014

Ingo with Cyrus Sieve ... Authentication Fails


I’ve been running Horde since forever now, and right now am running 5.1.5 / Webmail … it was just
reported to me that with this new version, clients can no longer authenticate to the sieve server …

on the Sieve side, nothing in our configuration has changed in years now … IMP connects find to the IMAP
server, and if I go to the command line and use sieveshell, I can login and upload / activate sieve scripts
… everything authenticating perfectly … but, if I go in via webmail, I get what looks to be mostly
perfect communications, but then it fails:

===
Feb  8 03:03:53 hub sieve[45683]: SQL backend defaulting to engine 'sqlite'
Feb  8 03:03:53 hub sieve[45683]: executed
Feb  8 03:03:53 hub sieve[45683]: sql auxprop plugin using sqlite engine
Feb  8 03:03:53 hub sieve[45683]: accepted connection
Feb  8 03:03:54 hub sieve[45683]: sql plugin Parse the username scrappy@...
Feb  8 03:03:54 hub sieve[45683]: sql plugin try and connect to a host
Feb  8 03:03:54 hub sieve[45683]: sql plugin trying to open db '/var/db/sqlite/mailsys' on host ''
Feb  8 03:03:54 hub sieve[45683]: begin transaction
Feb  8 03:03:54 hub sieve[45683]: sql plugin create statement from userPassword scrappy hub.org
Feb  8 03:03:54 hub sieve[45683]: sql plugin doing query SELECT userPassword FROM sasl_auth WHERE userid = 'scrappy@...';
Feb  8 03:03:54 hub sieve[45683]: commit transaction
Feb  8 03:03:54 hub sieve[45683]: sql plugin Parse the username scrappy@...
Feb  8 03:03:54 hub sieve[45683]: sql plugin try and connect to a host
Feb  8 03:03:54 hub sieve[45683]: sql plugin trying to open db '/var/db/sqlite/mailsys' on host ''
Feb  8 03:03:54 hub sieve[45683]: begin transaction
Feb  8 03:03:54 hub sieve[45683]: sql plugin create statement from userPassword scrappy hub.org
Feb  8 03:03:54 hub sieve[45683]: sql plugin doing query SELECT userPassword FROM sasl_auth WHERE userid = 'scrappy@...';
Feb  8 03:03:54 hub sieve[45683]: sql plugin create statement from cmusaslsecretPLAIN scrappy hub.org
Feb  8 03:03:54 hub sieve[45683]: sql plugin doing query SELECT cmusaslsecretPLAIN FROM sasl_auth WHERE
userid = 'scrappy@...';
(Continue reading)

woj woj | 7 Feb 14:20 2014
Picon

Vacations problem

Hello,
I got problem with vacations with sql backend (different host) in (ingo)
3.1.3.
I dont see vacation option in filters menu.

Here is my backend.local.php

$backends['customsql']['disabled']='false';
$backends['customsql']['preferred']='server_domain';
$backends['customsql']['transport']['Ingo::RULE_ALL']['driver']='sql';
$backends['customsql']['transport']['Ingo::RULE_ALL']['params']['sql']['username']
= 'user';
$backends['customsql']['transport']['Ingo::RULE_ALL']['params']['sql']['password']
= 'pass';
$backends['customsql']['transport']['Ingo::RULE_ALL']['params']['sql']['hostspec']
= 'ip';
$backends['customsql']['transport']['Ingo::RULE_ALL']['params']['sql']['port']
= '3306';
$backends['customsql']['transport']['Ingo::RULE_ALL']['params']['sql']['protocol']
= 'tcp';
$backends['customsql']['transport']['Ingo::RULE_ALL']['params']['sql']['database']
= 'postfix';
$backends['customsql']['transport']['Ingo::RULE_ALL']['params']['sql']['charset']
= 'utf-8';
$backends['customsql']['transport']['Ingo::RULE_ALL']['params']['sql']['ssl']
= 'false';
$backends['customsql']['transport']['Ingo::RULE_ALL']['params']['sql']['splitread']
= 'false';
$backends['customsql']['transport']['Ingo::RULE_ALL']['params']['sql']['phptype']
= 'mysql';
(Continue reading)

Pro Green European | 24 Jan 21:18 2014
Picon

How do I tell Ingo to inherit parameters from IMP?

Hi.

I'd like to know if it is possible for Ingo to inherit the hostspec parameter from IMP somehow, and based upon
which hostspec parameter is set, assign either mbox or maildir to path_style.

This is my backends.local.php file from Ingo:

$backends['procmail'] = array(
    'disabled' => false,
    'transport' => array(
        Ingo::RULE_ALL => array(
            'driver' => 'vfs',
            'params' => array(
                'hostspec' => 'host.local.tld',
                'filename' => '.procmailrc',
                'vfs_path' => '/',
                'vfstype' => 'ftp',
                'port' => 21,
            )
        ),
    ),
    'script' => array(
        Ingo::RULE_ALL => array(
            'driver' => 'procmail',
            'params' => array(
                'path_style' => 'mbox',
                'variables' => array(
                    'SHELL' => '/bin/sh',
                ),
            ),
(Continue reading)

Hans Dingemans | 3 Dec 12:26 2013
Picon

Ingo with imap backend what is expected behaviour?

Hi all,

I am testing the use of Ingo, without any configuration I am using the default Imap backend (which is a
dovecot server).

When I create a new rule and I press "Apply Filter", all works as expected on existing emails. However, the
filters do not seem to be applied when a new mail arrives.

Is this expected behaviour or is handling of incoming email only supported by other backends (like
dovecot-sieve or dovecot-managesieved)? 

Thanks!
 		 	   		  
Oscar del Rio | 4 Nov 17:28 2013
Picon
Picon

Regex example in help.xml

(I posted this under another thread. Re-posting in new thread)

In ingo's help.xml file, the syntax in the "regex" example

<heading>Regex</heading>
     <para>Regex allows you to use complex POSIX compatible regular 
expressions
     to compare against message headers. Example: "Received from 
[*\.*\.*\.*] by
     (hosta|hostb).example.com*" would match "Received from 
[172.16.100.1] by
     hosta.example.com on Tuesday"</para>

should the regex be   \[.*\..*\..*\..*\]  ?

Claude Tompers | 4 Nov 09:33 2013
Picon

Typo in ingo's help.xml

Hello,

In line 171 of ingo help.xml, character is misspelled charater.

kind regards,
Claude

-- 
Claude Tompers
Ingénieur réseau et système
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et
de la Recherche 6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473
Hello,

In line 171 of ingo help.xml, character is misspelled charater.

kind regards,
Claude

--

-- 
Claude Tompers
Ingénieur réseau et système
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et
de la Recherche 6, rue Richard Coudenhove-Kalergi
(Continue reading)


Gmane