Custom hooks - feasible or not

Miha Valencic miha.valencic at gmail.com
Tue Oct 30 14:40:50 CET 2012


I've since added direct syslog logging as well and noticed that do_log
is working fine, if I use priority 0 (otherwise no syslog output --
probably a configuration setting somewhere).

The remaining question is whether it makes sense to
"transform-and-forward" inside amavis via custom hooks (feels like
misuse) or write a postfix content filter instead.

Regards,
 Miha.

On Tue, Oct 30, 2012 at 2:15 PM, Miha Valencic <miha.valencic at gmail.com> wrote:
> The problem I have at the moment is that I don't know whether the
> custom hooks are being executed or not, since nothing shows up in
> syslog (I'm doing do_log(0, "CUSTOM: foobar") to test it).


More information about the amavis-users mailing list