Bug 1211880 - Using yast2 mail and selecting amavis gives an amavis service that does not run
Summary: Using yast2 mail and selecting amavis gives an amavis service that does not run
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Peter Varkoly
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-31 22:19 UTC by Freek de Kruijf
Modified: 2024-06-05 10:54 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
y2logs.tgz (1.08 MB, application/x-compressed-tar)
2023-06-01 15:46 UTC, Freek de Kruijf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Freek de Kruijf 2023-05-31 22:19:25 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.
Comment 1 Stefan Hundhammer 2023-06-01 08:32:07 UTC
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?
Comment 2 Freek de Kruijf 2023-06-01 15:46:41 UTC
Created attachment 867355 [details]
y2logs.tgz
Comment 3 Freek de Kruijf 2023-06-01 15:49:21 UTC
(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.
Comment 4 Freek de Kruijf 2024-01-22 16:21:51 UTC
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.
Comment 5 Freek de Kruijf 2024-02-02 13:22:40 UTC
(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.
Comment 6 Freek de Kruijf 2024-06-05 10:54:44 UTC
(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