Re: installing spamass-milter
On 2022-10-22 at 03:46:24 UTC-0400 (Sat, 22 Oct 2022 07:46:24 +) Marc is rumored to have said: WTF is this??? I just need milter to send requests to an external container. That should be 1MB install not 315MB. MOST of that is build tools: GCC and its world of hurt, apparently 2 versions of binutils, llvm-libs just because you can't have too many build worlds, plus quite randomly the whole Perl documentation set and SELinux management tools. I'm sure you don't really need all of that at runtime. Talk to your packager. They can maybe explain the oddballs. The build tools are just build tools: if you build your own binaries, you need them. Anyone else having this on a different distribution? Probably. The spamass-milter software (which is NOT part OF SpamAssassin) requires a compiler and associated build tools. It has both build and runtime dependencies. Hilarity ensues... For SpamAssassin proper, if you want to build the spamc binary yourself you need a compiler. If you want a fully-functional installation of SA you need a deep tree of Perl modules, which opens up a potential hellscape of dependencies. SpamAssassin is not now and never has been designed to operate on severely constrained systems. If you want a smaller installation, you would need to build a customized package on a heftier system and just install the built artifacts. It would still include all those Perl modules, but there's no need to include a full build environment on a machine that is just running SA. -- Bill Cole b...@scconsult.com or billc...@apache.org (AKA @grumpybozo and many *@billmail.scconsult.com addresses) Not Currently Available For Hire
RE: installing spamass-milter
> > spamass-milter isn't part of the Spamassassin project and is > unmaintained by its upstream [https://github.com/andybalholm/spamass- > milter], so you may have limited support opportunities here. > > What you're seeing here is that the Fedora/EPEL "spamass-milter" package > has a strong dependency on the complete "spamassassin" package (and thus > all of its dependencies). The package maintainer presumably expects > that spamassassin is running in the same execution domain as your MTA, > rather than a separate container. > > You could rebuild the spamass-milter package from source, removing the > spamassassin dependency from the spec file, to avoid this. You can also > submit RFE's against this component via this Bugzilla: > https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW_status=ASSIGN > ED=Fedora=spamass- > milter=Fedora=Fedora%20EPEL Hi Jered, thanks, indeed I rebuild from source but had to add the spamc binary.
Re: installing spamass-milter
spamass-milter isn't part of the Spamassassin project and is unmaintained by its upstream [https://github.com/andybalholm/spamass-milter], so you may have limited support opportunities here. What you're seeing here is that the Fedora/EPEL "spamass-milter" package has a strong dependency on the complete "spamassassin" package (and thus all of its dependencies). The package maintainer presumably expects that spamassassin is running in the same execution domain as your MTA, rather than a separate container. You could rebuild the spamass-milter package from source, removing the spamassassin dependency from the spec file, to avoid this. You can also submit RFE's against this component via this Bugzilla: https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW_status=ASSIGNED=Fedora=spamass-milter=Fedora=Fedora%20EPEL Regards, --Jered - On Oct 22, 2022, at 3:46 AM, Marc m...@f1-outsourcing.eu wrote: > WTF is this??? I just need milter to send requests to an external container. > That should be 1MB install not 315MB. Anyone else having this on a different > distribution? > > > > > Installing: > spamass-milter x86_64 0.4.0-13.el9 CentOS9_64-epel > 61 > k > > Installing dependencies: > annobin x86_64 10.73-3.el9 CentOS9stream-AppStream > 961 > k > binutilsx86_64 2.35.2-24.el9 CentOS9stream > 4.6 > M > checkpolicy x86_64 3.4-1.el9 CentOS9stream-AppStream > 347 > k > cpp x86_64 11.3.1-2.1.el9CentOS9stream-AppStream > 11 > M > dwz x86_64 0.14-3.el9CentOS9stream-AppStream > 128 > k > efi-srpm-macros noarch 4-9.el9 CentOS9stream-AppStream > 23 > k > elfutils-debuginfod-client x86_64 0.187-5.el9 CentOS9stream > 38 > k > environment-modules x86_64 5.0.1-2.el9 CentOS9stream > 492 > k > fonts-srpm-macros noarch 1:2.0.5-7.el9.1 CentOS9stream-AppStream > 28 > k > gcc-plugin-annobin x86_64 11.3.1-2.1.el9CentOS9stream-AppStream > 69 > k > gcc-toolset-12-binutils x86_64 2.38-16.el9 CentOS9stream-AppStream > 5.5 > M > gcc-toolset-12-binutils-gold > x86_64 2.38-14.el9 CentOS9stream-AppStream > 752 k > gcc-toolset-12-runtime x86_64 12.0-5.el9CentOS9stream-AppStream > 55 > k > ghc-srpm-macros noarch 1.5.0-6.el9 CentOS9stream-AppStream > 8.8 > k > glibc-devel x86_64 2.34-40.el9 CentOS9stream-AppStream > 43 > k > glibc-headers x86_64 2.34-40.el9 CentOS9stream-AppStream > 543 > k > go-srpm-macros noarch 3.0.9-9.el9 CentOS9stream-AppStream > 27 > k > kernel-headers x86_64 5.14.0-176.el9CentOS9stream-AppStream > 3.6 > M > kernel-srpm-macros noarch 1.0-11.el9CentOS9stream-AppStream > 16 > k > libmpc x86_64 1.2.1-4.el9 CentOS9stream-AppStream > 62 > k > libpkgconf x86_64 1.7.3-10.el9 CentOS9stream > 36 > k > libxcrypt-devel x86_64 4.4.18-3.el9 CentOS9stream-AppStream > 29 > k > llvm-libs x86_64 14.0.6-1.el9 CentOS9stream-AppStream > 20 > M > lua-srpm-macros noarch 1-6.el9 CentOS9stream-AppStream > 9.5 > k > mailcap noarch 2.1.49-5.el9 CentOS9stream > 33 > k > ocaml-srpm-macros noarch 6-6.el9 CentOS9stream-AppStream > 8.8 > k > openblas-srpm-macrosnoarch 2-11.el9 CentOS9stream-AppStream > 8.4 > k > perl-Algorithm-Diff noarch 1.2010-4.el9 CentOS9stream-AppStream > 48 > k > perl-Archive-Tarnoarch 2.38-6.el9CentOS9stream-AppStream > 72 > k > perl-AutoSplit noarch 5.74-479.el9 CentOS9stream-AppStream > 31 > k > perl-BSD-Resource x86_64 1.291.100-17.el9 CentOS9stream-AppStream > 46 > k > perl-Benchmark noarch 1.23-479.el9 CentOS9stream-AppStream > 36 > k > perl-CPAN-Meta-YAML noarch 0.018-461.el9 CentOS9stream-AppStream > 27 > k > perl-Compress-Raw-Bzip2 x86_64 2.101-5.el9 CentOS9stream-AppStream > 35 > k > perl-Compress-Raw-Lzma x86_64 2.101-3.el9 CentOS9stream-AppStream > 51 > k > perl-Compress-Raw-Zlib x86_64 2.101-5.el9 CentOS9stream-AppStream > 61 > k > perl-Crypt-OpenSSL-Bignum x86_64 0.09-16.el9 CentOS9stream-AppStream > 43 > k > perl-Crypt-OpenSSL-RSA x86_64 0.31-13.el9 CentOS9stream-AppStream > 44 > k > perl-Crypt-OpenSSL-Random x86_64 0.15-14.el9 CentOS9stream-AppStream > 27 > k > perl-DB_Filex86_64 1.855-4.el9 CentOS9stream-AppStream > 82 > k > perl-Data-Dump noarch 1.23-18.el9 CentOS9stream-AppStream > 34 > k > perl-Devel-PPPort