From owner-freebsd-questions@FreeBSD.ORG Sun May 30 18:41:59 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 0739316A4CE for ; Sun, 30 May 2004 18:41:59 -0700 (PDT) Received: from wolf.bytecraft.au.com (wolf.bytecraft.au.com [203.39.118.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9587443D46 for ; Sun, 30 May 2004 18:41:57 -0700 (PDT) (envelope-from murraytaylor@bytecraftsystems.com) Received: from svmarshal.bytecraft.au.com ([10.0.0.4]) by wolf.bytecraft.au.com (8.12.9/8.12.9) with ESMTP id i4V1fsTG098246; Mon, 31 May 2004 11:41:54 +1000 (EST) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.bytecraft.au.com (Not Verified[10.0.0.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Mon, 31 May 2004 11:41:54 +1000 Received: from [10.0.17.42] (wstaylorm.dand06.au.bytecraft.au.com [10.0.17.42]) by wombat.bytecraft.au.com (Postfix) with ESMTP id F1B683F36; Mon, 31 May 2004 11:41:53 +1000 (EST) From: Murray Taylor To: Robert Storey In-Reply-To: <20040530115539.16c895cc.y2kbug@ms25.hinet.net> References: <40B9122A.9C031AB8@ene.asda.gr> <20040530115539.16c895cc.y2kbug@ms25.hinet.net> Content-Type: text/plain Organization: Bytecraft Systems Message-Id: <1085967713.88093.68.camel@wstaylorm.dand06.au.bytecraft.au.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 31 May 2004 11:41:53 +1000 Content-Transfer-Encoding: 7bit cc: freebsdquestions Subject: Re: Policy filtering with postfix 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: Mon, 31 May 2004 01:41:59 -0000 On Sun, 2004-05-30 at 13:55, Robert Storey wrote: > I'm not an expert on Postfix or any other MTA, but it might be that your > logs are displaying headers or attachments with high-order ASCII text > used by non-Roman scripts (Chinese, Korean and Japanese would be good > examples). > > I have some files from Chinese Windows (Word docs and html) and when I > list the filesnames at the console in FreeBSD, this is how they display: > > > ????.doc > ????.htm > ????1?1.doc > ??????.doc > ??????? ????????.doc > ????????? ??????.doc > ?????????? ?????.doc > ??????????.htm > ????????????.doc > ??????????????.doc > ??????????????? ?.doc > ??????????????? ??.doc > ???????????????.doc > ?????????????????.doc > ??????????????????????????????.doc > ????????????????????????????????.doc > > So maybe this is your problem. > > best regards, > Robert > > On Sun, 30 May 2004 01:43:54 +0300 > Lefteris Tsintjelis wrote: > > > Hi, > > > > I am trying to setup policy but I keep on getting all these "????" in > > my log files. > > > > postfix/policy-spf[15755]: : testing: stripped > > sender=owner@example.org, stripped rcpt=lefty@ene.asda.gr > > postfix/policy-spf[15755]: : SPF ????: > > smtp_comment=???????????????????????????????????????????????????????? > > ????????????????????????, > > header_comment=?????????????????????????????????????????????????????? > > ?????????????????????????????????????????? postfix/policy-spf[15755]: > > decided action=DUNNO > > > > Are all these "????" normal to show up in the maillog? Anyone has any > > idea what they are? I suspect it maybe an IPv6 problem. Can anyone > > please confirm it? > > > > Thank you, > > Lefteris If you are using the header_check options in postfix the following rule -----------------------------8<-------------------------------------- # This filter will block subjects that contain ISO specifications. # If you use any languages other than English, # you might need to comment this out. /^Subject: .*\=\?ISO/ DISCARD ISO header -----------------------------8<-------------------------------------- will discard emails that use other languages. This could be what you are looking for if you need to manage content that is in non-english character sets. You could look for the iso header then sort/discard accordingly -- Murray Taylor Special Projects Engineer --------------------------------- Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: murraytaylor@bytecraftsystems.com or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com ************************************************************************ This Email has been scanned for Viruses by MailMarshal. ************************************************************************