Article View: alt.privacy.anon-server
Article #287347Re: Help with Spam Mail
From: Zax
Date: Thu, 01 Dec 2016 08:52
Date: Thu, 01 Dec 2016 08:52
75 lines
3834 bytes
3834 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.
> Also would installing SpamAssassin be an option here noting that I
> am running a middle remailer and would not want to accidentally
> block any legitimate emails from being forwarded to an exit
> remailer. It's my understanding that I would have a whitelist that
> I would need to manage, but don't know the complexity of going down
> this path.
You can install SpamAssassin but it needs some tuning to prevent it
checking the high volume of traffic to your remailer. You can do this
by putting the following line in your /etc/spamassassin/local.cf file:
all_spam_to remailer@redjohn.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJYP+TaAAoJECanyOTFuuOB6TsP/AlWNNxxmaDPy/Q7V4xGS1RO
WhgCWe7YJGMwmxxh1OnamC7d1846nkLTiii8ZeKIA7I7qNnRdjrCfzm+qbMoU9Vl
PE8piABYCRzwvo6MyjL7o2KH8LmV0lljrx6GQBZjpQ0y5f38BSGshPWbHRs3xMoL
kYKf1d3BejWYrcLHIVGiPIkqDC/9z6/DKYd5TdUYldMZPQ4q26T764LBYPvh7o8c
+7NFFIT+ErlIj6aUrjXqkj6ZXmlxvtI86+4Kg+C7YzjnFOM+1voMjDPY3uEn9xXa
2Etl7of/fAmbMqwI/9J42zWXsjth0GeWB0OgIWPhlELYD9TCrqMh6q2rHK3XjYK/
X25Rt1PUy4XmpKoR7I9JoB322WTF0gzQ1GihhUYRTnMu5r6Nhps/J5nRIaOCACd7
EvIHM3IOLZ3triNZQXH8LWnjSn9rHMYtNX0HRkD3f2eNyxTCuSGMwBjIalsPTLa5
Irrig3HeEZwoKNXGOoJQZts5J6xGsnVNNdFzSUdZ4BoaWxM9pEX68kfGAnU+M35N
2kphokM48Acq7yhxYQixkKJPjo2DiF3QLFuxSlw16eJ8qa/JYo9k9N49jzucFvfk
FIYkX7F9y2Hxs16Q7eTcycyudP/8rUh/ZLtlVvWTWnF/BN7rR8aeRjUGqlBogbdm
NsmDmOPTGxuZG89suMmB
=z5Il
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/BE3EFAA7 created: 2014-11-14 expires: 2016-11-13 usage: S
Technical Details
Message-ID:
<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-mailReferences:
<20161130205145.88A4D120295@fleegle.mixmin.net> <slrno3ug5h.9ei.elvis-85514@notatla.org.uk> <20161130224906.465931202CD@fleegle.mixmin.net> <slrno3urel.bhk.elvis-85514@notatla.org.uk> <20161201030717.17099120351@fleegle.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <slrno3vp6q.2sr.admin@fleegle.mixmin.net> Subject: Re: Help with Spam Mail Date: Thu, 01 Dec 2016 08:52:42 +0000 From: Zax <admin@mixmin.net> References: <20161130205145.88A4D120295@fleegle.mixmin.net> <slrno3ug5h.9ei.elvis-85514@notatla.org.uk> <20161130224906.465931202CD@fleegle.mixmin.net> <slrno3urel.bhk.elvis-85514@notatla.org.uk> <20161201030717.17099120351@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: Mixmin Injection-Date: Thu, 1 Dec 2016 08:52:42 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="6f84bfd810c2046f5da1938db8333cd8223ecb16"; User-Agent: slrn/pre1.0.3-12 (Linux) Lines: 74