** Description changed: [Impact] Regression causing breakage of spam filtering for Exim4 users when using sa-exim for spamassassin integration. [Test Case] TBD [Regression Potential] Low. The 'local_scan' function was removed due to concerns it might allow rewriting of emails in invalid situations. However, this risk has been equally present in previous exim4 releases Ubuntu has shipped, thus does not create any new issues, just restores behavior to what it has been in the past. This is not a default behavior, so whether it is enabled or not should have no impact on "regular" exim4 users. + Things to watch for in testing would be severe breakage when using the + local_scan functionality in ways that worked properly in bionic. Note + that with sa-exim no longer actively maintained, and with exim4 + discouraging use of local_scan, it is to be expected that some + irregularities may crop up in certain use cases, but general usage that + has worked previously should be expected to continue similarly. + [Discussion] Upstream dropped support for a 'local_scan' function in 4.92, that sa-exim requires; Debian restored support for this capability in 4.92-7, but disco is shipping 4.92-4ubuntu1 without the restored support. The reason upstream dropped the support was out of concern that changes in how emails are handled internally will break rewriting in certain circumstances. Unfortunately this breaks compatibility with sa-exim, which uses local_scan to do spamassassin checking to reject spam emails pre-acceptance. This SRU is a one-line change to enable HAVE_LOCAL_SCAN in exim4's template configuration file, "EDITME". Ubuntu has already been carrying the 90_localscan_dlopen.dpatch that implements the necessary functionality, however due to upstream changes it is now necessary to define HAVE_LOCAL_SCAN in the local config (it is off by default). With this change, the functionality of 90_localscan_dlopen.dpatch will again be effective. - [Original Report] It seems like after upgrade to 19.04 that exim is not running the local_scan function (in my case the sa-exim /usr/lib/exim4/local_scan/sa-exim.so) So I now don't have the spam-scan I am used to(I have enabled scanning by the way of an RCPT_ACL for now) Hope this can fixed despite sa-exim being very old Description: Ubuntu 19.04 Release: 19.04 exim4-daemon-heavy: Installed: 4.92-4ubuntu1 Candidate: 4.92-4ubuntu1 Version table: *** 4.92-4ubuntu1 500 500 http://dk.archive.ubuntu.com/ubuntu disco/main amd64 Packages 100 /var/lib/dpkg/status I expect to see in /var/log/exim4/mainlog lines like this as I saw before: 2019-05-12 20:01:54 1hPsnJ-000285-Jj SA: Debug: check succeeded, running spamc 2019-05-12 20:02:01 1hPsnJ-000285-Jj SA: Action: scanned but message isn't spam: score=2.5 required=5.0 (scanned in 7/7 secs | Message-Id: duxufv23y44bfkuepz1f4naeoavbh7xtz_es_rsbndc.erur4y-b0k2tn61ykllctsv6z3yzr3hqkm9umv94...@devotestream.icu). From <en...@devotestream.icu> (host=NULL [185.254.236.42]) for <masked email> I don't see that after upgrading to 19.04 this saturday
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1829292 Title: exim4 doesn't run the local_scan function after upgrade to 19.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/exim4/+bug/1829292/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs