Thread View: news.software.readers
1 messages
1 total messages
Started by Fritz Wuehler
Thu, 31 May 2012 15:28
[slrn] Bugfix for Mixmaster integration script
Author: Fritz Wuehler
Date: Thu, 31 May 2012 15:28
Date: Thu, 31 May 2012 15:28
56 lines
4082 bytes
4082 bytes
I've discovered that when using the "mixmaster.sl" script (from
message-id <af850f89540eb06999b61dfc55ae739a@dizum.com> ), slrn passes
obnoxiously large headers on to mixmaster. Perhaps rightly so, but
mixmaster drops the ball when it gets a header like this:
bighdr] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
bighdr] d=frell.theremailer.net; s=remailer;
bighdr] h=Date:Message-ID:Subject:Newsgroups:Comments:From;
bighdr] bh=y5AjBf6JKIyqBFOspf256AFJAddrvDeZtVH1kw2aedE=;
bighdr] b=AUx58OoRCk/O1ep/SxBZ2xj2uQ7Nn3VQ4sR2zjb6Jq36QDmWGzQVOm5kwsdY6gD1zyIXO6s2zDNI2LtRkyvvgkr1EqCH+p4poltk3HB9JBox2P0XnuIkn1H7VbCm+PEZueoJ69dSHDk89toeK4ABq6GvZMH+No1iX/O3ae0og49OwKxvWwe1gvFS3q3KQcyZVvg0DXjk/ilwlSK0wOd8dC3mVGFPWNBfNtmhbDn4AJAEDhdBIMq8b8GlH908vdyTqNgh1cEjHg9X4YxAAK2b8mJqzhXURdRIrtqJSoq7t+jE4PtZpjIcThXxtVEs4SpJDSr4ALilWcZVyusIzNtYYik=;
bighdr] From: Fritz Wuehler <fritz@spamexpire-201205.rodent.frell.theremailer.net>
bighdr] Comments: This message did not originate from the Sender address above.
bighdr] It was remailed automatically by anonymizing remailer software.
bighdr] Please report problems or inappropriate use to the
bighdr] remailer administrator at <abuse@frell.theremailer.net>.
bighdr] Identifying the real sender is technically impossible.
bighdr] Subject: Re: [slrn] mixmaster integration
bighdr] References: <ad9957e21f48a63d9e190796973e8b67@dizum.com>
bighdr] Message-ID: <54763032884ffe94009aa425c75418b9@msgid.frell.theremailer.net>
bighdr] Precedence: anon
bighdr] Date: Tue, 29 May 2012 03:15:37 +0200
bighdr] Newsgroups: news.software.readers,alt.privacy.anon-server
bighdr] Path: aioe.org!news.mixmin.net!mail2news.mixmin.net!not-for-mail
bighdr] Lines: 7
bighdr] Injection-Info: mail2news.mixmin.net; mail-complaints-to=abuse@mixmin.net
bighdr] Xref: aioe.org news.software.readers:20762 alt.privacy.anon-server:26415
The problem is with either the "DKIM-Signature:" or the "Comments:".
Mixmaster does not need them, so the fix is to have a shell wrapper
script that strips them out. Instead of calling mixmaster directly,
have mixmaster.sl call this script instead:
mm.sh] #!/bin/bash
mm.sh]
mm.sh] typeset script_pathname=${0}
mm.sh]
mm.sh] case "$1" in
mm.sh] *txt)
mm.sh] tmp_fn="$1"
mm.sh]
mm.sh] emacs --eval '(progn (find-file "'$tmp_fn'")(post-mode))'
mm.sh] ;;
mm.sh] *)
mm.sh] original_editor=$EDITOR
mm.sh] EDITOR=$script_pathname
mm.sh] formail -I DKIM-Signature: -I Comments: | mixmaster $*
mm.sh] EDITOR=$original_editor
mm.sh] ;;
mm.sh] esac
Note that you must have emacs, formail, and emacs post-mode installed
for it to work.
To test if you have the bug, try replying to this message-id:
<54763032884ffe94009aa425c75418b9@msgid.frell.theremailer.net>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads