1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-09-18 00:32:50 +02:00
aerc/lib/jwz/testdata/0081.9d26c2d149545a1c5d23e2cd4dca1b5f.eml
Robin Jarry 13e9ee3b40 lib: vendor-in the jwz library
The maintainer of this library has gone AWOL. We are depending on
a patch that has never been merged. Let's vendor the library to avoid
future issues.

This patch has been made with the following steps:

git clone https://github.com/konimarti/jwz lib/jwz
git -C lib/jwz checkout fix-missing-messages
mv lib/jwz/test/testdata/ham lib/jwz/testdata
sed -i 's#test/testdata#testdata#' lib/jwz/jwz_test.go
rm -rf lib/jwz/.* lib/jwz/docs lib/jwz/examples lib/jwz/test
sed -i 's#github.com/gatherstars-com/jwz#git.sr.ht/~rjarry/aerc/lib/jwz#' \
	lib/threadbuilder.go
go mod tidy
git add --intent-to-add lib/jwz
make fmt

Along with some manual adjustments to fix the linter warnings. Also, to
make the patch smaller, I only kept 93 test emails from the test data
fixture.

Changelog-changed: The JWZ library used for threading is now vendored.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Moritz Poldrack <moritz@poldrack.dev>
2025-08-28 09:28:16 +02:00

97 lines
4.3 KiB
Text

From: razor-users-admin@lists.sourceforge.net Mon Sep 2 12:20:32 2002
Return-Path: <razor-users-admin@example.sourceforge.net>
Delivered-To: zzzz@localhost.netnoteinc.com
Received: from localhost (localhost [127.0.0.1])
by phobos.labs.netnoteinc.com (Postfix) with ESMTP id D8F2643F9B
for <zzzz@localhost>; Mon, 2 Sep 2002 07:20:28 -0400 (EDT)
Received: from phobos [127.0.0.1]
by localhost with IMAP (fetchmail-5.9.0)
for zzzz@localhost (single-drop); Mon, 02 Sep 2002 12:20:30 +0100 (IST)
Received: from usw-sf-list2.sourceforge.net (usw-sf-fw2.sourceforge.net
[216.136.171.252]) by dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id
g7TJQgZ25729 for <zzzz-razor@example.com>; Thu, 29 Aug 2002 20:26:42 +0100
Received: from usw-sf-list1-b.sourceforge.net ([10.3.1.13]
helo=usw-sf-list1.sourceforge.net) by usw-sf-list2.sourceforge.net with
esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 17kUmz-0004JX-00; Thu,
29 Aug 2002 12:17:09 -0700
Received: from mailgate.sri.com ([128.18.243.11]) by
usw-sf-list1.sourceforge.net with smtp (Exim 3.31-VA-mm2 #1 (Debian)) id
17kUmC-0008At-00 for <razor-users@lists.sourceforge.net>; Thu,
29 Aug 2002 12:16:20 -0700
Received: (qmail 23083 invoked from network); 29 Aug 2002 19:15:48 -0000
Received: from localhost (HELO mailgate.SRI.COM) (127.0.0.1) by
mailgate.sri.com with SMTP; 29 Aug 2002 19:15:48 -0000
Received: from newmail.sri.com ([128.18.30.43]) by mailgate.SRI.COM (NAVGW
2.5.1.18) with SMTP id M2002082912154827439 for
<razor-users@lists.sourceforge.net>; Thu, 29 Aug 2002 12:15:48 -0700
Received: from sri.com ([128.18.28.107]) by newmail.sri.com (Netscape
Messaging Server 4.15) with ESMTP id H1MDJE00.QC6 for
<razor-users@lists.sourceforge.net>; Thu, 29 Aug 2002 12:16:26 -0700
Message-Id: <3D6E7347.9090304@sri.com>
From: "Michael Duff" <michael.duff@sri.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1)
Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: razor-users@example.sourceforge.net
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [Razor-users] Re: Can't call method "log" with SA/Razor2
Sender: razor-users-admin@example.sourceforge.net
Errors-To: razor-users-admin@example.sourceforge.net
X-Beenthere: razor-users@example.sourceforge.net
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Help: <mailto:razor-users-request@example.sourceforge.net?subject=help>
List-Post: <mailto:razor-users@example.sourceforge.net>
List-Subscribe: <https://example.sourceforge.net/lists/listinfo/razor-users>,
<mailto:razor-users-request@lists.sourceforge.net?subject=subscribe>
List-Id: <razor-users.example.sourceforge.net>
List-Unsubscribe: <https://example.sourceforge.net/lists/listinfo/razor-users>,
<mailto:razor-users-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://www.geocrawler.com/redir-sf.php3?list=razor-users>
X-Original-Date: Thu, 29 Aug 2002 12:17:27 -0700
Date: Thu, 29 Aug 2002 12:17:27 -0700
This is happening due to insufficient write access to the
"razor-agent.log" file. I was getting the same error, but
only as a non-root user. As a quick workaround, you can do
"chmod go+w razor-agent.log".
In Agent.pm, when then the Logger object is created, it
doesn't check whether the logfile is writable by the current
user. Then, when a write attempt is made, it bails out with
the "unblessed reference" error.
Hope that helps,
Michael
> I just noticed the following log entries in my syslog with the latest
> Spamassassin CVS (set up using spamc/spamd) and razor-agents 2.14:
>
> Jul 26 17:30:09 timmy spamd[54928]: razor2 check skipped: No such file or
> directory Can't call method "log" on unblessed reference at
> /usr/local/lib/perl5/site_perl/5.6.1/Razor2/Client/Agent.pm line 211,
> <STDIN> line 25.
>
> I saw this after checking if my upgrade from razor-agents 2.12 to 2.14 went
> okay, but the problem is still there after downgrading back to 2.12. I
> don't really know when this started happening, :-/
>
> Any ideas on the problem?
>
> - Robert
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users