Let me preface, I started using MD back in 2002, and ran several mail systems with it. Then in 2012, I moved to google, and forgot all my SA and MD stuff. I am now setting up a personal VM to run my website and email, and will migrate off gmail. Server is FreeBSD with Sendmail.
So I thought I would try to build everything from pkg’s in FreeBSD 11. According to what I read, this is as simple as doing “pkg install mimedefang” That single pkg includes all the perl module dependencies including SpamAssassin. Then you rebuild sendmail.cf to include the milter. So I did all that, and the system appears to sort of be working. The issue is, I don’t think SA is being called or utilized. There is no Spam-Score, and also tried sending some test emails with words that would trigger something (male body parts and drugs). I did run sa-update and sa-compile. When I send a test email to the server, and look at the header, I see this: From: John Von Essen <[email protected]> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Email from desktop Message-Id: <[email protected]> Date: Thu, 11 Oct 2018 13:38:17 -0400 To: [email protected] X-Mailer: Apple Mail (2.3445.9.1) X-Scanned-By: MIMEDefang 2.83 From Gmail account. And I see this in the servers maillog: Oct 11 17:43:58 essenz sm-mta[3566]: STARTTLS=server, relay=mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20:0:0:0:731], version=TLSv1.2, verify=FAIL, cipher=AES128-GCM-SHA256, bits=128/128 Oct 11 17:43:58 essenz sm-mta[3566]: w9BHhvcu003566: from=<[email protected]>, size=2342, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTPS, daemon=IPv6, relay=mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20:0:0:0:731] Oct 11 17:43:58 essenz mimedefang.pl[3438]: w9BHhvcu003566: MDLOG,w9BHhvcu003566,mail_in,,,<[email protected]>,<[email protected]>,Email from desktop Oct 11 17:43:58 essenz sm-mta[3566]: w9BHhvcu003566: Milter delete (noop): header: X-Spam-Score Oct 11 17:43:58 essenz sm-mta[3566]: w9BHhvcu003566: Milter add: header: X-Scanned-By: MIMEDefang 2.83 Oct 11 17:43:58 essenz sm-mta[3567]: w9BHhvcu003566: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32701, relay=local, dsn=2.0.0, stat=Sent Any ideas? Thanks John Von Essen _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

