Maidag can use global or per-user mail filters to decide whether to deliver the message, and where to deliver it. As of Mailutils version 2.99.97, such mail filters may be written in the following languages:
Mail filters to use are specified using ‘script’ configuration statement. The following meta-symbols can be used in its argument:
By default, a filename extension decide which scripting language will be used. User can alter the choice using ‘language’ configuration statement. For example:
language "python" script "~/.maidag-py-filter"