Robert Susmilch | 13 Dec 18:15 2014

Re: ingo Digest, Vol 957, Issue 1

Because it creates this, for example:

# Family Regex
if address :all :comparator "i;ascii-casemap" :regex "From" "Susmilch"  {
     fileinto "Family";

I have also tried "From" "*.Susmilch" like the ISPConfig version, 
neither works.

I have tried a custom header test, but as soon as I type in From in the 
custom field it converts to a From test in the web GUI.  If I copy and 
paste the ISPConfig regex it works perfectly.

I admit to not being a regex expert, but my Googling has shown that a 
simple "Susmilch" should find it anywhere in a string, AFAIK.

On 12/13/2014 06:00 AM, ingo-request@... wrote:
> Zitat von Jan Schneider <jan@...>:
>> >Zitat von Robert Susmilch<robert@...>:
>> >
>>> >>Hello,
>>> >>
>>> >>I've been pulling my hair out trying to figure this out.  I want to
>>> >>generate a dovecot sieve filter based on the plain text From name.
>>> >>
>>> >>For example, if I create a rule to match "From contains Doe" in
>>> >>ingo filter web page in horde I expect it to filter out any From
>>> >>header that contains a last name "Doe" in it.
(Continue reading)

Mihai Rapciuc | 12 Dec 13:18 2014

Ingo API docs

Is there are documentation about how to use Ingo API in php ? I'm talking 
about example code and a list of all applicable mail(IMAP) filters.

Robert Susmilch | 12 Dec 01:29 2014

Generating Full From Header Sieve Script


I've been pulling my hair out trying to figure this out.  I want to 
generate a dovecot sieve filter based on the plain text From name.

For example, if I create a rule to match "From contains Doe" in ingo 
filter web page in horde I expect it to filter out any From header that 
contains a last name "Doe" in it.

This does not work, it only matches the email address, not the plain 
text name.  So a From header like "From: John Doe <john1966@...>" 
will filter on the search "John" but not "Doe" since "Doe" appears only 
in the plain text name and not the actual email address.

Ingo generates something like this

if address :all :comparator "i;ascii-casemap" :contains "From" "Doe"  {
     fileinto "JohnDoe";

If I create a filter from ISPConfig I get

if header :regex    ["from"] [".*Doe"] {
     fileinto "JohnDoe";

If I replace the "address :all" with "header" like this it works as 
expected from any address

(Continue reading)

Daniel Vollbrecht | 6 Dec 18:39 2014

Better Ingo default rules

Hi all,

so far I used to customize the Ingo standard rules with 
$_prefs['rules']. In the current version, I couldn't succeed in doing so 
yet. Maybe somewhere it is documented what exactly the string like 
"i:1;a:3" means...? The current version seems to ignore my previously 
working string.

Moreover, I noticed that the default rule order of a fresh installation 
doesn't make much sense:

whitelist, blacklist, vacation, forwarding, spam

In particular, spam should be handled no later than after the blacklist 
and at least before vacation and forwarding. Who wants to forward all 
the spam and reply to them with an absent note (concerning the keyword 

So first all spam related rules (white-/blacklist, spam) and then ham 
related rules (vacation, forwarding).

Is there any deeper sense for that or would my proposal to ship ingo 
with improved defaults be worth to be considered?

How can I adjust these rules to my desired order? 95% of my mail users 
don't know about those things and thus don't touch anything except 
setting spam filtering active. Therefore, I would be happy to have 
meaningful out of the box settings.

Best, Daniel
(Continue reading)

Luciano Rodrigo Ferretto | 30 Sep 23:41 2014

Enabling spam rule by default

Hi I need to enable spam rule by default.

I tried changing:
s: 7: "enable" b: 1; to s: 7: "enable" b: 0; after
Ingo_Storage :: ACTION_SPAM part in $ _prefs ['rules'] ['value'] but  
it did not work.

What would be the procedure so that when a new user connects by  
default will have enabled the Spam Filter with level 5 and moving  
messages to spam folder?


Luciano Rodrigo Ferretto
Analista de Tecnologia da Informação
IFSUL - Instituto Federal de Educação, Ciência e Tecnologia Sul-Rio-Grandense
Campus Passo Fundo

This message was sent using IMP, the Internet Messaging Program.


ingo mailing list
Frequently Asked Questions:
To unsubscribe, mail: ingo-unsubscribe@...

Hanns Mattes | 30 Sep 17:29 2014



I can't upload scipts anymore with usetls. horde reports:

2014-09-30T15:22:54+00:00 WARN: HORDE [ingo] PHP ERROR:  
stream_socket_enable_crypto(): Peer certificate CN=`*' did  
not match expected CN=`' [pid 3588 on line 1221 of  

Version of Net_Sieve is 1.3.3

Any help appreciated


Andrew Watkins | 16 Sep 13:10 2014

Forward is active for new users


I have just noticed that a new user login into webmail (Groupware 5.2.2) 
for the first time sees "Forward active" and "Vacation inactive".

Forward should be inactive for first time users, so not sure how to set 
it to inactive. I did try to see how "Vacation inactive" has been set so 
that I can copy it but had no luck.

Any pointers?




Andrew Watkins * Birkbeck, University of London * Computer Science *
* UKOUG Solaris SIG Co-Chair *

Brett Charbeneau | 8 Sep 19:14 2014

Sieve filter for duplicate emails from mailing lists?

       Seeing as Ingo is a front end for more than one filtering  
languages it can't be all things to all people. That being said, has  
anyone figured out how to make Ingo using Sieve delete/move the double  
copies of identical messages users posting to mailing lists frequently  
       I see some possibly useful examples at

       but I can't figure out how I could possibly use these scripts  
even with command line access to the server.
       I'm presently using Ingo 3.1.3 with the prefs backend.
Brett Charbeneau
Network Administrator
Williamsburg Regional Library
7770 Croaker Road
Williamsburg, VA 23188-7064
(757)259-4079 (fax)    brett@...


Brett Charbeneau
Network Administrator
Williamsburg Regional Library
7770 Croaker Road
(Continue reading)

Jan Schneider | 5 Sep 16:10 2014

Ingo H5 (3.2.1) (final)

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

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

For upgrading instructions, please see

For detailed installation and configuration instructions, please see

The major changes compared to Ingo version H5 (3.2.0) are:
     * Small bugfixes and improvements.

The full list of changes can be viewed here:

Have fun!

The Horde Team.
Ivan Sergio Borgonovo | 28 Aug 03:20 2014

RFC: how to support custom sieve filters

I'd like to be able to write my custom sieve filters through a web
interface and as well offer a GUI for less knowledgeable users.

I'm not sure I could find the time to actually propose a patch and even
before thinking about coding I'd like to have some feedback.

While trying to understand how ingo works I ran into something that may
be considered a bug.

Ingo just read DB status ignoring what's the current managesieve status.

So it may happen you disabled ingo filter from another program and
without explicitly enabling it from the ingo interface, but just editing
rules order you may accidentally enable again ingo filter and
consequently disable your custom filter.

And there is no way to revert this change if you just have web access to

That aside it would be nice to have a way to be able to write custom
filters from ingo web interface without renouncing to its GUI and to be
able to enable/disable various script available on the server.

Considering the current structure of the code and the DB it would
require a large refactoring to actually be able to store more than one
sieve filter in the DB.

A possible solution could be to surround ingo generated script with some
kind of delimiter and leave the rest of the script untouched.

(Continue reading)

Staff Forwarding | 25 Aug 17:19 2014

Re: Ingo&Maildrop

On 22/08/2014 10:10, Jan Schneider wrote:
> Zitat von Staff Forwarding <staff@...>:
>> On 19/08/2014 11:51, Ralf Lang wrote:
>>> On 19.08.2014 12:49, Staff Forwarding wrote:
>>>> Ii have a functioning Horde system with a Postfix/Courier mail server.
>>>> I've only just got around to adding Maildrop filtering on the server
>>>> side & now wish to link Ingo to Maildrop.
>>>> I've put the (what I believe to be) correct values into the 
>>>> backends.php
>>>> & as I have virtual users created a new horde ftp user & added its
>>>> details to hook.php
>>>> I can add and edit rules through Horde, but nothing is added to my
>>>> mailfilter file. It could be permissions (of course) but I can't even
>>>> see that the Maildrop .php is being invoked.
>>>> So, (a) any obvious pointers and (b) is there any way to trace the
>>>> activity which occurs when I click save so that I can track down what
>>>> I've done wrong?
>>>> /Chris
>>> You generally do not edit backends.php
>> I only changed the disabled to false & uncommented the lines for 
>> maildrop
> But did you disable the default backend too? No matter what, you 
> should still not touch backends.php.
(Continue reading)