From owner-freebsd-questions Thu Jan 24 11: 3:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from relay02.roc.frontiernet.net (alteon01g.roc.frontiernet.net [66.133.130.237]) by hub.freebsd.org (Postfix) with SMTP id 0751737B416 for ; Thu, 24 Jan 2002 11:03:06 -0800 (PST) Received: (qmail 7431 invoked from network); 24 Jan 2002 19:03:00 -0000 Received: from unknown (HELO blacklamb.mykitchentable.net) ([207.173.227.80]) (envelope-sender ) by relay02.roc.frontiernet.net (qmail-ldap-1.03) with SMTP for ; 24 Jan 2002 19:03:00 -0000 Received: from tagalong (unknown [165.107.42.196]) by blacklamb.mykitchentable.net (Postfix) with SMTP id BE920EE5FD for ; Thu, 24 Jan 2002 11:02:58 -0800 (PST) Message-ID: <01f801c1a509$bd1d3060$c42a6ba5@lc.ca.gov> From: "Drew Tomlinson" To: Subject: Regex Database Help? Date: Thu, 24 Jan 2002 11:02:58 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I followed some of the suggestions at http://www.muine.org/~hoang/postfix.html to tighten up my Postfix MTA. As part of this, I created a file called helo_access where I wish to include helo names that fail reverse DNS lookups that I still wish to allow. The examples showed how to explicitly set the complete name of the server as in this example: # Allow somehost.some.domain /^somehost\.some\.domain$/ OK This works fine. Now what I would like to do is something like this: # Allow allhosts.some.domain /*\.some\.domain$/ OK In other words, allow all hosts that end in some.domain. However, I have tried this different ways without success. I assume this is possible? Can someone help me get the syntax right for this regular expression. From what I know, I would expect the above to work but it doesn't. Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message