🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help with Spam Mail

#287449
From: Red John
Date: Sat, 03 Dec 2016 08:06
57 lines
2771 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 2 Dec 2016 10:38:52 -0000 (UTC), you wrote:
>
> On Thu, 1 Dec 2016 21:40:47 +0100, Anonymous wrote in
> Message-Id: <5ac223a411945ba59876ad1a2f192af9@hoi-polloi.org>:
>
> > 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?
>
> I'd suggest removing the smtpd_sender_restrictions section, unless
> you're deliberately trying to restrict your outbound mail.  Put the
> check_sender_access in the smtpd_recipient_restrictions, under
> permit_mynetworks.
>
Zax thanks for the instructions above. The fix you gave me took
care of forged email addresses to my domain, but did not address
emails coming from *.zhu.com.au and others so I added these to my
sender_access file like this:

redjohn.net                         550 Unauthenticated sender
*.@zhu.com.au   REJECT

I have added about twenty items to this file and I'm sure it will
grow as I get more spam. This is a poor man's option in lieu of
SpamAssassin. I haven't received any new spam today after adding
these additional entries to my sender_access file. Please note I
used the REJECT flag and this "appears" to work.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (MingW32)

iEYEARECAAYFAlhCcE4ACgkQSrCPi4AVv5l+7QCffRK/FfHRQM31Efed1byUVrAI
MqQAn1Y6zCkobzwUv/+tiNPm4L5WsJoJ
=9RaE
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <20161203080645.C24D812008F@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
References: <slrno3vp6q.2sr.admin@fleegle.mixmin.net> <5ac223a411945ba59876ad1a2f192af9@hoi-polloi.org> <slrno42jps.2sr.admin@fleegle.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <20161203080645.C24D812008F@fleegle.mixmin.net>
Subject: Re: Help with Spam Mail
Date: Sat, 03 Dec 2016 08:06:45 +0000
From: Red John <redjohn@nym.mixmin.net>
References: <slrno3vp6q.2sr.admin@fleegle.mixmin.net> <5ac223a411945ba59876ad1a2f192af9@hoi-polloi.org> <slrno42jps.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
Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
Lines: 57