Article View: alt.privacy.anon-server
Article #287518Re: sender_access Question
From: Anonymous
Date: Fri, 09 Dec 2016 21:54
Date: Fri, 09 Dec 2016 21:54
37 lines
2180 bytes
2180 bytes
On Fri, 9 Dec 2016 16:35:07 +0100, you wrote: > > Nomen Nescio [08.12.2016 20:11]: > > I have added several rules to my sender_access file and then > > updated the file with: > > postmap sender_access > > > > I then restart postfix with: > > service postfix restart > > > > I am having a problem with this rule: > > *@*.br REJECT > > > > I think you have an entry like > > smtpd_sender_restrictions = hash:/etc/postfix/sender_access > > so you have do a rehash after you changed the file. That far you worked > good :) > > But: in a hash db, regexes are not used, all strings are taken literally. > > If you want to use regex, you should change your config to something like > > smtpd_sender_restrictions = pcre:/etc/postfix/sender_access > > "postconf -m" should tell you if your postfix has pcre support compiled > in. You can also use regexp, if compiled in. > > And there's no need to "postmap" a pcre/regex file, it is read in as is. > A "service postfix reload" should suffice. > Werner thanks for the knowledge here. Will I see ree rejections in my mail.log file as emails are being rejected? I just want to confirm by adding the code above to main.cf and removing the hash.db references, I can use wildcards in my filter list?
Technical Details
Message-ID:
<1f72c4fb53496889009dd6045880b0a6@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-mailReferences:
<c1393dc7fbec225b0bb7c764cc4d53db@dizum.com> <eb019bFarroU1@mid.dfncis.de>Show Full Headers
Complete Article Headers
Message-ID: <1f72c4fb53496889009dd6045880b0a6@foto.nl1.torservers.net> Subject: Re: sender_access Question Date: Fri, 09 Dec 2016 21:54:17 +0000 From: Anonymous <anonymous@foto.nl1.torservers.net> References: <c1393dc7fbec225b0bb7c764cc4d53db@dizum.com> <eb019bFarroU1@mid.dfncis.de> 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 Comments: This message did not originate from the Sender address above. It was remailed automatically by anonymizing remailer software. Please report problems or inappropriate use to the remailer administrator at <abuse@foto.nl1.torservers.net>. Newsgroups: alt.privacy.anon-server Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net Lines: 37