Bugzilla – Bug 1211880
Using yast2 mail and selecting amavis gives an amavis service that does not run
Last modified: 2024-06-05 10:54:44 UTC
Using yast2 mail and selecting support for amavis gives an amavis service which fails to start. The error message is: Problem in antispam SA code: Can't locate Mail/SpamAssassin.pm in @INC (you may need to install the Mail::SpamAssassin module) (@INC contains: /usr/lib/perl5/site_perl/5.26.1/aarch64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/aarch64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/aarch64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl) at (eval 708) line 69. Amavis does start after installing the package spamassassin. However quite a lot of checks for inspection of attached files are not possible because the unpack utilities are missing.These are: arc arj lzop clzip rzip melt cabextract lz4 p7zip-full rzsz tnef zoo. Also clamav should have been installed and made active. Maybe this problem is only present when using Leap 15.5 with the image JeOS for aarch64.
Please attach y2logs generated with the supplied save_y2logs script. See also https://en.opensuse.org/openSUSE:Report_a_YaST_bug#I_reported_a_YaST2_bug,_and_now_I_am_asked_to_"attach_y2logs"_(for_package_installation_also_"libzypp_logging")._What_does_that_mean,_and_how_do_I_do_that?
Created attachment 867355 [details] y2logs.tgz
(In reply to Stefan Hundhammer from comment #1) > Please attach y2logs generated with the supplied save_y2logs script. See also > > https://en.opensuse.org/openSUSE:Report_a_YaST_bug#I_reported_a_YaST2_bug, > _and_now_I_am_asked_to_"attach_y2logs"_(for_package_installation_also_"libzyp > p_logging")._What_does_that_mean,_and_how_do_I_do_that? The remark about clamav was wrong, it is installed and running, however, despite the parameter POSTFIX_WITH_DKIM="yes" in /etc/sysconfig/postfix, there is no folder /etc/opendkim . The only reference on dkim is in /etc/postfix/main.cf, there is a line: smtpd_milters = unix:/run/opendkim/opendkim.sock The requested file is attached.
Inspection of the YaST2 mail module shows a lot of inconsistencies. This is one of them. I am working on a script which should mimic an enhanced YaST2 mail module which implements support for SPF, DKIM (from Amavis and openDKIM) and DMARC.
(In reply to Freek de Kruijf from comment #4) > Inspection of the YaST2 mail module shows a lot of inconsistencies. This is > one of them. > I am working on a script which should mimic an enhanced YaST2 mail module > which implements support for SPF, DKIM (from Amavis and openDKIM) and DMARC. I finished the script and submitted Request 1142595 for inclusion in openSUSE.
(In reply to Freek de Kruijf from comment #5) > I finished the script and submitted Request 1142595 for inclusion in > openSUSE. The request has been withdrawn. A script with more or less the same functionality is available on https://github.com/freekdk/GenPDSDM