From owner-freebsd-questions@FreeBSD.ORG Tue Sep 7 20:20:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 914FF16A4CE for ; Tue, 7 Sep 2004 20:20:26 +0000 (GMT) Received: from orion.kls2.com (orion.kls2.com [198.51.109.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF3D143D54 for ; Tue, 7 Sep 2004 20:20:24 +0000 (GMT) (envelope-from karl@kls2.com) Received: from orion.kls2.com (localhost.kls2.com [127.0.0.1]) by orion.kls2.com (8.12.11/8.12.11) with ESMTP id i87KKLht040272 for ; Tue, 7 Sep 2004 13:20:21 -0700 (PDT) (envelope-from karl@kls2.com) Received: (from karl@localhost) by orion.kls2.com (8.12.11/8.12.11/Submit) id i87KKLck040270 for freebsd-questions@freebsd.org; Tue, 7 Sep 2004 13:20:21 -0700 (PDT) (envelope-from karl@kls2.com) X-Authentication-Warning: orion.kls2.com: karl set sender to karl@kls2.com using -f Date: Tue, 7 Sep 2004 13:20:21 -0700 From: Karl Swartz To: freebsd-questions@freebsd.org Message-ID: <20040907202021.GC1526@orion.kls2.com> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Sendmail 8.12.11 from FreeBSD 4.10-RELEASE ignores many config directives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 20:20:26 -0000 I just upgraded from Sendmail 8.12.3 (from FreeBSD 4.6) to a brand new FreeBSD 4.10-RELEASE install including Sendmail 8.12.11. I tweaked a few pathnames in my .mc file but otherwise tried to use the same one. Many things weren't working. I've found workarounds for some, but they are hacks, and others simply don't work. I don't really know if this is a sendmail problem or something weird about the FreeBSD port of it. What follows is a list of what's broken. FEATURE(dnsbl, `rbl-plus.mail-abuse.org') FEATURE(dnsbl, `sbl-xbl.spamhaus.org') ... Yes, I'm a MAPS subscriber, DNS is working correctly, and I can query the various lists and get the expected answers back. Addresses which are in one or more of the lists I have configured pass right through sendmail with nary a complaint. I've yet to find any evidence that the check_relay rulesets are being called at all. (I also have FEATURE(access_db, ...) enabled and this appears to be working.) define(`confCW_FILE', `-o /etc/mail/sendmail.cw') This has no effect, though I found that /etc/mail/local-host-names is being consulted so that's a viable workaround. I didn't try removing the -o and I can't recall what that does, so perhaps that was the problem. define(`confTRUSTED_USERS', `majordom') This address the appropriate line to the .cf file, but sendmail seems to ignore it as evidenced by lines like X-Authentication-Warning: orion.kls2.com: majordom set sender to owner-LIST@kls2.com using -f in mail sent to Majordomo's lists. So far this one seems to be harmless albeit annoying. define(`ALIAS_FILE', `/etc/mail/aliases,/etc/mail/aliases.majordomo') The second alias file is ignored, and yes, I have built .db files for both of them. As a workaround, I finally just lumped Majordomo's aliases into the main system file, but I'd rather keep them separate and the doccy says it should work. I found something which said that m4 wants ``foo,bar'' with pairs of quotes if there's a comma but that made no difference. The resulting line in the .cf file (which matched what worked in the old version) was the same in any case. FEATURE(relay_based_on_MX) It appears that this is being ignored. What's going on? I had hoped to close some holes with the upgrade but at this point I'm about ready to dredge the sendmail 8.12.3 stuff out of my backups and revert to that. Any help in m akeing 8.12.11 match what the documentation claims would be most appreciated. -- Karl