🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #282204

Re: Postfix Blacklisting/blocking top level domains

#282204
From: Anonymous
Date: Mon, 25 Apr 2016 23:01
45 lines
1896 bytes
Nathan Hale pretended :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have created the sender_access file and populated a list
> of email addresses and domanins I want to REJECT. And I ran
>
> postmap /etc/postfix/sender_access
>
> Everything appears to be working OK.. I tested via telnet.
>
> However I cannot reject top level domains I tried the following:
>
>       examples
>       ========
>
>   .cn REJECT
>  *.cn REJECT
>    cn REJECT
>
> none of which worked. :(
>
> Any suggestions would be welcome.
>
> Kind Regards
> B
>
  First I'll answer why.  Because some tlds are mainly being used by 
spammers.  I have these blocked:

.fr DISCARD
.no DISCARD
.download DISCARD
.date DISCARD
.faith DISCARD
.pe DISCARD
.pro DISCARD
.top DISCARD
.tw DISCARD
.pt DISCARD

  I am not using PCRE with my sender_access.  I think the problem is 
that you need to use DISCARD.  There is no way to REJECT to a tld, no 
address to reject it back to.
Technical Details
Message-ID: <nfm7kl$cm1$1@news.mixmin.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
References: <e7833524399e5f757c82ea3e6b2d4a89@remailer.org.uk>

Show Full Headers
Complete Article Headers
Message-ID: <nfm7kl$cm1$1@news.mixmin.net>
Subject: Re: Postfix Blacklisting/blocking top level domains
Date: Mon, 25 Apr 2016 18:01:37 -0500
From: Anonymous <anonymous@anonymous.com>
References: <e7833524399e5f757c82ea3e6b2d4a89@remailer.org.uk>
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: Anonymous
Reply-To: anonymous@anonymous.com
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 25 Apr 2016 23:01:41 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="b2b984575af8eb852415f12667f7364fae873f76";
X-Newsreader: MesNews/1.08.03.00-gb
Lines: 45