The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: "Michael Kjörling" <michael@kjorling.se>
To: tuhs@minnie.tuhs.org
Subject: Re: [TUHS] off-topic list
Date: Sun, 24 Jun 2018 10:04:38 +0000	[thread overview]
Message-ID: <20180624100438.GY10129@h-174-65.A328.priv.bahnhof.se> (raw)
In-Reply-To: <09ee8833-c8c0-8911-751c-906b737209b7@spamtrap.tnetconsulting.net>

On 23 Jun 2018 18:18 -0600, from tuhs@minnie.tuhs.org (Grant Taylor via TUHS):
>> Now you use several programs which all ship with all the knowledge.
> 
> I suppose if you count greping for a line in a text file as
> knowledge of the format, okay.
> 
> egrep "^Subject: " message.txt
> 
> There's nothing special about that.  It's a text file with a line
> that looks like this:
> 
> Subject: Re: [TUHS] off-topic list

The problem, of course (and I hope this is keeping this Unixy enough),
with that approach is that it won't handle headers split across
multiple lines (I'm looking at you, Received:, but you aren't alone),
and that it'll match lines in the body of the message as well (such as
the "Subject: " line in the body of your message), unless the body
happens to be e.g. Base64 encoded which instead complicates searching
for non-header material.

For sure neither is insurmountable even with standard tools, but it
does require a bit more complexity than a simple egrep to properly
parse even a single message, let alone a combination of multiple ones
(as seen in mbox mailboxes, for example). At that point having
specific tools, such as formail, that understand the specific file
format does start to make sense...

There isn't really much conceptual difference between writing, say,
    formail -X Subject: < message.txt
and
    egrep "^Subject: " message.txt
but the way the former handles certain edge cases is definitely better
than that of the latter.

Make everything as simple as possible, but not simpler. (That goes for
web pages, too, by the way.)


> But I do wish that TUHS stripped DKIM and associated headers of
> messages going into the mailing list.  By doing that, there would be
> no data to compare to that wouldn't match.
> 
> I think it would be even better if TUHS would DKIM sign messages as
> they leave the mailing list's mail server.

I believe the correct way would indeed be to validate, strip and
possibly re-sign. That way, everyone would (should) be making correct
claims about a message's origin.

FWIW, SPF presents a similar problem with message forwarding without
address rewriting... so it's definitely not just DKIM.

-- 
Michael Kjörling • https://michael.kjorling.se • michael@kjorling.se
  “The most dangerous thought that you can have as a creative person
              is to think you know what you’re doing.” (Bret Victor)

  reply	other threads:[~2018-06-24 10:14 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-21 22:44 [TUHS] core Nelson H. F. Beebe
2018-06-21 23:07 ` Grant Taylor via TUHS
2018-06-21 23:38   ` Toby Thain
2018-06-21 23:47   ` [TUHS] off-topic list Warren Toomey
2018-06-22  1:11     ` Grant Taylor via TUHS
2018-06-22  3:53     ` Robert Brockway
2018-06-22  4:18     ` Dave Horsfall
2018-06-22 11:44       ` Arthur Krewat
2018-06-22 14:28       ` Larry McVoy
2018-06-22 14:46         ` Tim Bradshaw
2018-06-22 14:54           ` Larry McVoy
2018-06-22 15:17             ` Steffen Nurpmeso
2018-06-22 17:27               ` Grant Taylor via TUHS
2018-06-22 19:25                 ` Steffen Nurpmeso
2018-06-22 21:04                   ` Grant Taylor via TUHS
2018-06-23 14:49                     ` Steffen Nurpmeso
2018-06-23 15:25                       ` Toby Thain
2018-06-23 18:49                       ` Grant Taylor via TUHS
2018-06-23 21:05                         ` Tom Ivar Helbekkmo via TUHS
2018-06-23 21:21                         ` Michael Parson
2018-06-23 23:31                           ` Grant Taylor via TUHS
2018-06-23 23:36                             ` Larry McVoy
2018-06-23 23:37                               ` Larry McVoy
2018-06-24  0:20                                 ` Grant Taylor via TUHS
2018-06-25  2:53                           ` Dave Horsfall
2018-06-25  5:40                             ` Grant Taylor via TUHS
2018-06-25  6:15                             ` arnold
2018-06-25  7:27                               ` Bakul Shah
2018-06-25 12:52                               ` Michael Parson
2018-06-25 13:41                                 ` arnold
2018-06-25 13:56                                   ` arnold
2018-06-25 13:59                               ` Adam Sampson
2018-06-25 15:05                               ` Grant Taylor via TUHS
2018-06-26  9:05                               ` Derek Fawcus
2018-06-28 14:25                                 ` [TUHS] email filtering (was Re: off-topic list) Perry E. Metzger
2018-06-23 22:38                         ` [TUHS] off-topic list Steffen Nurpmeso
2018-06-24  0:18                           ` Grant Taylor via TUHS
2018-06-24 10:04                             ` Michael Kjörling [this message]
2018-06-25 16:10                               ` Steffen Nurpmeso
2018-06-25 18:48                                 ` Grant Taylor via TUHS
2018-06-25  0:43                             ` [TUHS] mail (Re: " Bakul Shah
2018-06-25  1:15                               ` Lyndon Nerenberg
2018-06-25  2:44                                 ` George Michaelson
2018-06-25  3:04                                   ` Larry McVoy
2018-06-25  3:15                                 ` Bakul Shah
2018-06-25 16:26                                 ` Steffen Nurpmeso
2018-06-25 18:59                                   ` Grant Taylor via TUHS
2018-06-25 14:18                             ` [TUHS] " Clem Cole
2018-06-25 15:28                               ` [TUHS] off-topic list [ really mh ] Jon Steinhart
2018-06-26  7:49                                 ` Ralph Corderoy
2018-06-25 15:51                             ` [TUHS] off-topic list Steffen Nurpmeso
2018-06-25 18:21                               ` Grant Taylor via TUHS
2018-06-26 20:38                                 ` Steffen Nurpmeso
2018-06-22 16:07             ` Tim Bradshaw
2018-06-22 16:36               ` Steve Johnson
2018-06-22 20:55               ` Bakul Shah
2018-06-22 14:52         ` Ralph Corderoy
2018-06-22 15:13           ` SPC
2018-06-22 16:45           ` Larry McVoy
2018-06-22 15:28         ` Clem Cole
2018-06-22 17:17         ` Grant Taylor via TUHS
2018-06-22 18:00         ` Dan Cross
2018-06-22 17:29       ` Cág
2018-06-22  2:21 Noel Chiappa
2018-06-22 22:23 Doug McIlroy
2018-06-22 23:20 ` John P. Linderman
2018-06-23  0:22 ` Warren Toomey
2018-06-24  3:08 Norman Wilson
2018-06-24 13:14 Noel Chiappa
2018-06-25  1:38 ` Dave Horsfall
2018-06-25  1:46   ` Grant Taylor via TUHS
2018-06-25 16:44     ` Steffen Nurpmeso
2018-06-25 12:45 ` Tony Finch
2018-06-25 16:41 ` Steffen Nurpmeso
2018-06-25 14:44 Noel Chiappa
2018-06-25 15:44 ` Clem Cole
2018-06-25 16:03   ` Paul Winalski
2018-06-25 17:22     ` Clem Cole
2018-06-25 16:10 Noel Chiappa
2018-06-25 17:37 ` Clem Cole
2018-06-25 19:35   ` Grant Taylor via TUHS
2018-06-25 20:09     ` Clem Cole
2018-06-25 20:47       ` Grant Taylor via TUHS
2018-06-25 21:15         ` Clem Cole
2018-06-26  7:01           ` arnold
2018-06-26  8:57           ` Derek Fawcus
2018-06-26 11:29         ` Tim Bradshaw
2018-06-26 13:09       ` Tony Finch
2018-06-26 18:04         ` Warner Losh
2018-06-26 21:16           ` Clem Cole
2018-06-27 21:33             ` Michael Parson
2018-06-27 22:27               ` Clem cole
2018-06-28  5:57                 ` arnold
2018-06-28 18:36                   ` Michael Parson
2018-06-26 15:57       ` Michael Kjörling
2018-06-26 21:09         ` Steffen Nurpmeso
2018-06-26 21:18           ` Clem Cole
2018-06-26 23:45             ` George Michaelson
2018-06-25 20:15     ` Lyndon Nerenberg
2018-06-26  8:27       ` Tony Finch

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=20180624100438.GY10129@h-174-65.A328.priv.bahnhof.se \
    --to=michael@kjorling.se \
    --cc=tuhs@minnie.tuhs.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;
as well as URLs for NNTP newsgroup(s).