[ingo] Re: Ingo Filters

Michael M Slusarz slusarz at bigworm.colorado.edu
Mon Jul 7 22:37:54 PDT 2003


Quoting Rodolfo <segleaur at mechanus.org>:

| Michael M Slusarz said something about Re: [ingo] Re: Ingo Filters on
|  Mon, 07 Jul 2003 :
|
|  |
|  | This is completely inaccurate, at least for the imap driver (you never
|  | mentioned which driver you were using, but your previous message
| indicated
|  | you were using the 'imap' driver).  My whitelist is empty and active,
| and i
|  | filter mail just fine.  There was a problem a while back that if your
|  | whitelist input was empty, it would save a blank email to the
| whitelist, so
|  | this may be causing your problems.  Solution: clear out your ingo
| 'rules'
|  | preference.
|  |
|
| whoa, michael - easy; i'm just stating what worked for me. if this isn't
| the
| intention of the application - i have no way of knowing.
| i deleted all ingo related records from the table before i re-downloaded
| the cvs
| tree two days ago, but maybe it's just a freak on my machine.
| i am using the imap driver with imap-2000c as the actual daemon. all i
| know is
| that even with the updated cvs and recreating the ingo rules, if my
| whitelist
| is empty - it won't work.

Rodolfo - I was not trying to belittle you in any way at all.  My apologies
if my message came off that way.  But I was trying to make abundantly clear
that the imap code does nothing like what you said it does - it most
certainly will do filtering if a *@*.* rule doesn't exist.

In fact - that may be the heart of your problem.  The imap filter does not
handle any kind of regular expression/glob matching at all, so what's
probably really happening on your end is that *NO* messages are being
matched by the '*@*.*' query.  Thus, no messages are whitelisted, and all
further rules can be applied to all messages in the INBOX.

So, what appears to be the problem, is that all potential messages that
could be filtered are being matched when the whitelist is completely empty.
 Simply put, that shouldn't happen because the whitelist search will not
even take place if the whitelist is, indeed, truly empty (see line 157 of
lib/Script/imap.php).  This would be a good place to enter some debugging
variables (e.g. making sure that the value of $addr is indeed truly empty).

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The Universiy of Colorado at Boulder


More information about the ingo mailing list