On Oct 16, 2007, at 5:28 AM, Mark Martinec wrote:

> Mark Edwards,
>> Is there a way I can construct a lookup that perhaps greps a file?
>> There are files that contain the information I need, but in
>> completely the wrong format.
>
> Greping for every lookup, or greping once at startup?
>
> If once on startup suffices, you can place some perl code
> into amavisd.conf to read through a file, extract information
> and construct an associative array, which amavisd can then
> use for lookups.
>
> If a more dynamic approch is needed, perhaps you can script
> updating of a small SQLite database, which amavisd can use
> for lookups.

All great suggestions.  Thanks everyone!  I'll work something up.

--
Mark Edwards



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to