Access @detecting_scanners from custom hook

Mark Martinec Mark.Martinec+amavis at
Wed Jan 27 18:18:34 CET 2016

Georg Lindner wrote:
> I'm trying to access @detecting_scanners from the custom hook "checks"
> without luck...
> I really have no plan how to do it, and can't find any example.
> Any perl gurgu out there who can tell me if this is possible?
> And if it is possible, how to achieve this...

It lives in a package 'Amavis', so if your custom hook switched
to another namespace (typically: package Amavis::Custom),
other namespaces need to be accessed explicitly, e.g.:


More information about the amavis-users mailing list