From owner-freebsd-questions@FreeBSD.ORG Thu May 4 03:35:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E966716A403 for ; Thu, 4 May 2006 03:35:17 +0000 (UTC) (envelope-from MTaylor@bytecraft.com.au) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BCC443D46 for ; Thu, 4 May 2006 03:35:15 +0000 (GMT) (envelope-from MTaylor@bytecraft.com.au) Received: from localhost (localhost [127.0.0.1]) by wolf.bytecraft.au.com (8.12.11/8.12.11) with ESMTP id k443Yv84006368; Thu, 4 May 2006 13:34:57 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from wolf.bytecraft.au.com ([127.0.0.1]) by localhost (wolf.bytecraft.au.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06215-02; Thu, 4 May 2006 03:34:57 +0000 (GMT) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.11/8.12.11) with ESMTP id k443Ysjv006363; Thu, 4 May 2006 13:34:54 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.0.0.24]) by svmarshal.bytecraft.au.com with MailMarshal (v5, 0, 3, 78) id ; Thu, 04 May 2006 13:34:54 +1000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Thu, 4 May 2006 13:34:53 +1000 Message-ID: <04E232FDCD9FBE43857F7066CAD3C0F117C854@svmailmel.bytecraft.internal> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Getting DHCP to use resolv.conf? AN ANSWER Thread-Index: AcZvFmM0rg7SIXFlSVqu56PoWnUL8wAFKebA From: "Murray Taylor" To: Cc: freebsd-questions Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 03:35:18 -0000 > -----Original Message----- > From: fbsd [mailto:fbsd@a1poweruser.com]=20 > Sent: Thursday, 4 May 2006 11:02 AM > To: Murray Taylor > Cc: freebsd-questions > Subject: RE: Getting DHCP to use resolv.conf? AN ANSWER >=20 >=20 >=20 > The script I sent are operational on FBSD 4.11 with the=20 > enter/exit-hooks scripts that are part of the base install. > NB Dont forget I run the ipf firewall rewrite rules script=20 > manually as root when my IP number changes, but the DHCP ->=20 > resolv.conf is automatic via exit-hooks >=20 > The scripts are always called by dhclient, what I put in them=20 > is what I attached. >=20 > And I am also using Postfix ... As far as I remenber pcre is=20 > only needed by Postfix if you use pcre: regular=20 > expression type files in main.cf. If you use=20 > regexp: then pcre is not used. >=20 >=20 > Murray Taylor >=20 >=20 > --------------------------------------------------------------- > --------------------------------------------------------------- >=20 > I checked postfix main.default.cf and find no "pcre" or "regexp" > options. > Please explain what you are talking about. >=20 > Thanks for your help > /usr/local/etc/postfix/dist-header_checks these are optional elements you can add to main.cf. if you havent decided to use them then they wont be in main.cf try grep pcre: * in the /usr/local/etc/postfix directory this will find where you may have used them. =20 generally only used on various lookup tables etc.. Murray Taylor Special Projects Engineer Bytecraft Systems P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 E: mtaylor@bytecraft.com.au=20 -- "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." =20 Albert Einstein=20 --=20 --------------------------------------------------------------- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material.=20 E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --------------------------------------------------------------- ***This Email has been scanned for Viruses by MailMarshal.***