[Mimedefang] filter on header From:

Dianne Skoll dfs at roaringpenguin.com
Tue May 9 09:46:25 EDT 2017


On Tue, 09 May 2017 10:51:08 +0200
Marcus Schopen <lists at localguru.de> wrote:

> Is there a way to load the key-value hash table file only at
> start/reread/reload of mimedefang and not read it on each incoming
> email in filter_end?

No, because the filter_recipient and filter_begin/filter_end functions
may not be called in the same process.

You can define a function called filter_initialize() that will get called
once when a new scanning process is started.

See the section MAINTAINING STATE in the mimedefang-filter(5) man page.

Regards,

Dianne.



More information about the MIMEDefang mailing list