[Bug 234292] mail/mimedefang fails after update to FBSD12

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 23 10:33:19 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234292

            Bug ID: 234292
           Summary: mail/mimedefang fails after update to FBSD12
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: mam at werries.de
                CC: m.tsatsenko at gmail.com
             Flags: maintainer-feedback?(m.tsatsenko at gmail.com)
                CC: m.tsatsenko at gmail.com

if you update an old 11.x system running mimedefang/spamassassin to 12.x, the
milter does start again, but every incoming mail is rejected with the error
message:

Dec 21 17:31:45 ip6gate mimedefang-multiplexor[1192]: wBLGVeD8001304: Worker 0
stderr: body_0.c: loadable library and perl binaries are mismatched (got
handshake key 0xd480080, needed 0xe180080)

after digging quite a long time, falsely looking for shared libs, I did find
the solution:

* delete everything below /var/db/spamassassin/compiled
* re-run "sa-compile"

(note: sa-compile will refuse to run with the same errormessage if you do not
delete the stuff before as I told you!)

Reason: the rules of spamassassin are converted to c programs and compiled with
standard cc command. Of course, they link to the old and non-existing shared
libs of the pre-updated os. Recompilation solves the issue, but due to the
blocking of "sa-compile" as long, as the old files exist, this is a bit hard
and confusing for a newbie to be overcome.

Wish to the Maintainer:
Either include a script that is run during update or installation of mimedefang
that gets rid of old compiled stuff and runs sa-update automatically, or find a
way to give a note to the user/admin how to fix the problem (maybe there is one
already? I have not seen it but I dont read everything too that is scrolling by
at such a mayor update. In this case blame it on me but consider to give a
larger and louder info :-) )

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list