Article View: alt.privacy.anon-server
Article #275705Re: Postfix question
From: Anonymous
Date: Fri, 28 Aug 2015 11:53
Date: Fri, 28 Aug 2015 11:53
47 lines
2289 bytes
2289 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: Aug 27 15:11:52 allpingers postfix/smtp[17681]: error: unsupported dictionary type: pcre Aug 27 15:11:53 allpingers postfix/smtp[17681]: warning: pcre:/etc/postfix/header_checks is unavailable. unsupported dictionary type: pcre Aug 27 15:11:53 allpingers postfix/smtp[17681]: warning: pcre:/etc/postfix/header_checks lookup error for "Received: by mail.allpingers.net (Postfix, from userid 1003)??id E2378826E9; Thu, 27 Aug$ Aug 27 15:11:53 allpingers postfix/smtp[17681]: warning: 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.
Technical Details
Message-ID:
<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-mailReferences:
<442292c9e75d5b7876dec52a07058b1e@foto.nl1.torservers.net>Show Full Headers
Complete Article Headers
Message-ID: <6a0e72f22ab397df759c409e22e59437@remailer.paranoici.org> Subject: Re: Postfix question Date: Fri, 28 Aug 2015 11:53:55 +0000 From: Anonymous <nobody@remailer.paranoici.org> References: <442292c9e75d5b7876dec52a07058b1e@foto.nl1.torservers.net> 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: 47