Article View: alt.privacy.anon-server
Article #287519Re: sender_access Question
From: Anonymous
Date: Sat, 10 Dec 2016 00:20
Date: Sat, 10 Dec 2016 00:20
45 lines
2535 bytes
2535 bytes
On Fri, 9 Dec 2016 16:54:17 -0500 (EST), you wrote: > > 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? Just an update. I made the changes to my main.cf file and immediately starting getting many rejects from known good users. Do I now need to update my friends_whitelist or remailers_whitelist which only has one entry in it right now?
Technical Details
Message-ID:
<31016cbe45f5fe8d56fa5c4091923ef0@roance.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<c1393dc7fbec225b0bb7c764cc4d53db@dizum.com> <eb019bFarroU1@mid.dfncis.de> <1f72c4fb53496889009dd6045880b0a6@foto.nl1.torservers.net>Show Full Headers
Complete Article Headers
Message-ID: <31016cbe45f5fe8d56fa5c4091923ef0@roance.net> Subject: Re: sender_access Question Date: Sat, 10 Dec 2016 00:20:03 +0000 From: Anonymous <nobody@roance.net> References: <c1393dc7fbec225b0bb7c764cc4d53db@dizum.com> <eb019bFarroU1@mid.dfncis.de> <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!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@roance.net>. Newsgroups: alt.privacy.anon-server Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net