From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Anti-spam changes: proposal to drop spammy mail
Date: Mon, 11 May 2015 20:08:51 +0000 [thread overview]
Message-ID: <robbat2-20150511T194602-284906609Z@orbis-terrarum.net> (raw)
In-Reply-To: <555103A7.9030405@gentoo.org>
On Mon, May 11, 2015 at 03:31:51PM -0400, Michael Orlitzky wrote:
> On 05/11/2015 03:29 AM, Eray Aslan wrote:
> > On Mon, May 11, 2015 at 04:26:01AM +0000, Robin H. Johnson wrote:
> >> TL;DR: As of May 17, @gentoo.org will drop incoming spammy mail instead of
> >> delivering it. Speak now or hold your peace.
> >
> > Believe me I understand your pain. Been there done that. However,
> > dropping mail is never a good idea. You are mucking with the
> > dependebility of the email.
> Is there some reason a pre-queue filter (with amavisd-new) wouldn't
> work? Then we could reject the spammy messages (at SMTP time) instead of
> silently dropping them.
By drop, I will clarify that they should ideally be rejected at SMTP
time, not silently dropped.
amavis settings for this in theory are:
$sa_kill_level_deflt = 20.0;
$sa_dsn_cutoff_level = 20.0;
$sa_crediblefrom_dsn_cutoff_level = 20.0;
$final_virus_destiny = D_REJECT;
$final_banned_destiny = D_REJECT;
$final_spam_destiny = D_REJECT;
(The other choices are D_PASS, D_BOUNCE, D_DISCARD)
D_REJECT is supposed to just reply to the SMTP error.
It's doing that, but it's ALSO sending a NDN, despite amavis settings to
the contrary.
Here's a quick test, with D_REJECT that show the NDN being sent (and rejected
since that address was probably faked).
May 11 20:00:45 woodpecker postfix/smtpd[21896]: E83DF34098C: client=unknown[183.93.114.52]
May 11 20:00:46 woodpecker postfix/cleanup[21836]: E83DF34098C: message-id=<>
May 11 20:00:46 woodpecker postfix/qmgr[21745]: E83DF34098C: from=<mldmh@bjchwa.com>, size=5678, nrcpt=1 (queue active)
May 11 20:00:53 woodpecker amavis[21935]: (21935-01) Blocked SPAM {RejectedInbound}, [183.93.114.52]:4758 [183.93.114.52] <mldmh@bjchwa.com> -> <$DEVNAME@gentoo.org>, Queue-ID: E83DF34098C, mail_id: 6k-hfYzAtEKp, Hits: 26.004, size: 5678, 6812 ms
May 11 20:00:53 woodpecker postfix/bounce[21847]: E83DF34098C: sender non-delivery notification: 7ECE534098D
May 11 20:00:53 woodpecker postfix/cleanup[21754]: 7ECE534098D: message-id=<20150511200053.7ECE534098D@smtp.gentoo.org>
May 11 20:00:53 woodpecker postfix/qmgr[21745]: 7ECE534098D: from=<>, size=7622, nrcpt=1 (queue active)
May 11 20:00:53 woodpecker postfix/qmgr[21745]: E83DF34098C: removed
May 11 20:00:53 woodpecker postfix/smtp[21837]: E83DF34098C: to=<$DEVNAME@gentoo.org>, relay=127.0.0.1[127.0.0.1]:10024, delay=12, delays=4.8/0/0.01/6.8, dsn=5.7.0, status=bounced (host 127.0.0.1[127.0.0.1] said: 554 5.7.0 Reject, id=21935-01 - spam (in reply to end of DATA command))
May 11 20:01:25 woodpecker postfix/qmgr[21745]: 7ECE534098D: removed
May 11 20:01:25 woodpecker postfix/smtp[21773]: 7ECE534098D: to=<mldmh@bjchwa.com>, relay=mxbiz1.qq.com[184.105.206.87]:25, delay=32, delays=0/0/30/1, dsn=5.0.0, status=bounced (host mxbiz1.qq.com[184.105.206.87] said: 550 Mail content denied. http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=20022&&no=1000726 (in reply to end of DATA command))
--
Robin Hugh Johnson
Gentoo Linux: Developer, Infrastructure Lead
E-Mail : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
next prev parent reply other threads:[~2015-05-11 20:09 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 4:26 [gentoo-dev] Anti-spam changes: proposal to drop spammy mail Robin H. Johnson
2015-05-11 7:29 ` Eray Aslan
2015-05-11 9:15 ` Tobias Klausmann
2015-05-11 19:31 ` Michael Orlitzky
2015-05-11 19:35 ` Kristian Fiskerstrand
2015-05-11 20:01 ` Michael Orlitzky
2015-05-11 20:08 ` Robin H. Johnson [this message]
2015-05-11 20:47 ` Michael Orlitzky
2015-05-12 5:19 ` Eray Aslan
2015-05-12 10:26 ` Rich Freeman
2015-05-12 10:39 ` Peter Stuge
2015-05-12 12:56 ` Niels Dettenbach
2015-05-11 9:38 ` Tony Vroon
2015-05-11 10:09 ` Niels Dettenbach
2015-05-11 20:36 ` Robin H. Johnson
2015-05-12 7:18 ` Niels Dettenbach
2015-05-11 12:39 ` Andrew Savchenko
2015-05-11 12:47 ` Niels Dettenbach
2015-05-11 20:27 ` Robin H. Johnson
2015-05-11 13:27 ` Charles Nérot
2015-05-11 13:37 ` C Bergström
2015-05-11 13:59 ` Rich Freeman
2015-05-11 14:44 ` C Bergström
2015-05-11 14:59 ` Rich Freeman
2015-05-11 15:21 ` C Bergström
2015-05-11 16:17 ` Alexis Ballier
2015-05-11 16:20 ` Ciaran McCreesh
2015-05-11 16:32 ` Alexis Ballier
2015-05-11 16:38 ` Michał Górny
2015-05-11 16:25 ` C Bergström
2015-05-11 16:19 ` Matthew Thode
2015-05-11 16:55 ` Rich Freeman
2015-05-11 17:06 ` C Bergström
2015-05-23 6:18 ` J. Roeleveld
2015-05-23 6:24 ` C Bergström
2015-05-23 11:05 ` Andrew Savchenko
2015-05-23 6:39 ` Niels Dettenbach (Syndicat.com)
2015-05-23 7:54 ` [gentoo-dev] " Duncan
2015-05-23 8:01 ` [gentoo-dev] " James Le Cuirot
2015-05-23 11:16 ` Rich Freeman
2015-05-23 12:32 ` Andrew Savchenko
2015-05-23 13:07 ` Rich Freeman
2015-05-23 13:34 ` Niels Dettenbach (Syndicat.com)
2015-05-23 14:20 ` Rich Freeman
2015-05-23 14:32 ` Niels Dettenbach (Syndicat.com)
2015-05-23 15:36 ` Rich Freeman
2015-05-23 14:23 ` Ciaran McCreesh
2015-05-23 14:29 ` Niels Dettenbach (Syndicat.com)
2015-05-23 16:24 ` Mike Frysinger
2015-05-11 21:10 ` Robin H. Johnson
2015-05-12 8:37 ` [gentoo-dev] Re: [gentoo-project] " Mike Frysinger
2015-05-12 8:58 ` [gentoo-dev] " Amadeusz Żołnowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=robbat2-20150511T194602-284906609Z@orbis-terrarum.net \
--to=robbat2@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox