From users-return-118078-archive-asf-public=cust-asf.ponee.io@spamassassin.apache.org Fri Apr 20 15:57:28 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 499FB180645 for ; Fri, 20 Apr 2018 15:57:28 +0200 (CEST) Received: (qmail 1564 invoked by uid 500); 20 Apr 2018 13:57:26 -0000 Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@spamassassin.apache.org Received: (qmail 1541 invoked by uid 99); 20 Apr 2018 13:57:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Apr 2018 13:57:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AB80D1A0276; Fri, 20 Apr 2018 13:57:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=paclan.it Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id jDXVFjItNedv; Fri, 20 Apr 2018 13:57:23 +0000 (UTC) Received: from smtp-cluster.snb.it (smtp-cluster.snb.it [79.137.57.204]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id EFB475F238; Fri, 20 Apr 2018 13:57:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp-cluster.snb.it (Postfix) with ESMTP id 0E8CA1FC05; Fri, 20 Apr 2018 15:57:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=paclan.it; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject; s=dkim; t= 1524232635; x=1526047036; bh=I/GZq47JWKWIr5EM13I3l/Gg0IQuVcNr5Sk 7gV9znH8=; b=bqXw2dQxYsI+pdm9SC8SqwHdPPgNZOCl+JMhMPl1benL+ag/Vzx cZvlT60+YeoQbGWNKsxQazocQxDBvpb7DOikLSCTGlXHsj1c8At8OZNGf4i+jS3W oTLOS2rLBOsDHLH8RUC6dAy5ueQ6rTHTxIjy+FaiUMTr6EZdS5qsledE= X-Virus-Scanned: amavisd-new at snb.it Received: from smtp-cluster.snb.it ([127.0.0.1]) by localhost (thor.snb.it [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vmlTA352dheI; Fri, 20 Apr 2018 15:57:15 +0200 (CEST) Received: from bigio.paclan.it (net-188-152-93-88.cust.vodafonedsl.it [188.152.93.88]) (Authenticated sender: smtp@paclan.it) by smtp-cluster.snb.it (Postfix) with ESMTPSA id 61D221FBFA; Fri, 20 Apr 2018 15:57:15 +0200 (CEST) Received: from bigio.paclan.it (localhost [IPv6:::1]) by bigio.paclan.it (OpenSMTPD) with ESMTP id cef519b4; Fri, 20 Apr 2018 15:57:14 +0200 (CEST) Subject: Re: spamc --reporttype= not working and curious log message. To: "Kevin A. McGrail" , Reio Remma Cc: SA Mailing list , dev@spamassassin.apache.org References: <06be732f-bc89-4cb2-b0c3-1a5d97579047@mrstuudio.ee> <6a617556-f75a-d58d-bd37-b076777afc79@mrstuudio.ee> From: Giovanni Bechis Message-ID: <8735fbd2-64a3-147a-5793-8bcf8186eea3@paclan.it> Date: Fri, 20 Apr 2018 15:57:14 +0200 User-Agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 04/20/18 13:53, Kevin A. McGrail wrote: > FYI, I'm well aware of the 3.4 test issue with rulesrc.=C2=A0 I have it= symlinked to a checkout for my purposes.=C2=A0 I'll document that more. >=20 > I am using CentOS 7 as well for testing and not aware of these perl dep= endency issues you are having.=C2=A0 Please elaborate further. >=20 I cannot find Devel::Size on Centos7 standard repositories. As for RabinKarpAccel, the author says "Unfortunately, while it's great f= or many parallel-match tasks, it's not so hot with SpamAssassin rules, wh= ich is what I wrote it for" on his web page[=C2=B9] and I cannot find it = on cpan. Is this plugin really useful ? From svn logs I can find that 12 years ago= jm@ wrote: "reactivate RabinKarpBody plugin, which uses the Rabin-Karp algorithm to = perform fast body searches; not as fast as re2xs though". Giovanni [=C2=B9] http://taint.org/wk/JustinsSoftware > -- > Kevin A. McGrail > Asst. Treasurer & VP Fundraising, Apache Software Foundation > Chair Emeritus Apache SpamAssassin Project > https://www.linkedin.com/in/kmcgrail=C2=A0- 703.798.0171 >=20 > On Fri, Apr 20, 2018 at 5:03 AM, Reio Remma > wrote: >=20 > On 20.04.18 9:50, Giovanni Bechis wrote: >=20 > On 04/19/18 09:24, Reio Remma wrote: > [...] >=20 > *Update:* none of the --option=3D switches work. >=20 > handle_user (userdir) unable to find user: '' is caused bec= ause I have the -username switch as --username=3Damavis instead of --user= name amavis >=20 > It worked in 3.4.1. >=20 > Is it at all possible that I botched the RPM for 3.4.2? >=20 > no, I botched it. > Fixed in r1829628. > =C2=A0 Thanks > =C2=A0 =C2=A0Giovanni >=20 >=20 > I can confirm that it works. >=20 > Two things I wanted to point out that I noticed when building the R= PM for CentOS 7. There seem to be a few things in 3.4.2 branch that have = dependencies that don't exist in CentOS 7. >=20 > --> Processing Dependency: perl(RabinKarpAccel) for package: spamas= sassin-3.4.2-0.el7.centos.x86_64 > --> Finished Dependency Resolution > Error: Package: spamassassin-3.4.2-0.el7.centos.x86_64 (/spamassass= in-3.4.2-0.el7.centos.x86_64) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Requires: perl(RabinKarpAc= cel) > Error: Package: spamassassin-3.4.2-0.el7.centos.x86_64 (/spamassass= in-3.4.2-0.el7.centos.x86_64) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Requires: perl(Devel::Size= ) >=20 > To get around those I had to remove these (as I undersand they're e= xperimental anyway): >=20 > Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Plugin/NetCache.pm > Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Util/MemoryDump.pm > Mail-SpamAssassin-3.4.2/lib/Mail/SpamAssassin/Plugin/RabinKarpBody.= pm >=20 > At first I tried removing all in MANIFEST.SKIP, but that seemed to = be too much for it. :) >=20 > Also there are a couple of warnings when building: >=20 > make -f spamc/Makefile spamc/spamc > make[1]: Entering directory `/home/reio/rpmbuild/BUILD/Mail-SpamAss= assin-3.4.2' > make[1]: warning: jobserver unavailable: using -j1.=C2=A0 Add `+' t= o parent make rule. > gcc -DSPAMC_SSL -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexce= ptions -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -grecord-gc= c-switches=C2=A0 =C2=A0-m64 -mtune=3Dgeneric spamc/spamc.c spamc/getopt.c= spamc/libspamc.c spamc/utils.c \ > =C2=A0 =C2=A0 =C2=A0 =C2=A0 -o spamc/spamc=C2=A0 -lssl -lcrypto=C2=A0= -ldl -lz > spamc/libspamc.c: In function '_try_to_connect_tcp': > spamc/libspamc.c:491:19: warning: variable 'family' set but not use= d [-Wunused-but-set-variable] > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0char *family =3D NU= LL; > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= ^ > spamc/libspamc.c: In function 'transport_setup': > spamc/libspamc.c:1911:35: warning: unused variable 'addrp' [-Wunuse= d-variable] > =C2=A0 =C2=A0 =C2=A0struct addrinfo hints, *res, *addrp; > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ > spamc/libspamc.c: In function 'libspamc_log': > spamc/libspamc.c:2239:9: warning: ignoring return value of 'write',= declared with attribute warn_unused_result [-Wunused-result] > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(void) write (2, buf, len); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ > make[1]: Leaving directory `/home/reio/rpmbuild/BUILD/Mail-SpamAssa= ssin-3.4.2' >=20 >=20