From owner-freebsd-bugs Sun Nov 24 5: 0:12 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C93937B401 for ; Sun, 24 Nov 2002 05:00:10 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A7E843E4A for ; Sun, 24 Nov 2002 05:00:09 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAOD09x3090252 for ; Sun, 24 Nov 2002 05:00:09 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAOD09Vm090251; Sun, 24 Nov 2002 05:00:09 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5836D37B401 for ; Sun, 24 Nov 2002 04:52:24 -0800 (PST) Received: from mail.parodius.com (mail.parodius.com [64.71.184.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id B37B843EA9 for ; Sun, 24 Nov 2002 04:52:23 -0800 (PST) (envelope-from jdc@pentarou.parodius.com) Received: from pentarou.parodius.com (jdc@localhost [127.0.0.1]) by mail.parodius.com (8.12.6/8.12.6) with ESMTP id gAOCqDCQ028190 for ; Sun, 24 Nov 2002 04:52:13 -0800 (PST) (envelope-from jdc@pentarou.parodius.com) Received: (from jdc@localhost) by pentarou.parodius.com (8.12.6/8.12.6/Submit) id gAOCqDB2028189; Sun, 24 Nov 2002 04:52:13 -0800 (PST) (envelope-from jdc) Message-Id: <200211241252.gAOCqDB2028189@pentarou.parodius.com> Date: Sun, 24 Nov 2002 04:52:13 -0800 (PST) From: Jeremy Chadwick Reply-To: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/45672: Makefile support for sendmail CIDR pre-parsing (cidrexpand) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45672 >Category: conf >Synopsis: Makefile support for sendmail CIDR pre-parsing (cidrexpand) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 24 05:00:08 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 4.7-STABLE i386 >Organization: Parodius Networking >Environment: System: FreeBSD pentarou.parodius.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Nov 14 01:41:15 PST 2002 root@pentarou.parodius.com:/usr/obj/usr/src/sys/PARODIUS-SMP i386 >Description: This is a request to add support for the contrib/cidrexpand script that comes with sendmail, into /etc/mail/Makefile. The script is src/contrib/sendmail/contrib/cidrexpand. We maintain a fairly complex set of rules in /etc/mail/access, and for numerous reasons, sendmail does not have native support for CIDR notation within it's hash files. The script in question addresses this issue. It permits you to use CIDR notation inside /etc/mail/access and pre-parses the contents, generating all possible IP combos from that CIDR (while leaving non-CIDR lines alone), sending the results to stdout. It would be absolutely *fantastic* to have this as part of the /etc/mail/Makefile process. It looks to be highly possible. My recommendation would be to add a new variable to defaults/make.conf called SENDMAIL_CIDR, which would define if the administrator desired using "contrib/cidrexpand | makemap" instead of just the normal makemap process. >How-To-Repeat: Not applicable. >Fix: Not applicable. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message