[imapfilter-devel] Re: can't solve "table expected, got nil"
Joel CARNAT
joel at carnat.net
Wed Aug 18 20:00:29 EEST 2004
David DeSimone wrote:
> Joel CARNAT <joel at carnat.net> wrote:
>
>>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.. :)
>
I see... Anyway, I think I'll be able to go on without regexp.
>
>>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...
>
heh... possible... but I am postmaster and will take care not to send me
messages subjected "from virus" ;)
the first idea is because of two amavisd version.
one sending alerts like "virus found from email_address" and the other
something like "found virus (virusName) from IPServer" ;)
>
>>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. :)
>
yes, 3 hurra for him :p
More information about the Imapfilter-devel
mailing list