[imapfilter-devel] Re: can't solve "table expected, got nil"
David DeSimone
fox at verio.net
Wed Aug 18 19:17:13 EEST 2004
Joel CARNAT <joel at carnat.net> wrote:
>
> I never tried body search :p yet... I only did from&subject. They
> seem to work well...
The From, Subject, and other header-based searches all seem to operate
correctly no matter what input is given. It is only the Body search
that seems to fail. I believe someone else on this list made that same
observation a few months ago.
Unfortunately I don't know the name or version of my company's IMAP
server, so I am not able to track down the problem.
> The only boring thing in the lack of easy regexp use.
This is actually a deficiency of the IMAP protocol, which only specifies
substring matches as a possibility when searching. Imapfilter merely
asks the IMAP server to search through the mails. Any other operation
would be a lot more expensive, requiring imapfilter to download the
headers or message bodies... and in fact, you can do just that if you
really want to use regexp, but keep in mind that it will be slow.
But if your mail messages are short and you are on a LAN and your IMAP
server is not overloaded with other users, it may be just fine.. :)
> Instead of "VIRUS.*FROM" I have to have "{ invert = true, 'from
> "postmaster"', 'subject "VIRUS"', 'subject "FROM"' },".
Doesn't this also match a subject of "FROM VIRUS"? Heh...
> I was only used to using procmail, but imapfilter is ver flexible.
Yep, it took me a while to get used to it, but I now pronounce it Good
Software. Thanks go to Lefteris for writing it. :)
--
David DeSimone || Network Admin || fox at verio.net
"It took me fifteen years to discover that I had no
talent for writing, but I couldn't give it up because
by that time I was too famous. -- Robert Benchley
More information about the Imapfilter-devel
mailing list