過去2回ほどの記事では昨年暮れに起ったHDDトラブルについて紹介しました。先に触れたように,
普段使っている作業環境はテストを兼ねて新バージョンのPlamo Linuxを常にインストールしているものの,
たいていのソフトウェアはPlamo Linuxのパッケージが用意されているので,
Apache SpamAssasinのインストール
"Apache SpamAssasin"
"assasin"は
最近では,
しかしながら,
もっとも,
SAはPerlで書かれたスクリプトで,
$ perl -MCPAN -e shell ... cpan shell -- CPAN exploration and modules installation (v2.22) Enter 'h' for help. cpan[1]> install Mail::SpamAssassin Reading '/home/kojima/.cpan/Metadata' Database was generated on Thu, 21 Apr 2022 02:41:03 GMT Running install for module 'Mail::SpamAssassin' ... *************************************************************************** ERROR: the required HTML::Parser module is not installed, minimum required version is 3.43. HTML is used for an ever-increasing amount of email so this dependency is unavoidable. Run "perldoc -q html" for additional information. .... ERROR: the required Net::DNS module is not installed, minimum required version is 0.34. Used for all DNS-based tests (SBL, XBL, SpamCop, DSBL, etc.), perform MX checks, and is also used when manually reporting spam to SpamCop. .... dependency check complete... REQUIRED module missing: HTML::Parser REQUIRED module missing: Net::DNS REQUIRED module missing: NetAddr::IP optional module missing: Digest::SHA1 optional module missing: Mail::SPF ... No 'Makefile' created SIDNEY/Mail-SpamAssassin-3.4.6.tar.gz /usr/bin/perl Makefile.PL -- NOT OK
上記リスト中,
行きつ戻りつしながら必要なモジュール類を作ってみたところ,
$ ls *tzst geoip_api_c-1.6.12-x86_64-B1.tzst perl_IP_Country_DB_File-3.03-x86_64-B1.tzst perl_Archive_Tar-2.40-x86_64-B1.tzst perl_LWP_MediaTypes-6.04-x86_64-B1.tzst perl_Archive_Zip-1.68-x86_64-B1.tzst perl_MailTools-2.21-x86_64-B1.tzst perl_BSD_Resource-1.2911-x86_64-B1.tzst perl_Mail_AuthenticationResults-2.20210915-x86_64-B1.tzst perl_B_COW-0.004-x86_64-B1.tzst perl_Mail_DKIM-1.20200907-x86_64-B1.tzst .... perl_IO_String-1.08-x86_64-B1.tzst re2c-2.2-x86_64-B1.tzst perl_IO_Zlib-1.11-x86_64-B1.tzst $ ls *tzst | wc -l 67
これらのパッケージをインストールすればSAは使えるようになるものの,
さてどうするか,
このあたりの現状はいかに,
fetchmaiの設定ファイル