🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Block Email on Server

#281598
From: Jack Ryan
Date: Sun, 03 Apr 2016 12:47
108 lines
3694 bytes
> On Sat,  2 Apr 2016 18:03:31 +0200 (CEST), you wrote:
> 
>>
>>> I have recently been getting a lot of spam to my admin and abuse
>>> email addresses. Is there a way to block a specific domain or user.
>>> I'm getting emails like the ones below:
>>>
>>> Date: Fri, 01 Apr 2016 17:19:31 +0530
>>> From: Juan David LANDAVERDE <GARDEA12@yahoo.es>
>>> To: admin@remailer.net
>>>Subject: Re: picture
>>> X-Mailer: iPhone Mail (13D20)
>>>
>>>
>>>
>>> Date: Fri, 01 Apr 2016 09:53:02 -0200
>>> From: Miranda SIMPSON <ADAMS65@yahoo.es>
>>> To: abuse@remailer.net
>>>Subject: Re: image
>>> X-Mailer: iPhone Mail (13D20)
>>>
>>>
>>   I use postfix sender_access to do a lot of blocking.  Here are some entries.
>>
>> #just to make sure I don't accidentally block a remailer
>> anemone.mooo.com OK
>> anonusa.net OK
>> anonymitaet-im-inter.net OK
>> dizum.com OK
>> eurovibes.org OK
>> fleegle.mixmin.net OK
>> foto.nl1.torservers.net OK
>> freie-re.de OK
>> gpgvenue.com OK
>> hermetix.org OK
>> hoi-polloi.org OK
>> holland.remailer.nl OK
>> inwtx.net OK
>> iria.hopto.me OK
>> kroken.de.eu.org OK
>> lousyroad.com OK
>> mixmin.net OK
>> snorky.mixmin.net OK
>> mixrelay.mixmin.net OK
>> mixmaster.mixmin.net OK
>> mixmaster.thebunker.net OK
>> redwine.zapto.org OK
>> remailer.cpunk.us OK
>> remailer.cypherpunks.to OK
>> remailer.frell.eu.org OK
>> remailer.org.uk OK
>> remailer.paranoici.org OK
>> remailer.privacy.at OK
>> rooty.uni-boeblingen.de OK
>> rooty2.uni-boeblingen.de OK
>> sec3.net OK
>>
>> .ua DISCARD
>> .ru DISCARD
>> .accountant DISCARD
>> .download DISCARD
>> .pe DISCARD
>> .pro DISCARD
>> .date DISCARD
>> .top DISCARD
>> .tw DISCARD
>> .pt DISCARD
>>
>> a-rejected-company.com DISCARD
>> comcastbusiness.net DISCARD
>> cox.net DISCARD
>> my-dentist-email@yahoo.com OK
>> yahoo.com DISCARD
>> hotmail.com DISCARD
>> gmail.com DISCARD
>> google.com DISCARD
>> verizon.net DISCARD
>> secureyourprofits99.com DISCARD
>> unifiedlayer.com DISCARD
>> vodafone-ip.de DISCARD
>> linode.com DISCARD
> 
> What file should these settings be copied to? In my postfix
> directory I hava a friends_whitelist, friends_whitelist.db,
> remailers_whitelist and remailers_whitelist.db in my postfix
> directory.

  In /etc/postfix, create a file called sender_access.  Place them in there.  Then create a DB of that file with 

postmap /etc/postfix/sender_access && sudo postfix reload

  Then in /etc/postfix/main.cf, add this line to your 'smtpd_recipient_restrictions ='

   check_sender_access hash:/etc/postfix/sender_access,

  This is my smtpd_recipient_restrictions =

smtpd_recipient_restrictions =
   permit_mynetworks,
   permit_sasl_authenticated,
   check_sender_access hash:/etc/postfix/sender_access,
   check_recipient_access hash:/etc/postfix/remailer_access,
   check_client_access hash:/etc/postfix/client_checks,
   reject_unauth_destination
 
  Last, reload postfix:

service postfix reload
Technical Details
Message-ID: <960b4160fd08f0a1b2580422cf9421ea@remailer.cpunk.us>
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: <48d5b8a67b8127de2cf2f395a6522b03@remailer.privacy.at>

Show Full Headers
Complete Article Headers
Message-ID: <960b4160fd08f0a1b2580422cf9421ea@remailer.cpunk.us>
Subject: Re: Block Email on Server
Date: Sun, 03 Apr 2016 12:47:58 +0000
From: Jack Ryan <mixmaster@remailer.cpunk.us>
References: <48d5b8a67b8127de2cf2f395a6522b03@remailer.privacy.at>
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: 108