Article View: alt.privacy.anon-server
Article #275708Re: Postfix question
From: Jeremy Bentham
Date: Fri, 28 Aug 2015 14:55
Date: Fri, 28 Aug 2015 14:55
48 lines
2172 bytes
2172 bytes
>>> Jeremy Bentham <nobody@anemone.mooo.com> wrote: >>> >>> >>>> I have been trying to discard a particularly pesky spam by using a header_checks. The address is From: "whatever" <whatever@whatever.xyz>. I tried placing this in the header_checks file: >>>> >>>> >>>> but it is not catching it. Did the 'postmap >>>> /etc/postfix/header_checks'. Anyone know better parameters? >>>> >>>> main.cf entry: >>>> smtp_header_checks = regexp:/etc/postfix/header_checks >>>> >>> Try this: >>> >>> /^From.*xyz/ REJECT >>> >>> And in main.cf: >>> >>> header_checks = pcre:/etc/postfix/header_checks >>> >>> You need postfix compiled with pcre support, but that >>> should be standard nowadays. > > <snip> > > Apparently the Debian postfix doesn't compile with pcre support. > Got errors and mailq backed up , nothing was being sent until I > removed the pcre: statement. > > syslog: > > dictionary type: pcre > pcre:/etc/postfix/header_checks is unavailable. unsupported > dictionary type: pcre > pcre:/etc/postfix/header_checks lookup error for "Received: by > mail.allpingers.net (Postfix, from userid 1003)??id E2378826E9; > Thu, 27 Aug$ > E2378826E9: smtp header checks lookup error > > I am trying this now '/^From.*xyz/ REJECT' with > smtp_header_checks = regexp:/etc/postfix/header_checks > > I won't know if it is working because I blocked .xyz's IP. Here it is: Building Postfix with PCRE support www.postfix.org/PCRE_README.html
Technical Details
Message-ID:
<d5c200bce774a89ed09d222c599fd26f@anemone.mooo.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mailReferences:
<6a0e72f22ab397df759c409e22e59437@remailer.paranoici.org>Show Full Headers
Complete Article Headers
Message-ID: <d5c200bce774a89ed09d222c599fd26f@anemone.mooo.com> Subject: Re: Postfix question Date: Fri, 28 Aug 2015 14:55:49 +0000 From: Jeremy Bentham <nobody@anemone.mooo.com> References: <6a0e72f22ab397df759c409e22e59437@remailer.paranoici.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail Newsgroups: alt.privacy.anon-server Organization: dizum.com - The Internet Problem Provider X-Abuse: abuse@dizum.com Injection-Info: sewer.dizum.com - 194.109.206.211 Lines: 48