🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help with Spam Mail

#287358
From: Anonymous
Date: Thu, 01 Dec 2016 20:40
64 lines
2695 bytes
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On Thu,  1 Dec 2016 03:07:16 +0000 (GMT), Red John wrote in
> Message-Id: <20161201030717.17099120351@fleegle.mixmin.net>:
> 
> 
>> elvis could I make changes to my posfix main.cf file here:
>>
>> # TLS parameters
>> smtpd_helo_required=yes
>> disable_vrfy_command=yes
>>
>> and here:
>>
>> # some antispam rules,recipient restrictions
>> smtpd_recipient_restrictions =
>>         reject_invalid_hostname,
>>         reject_unauth_pipelining,
>>         reject_non_fqdn_recipient,
>>         reject_unknown_recipient_domain,
>>         permit_mynetworks,
>>         reject_unauth_destination,
>>         check_client_access
>>                 hash:/etc/postfix/friends_whitelist
>>         permit
> 
> After permit_mynetworks, add in a line:
> check_sender_access hash:/etc/postfix/sender_access
> 
> Then create the file "sender_access" and put in a line:
> redjohn.net                              550 Unauthenticated sender
> 
> Create the binary version of this file with:
> postmap sender_access
> 
> Reload postfix to bring the changes into effect.
> 
> In effect, this will reject all mail coming from senders using your
> domain.  The actual clients on your domain will already have been
> accepted by the permit_mynetworks setting.

My main.cf is setup like this:

smtpd_relay_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    check_recipient_access hash:/etc/postfix/remailer_access,
    reject_unauth_destination

smtpd_sender_restrictions =
    check_sender_access hash:/etc/postfix/sender_access

smtpd_recipient_restrictions =
    reject_invalid_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unauth_pipelining,
    permit_mynetworks,
    check_recipient_access hash:/etc/postfix/recipient_access,
    check_client_access hash:/etc/postfix/client_checks

Do I need 'permit_mynetworks,' to be under 'smtpd_sender_restrictions =' for this to work?
Technical Details
Message-ID: <5ac223a411945ba59876ad1a2f192af9@hoi-polloi.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-mail
References: <slrno3vp6q.2sr.admin@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <5ac223a411945ba59876ad1a2f192af9@hoi-polloi.org>
Subject: Re: Help with Spam Mail
Date: Thu, 1 Dec 2016 21:40:47 +0100
From: Anonymous <anonymous@hoi-polloi.org>
References: <slrno3vp6q.2sr.admin@fleegle.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
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: 64