amavisd-new-2.4.x and later support OS fingerprint detection with the p0f utility, but this requires the program p0f-analyzer.pl that comes with amavisd-new. This file is not installed by the ebuild.
This file is installed by 2.4.2-r1 ebuild I just committed. Thanks for the suggestion!