I've kept a big list of "extra" amavis packages installed for a while and I'm trying to clean them up. I noticed that the following modules are used directly by amavisd-new but not listed as dependencies: * virtual/perl-File-Temp * dev-perl/Net-SSLeay * dev-perl/IO-Socket-SSL For examples (in /usr/sbin/amavisd), $dname = File::Temp::tempdir($dirtemplate, DIR => $TEMPBASE); if (c('tls_security_level_in') || c('tls_security_level_out')) { push(@modules, qw(IO::Socket::SSL Net::SSLeay auto::Net::SSLeay::ssl_write_all auto::Net::SSLeay::ssl_read_until auto::Net::SSLeay::dump_peer_certificate)); IO::Socket::SSL->VERSION(1.05); # required minimal version The File::Temp thing has been there forever. I think Net::SSLeay was always used, too, but I wouldn't swear to it (I must've installed it for a reason?). The IO::Socket::SSL stuff may only apply to v2.11 where smtp{,d}_tls_client_options options were introduced.
Please also consider dev-perl/Image-Info, which appears to be used when the spamassassin ImageInfo plugin is enabled: push(@modules, qw(Image::Info Image::Info::GIF Image::Info::JPEG Image::Info::PNG Image::Info::BMP Image::Info::TIFF)) if $mod_names{'Mail::SpamAssassin::Plugin::ImageInfo'}; I suppose that could be USE-conditional on USE=spamassassin.
Fixed in mail-filter/amavisd-new-2.11.0-r3. Thanks for the report.