Re: SpamAssassin 3.4.2. - err.h requirement

2018-09-17 Thread Bill Cole

On 17 Sep 2018, at 22:57, James Hsieh wrote:


So this is odd:

I finally started this without the daemonize option to see if it gave 
me anything more enlightening and got:


Sep 17 22:44:15.326 [21704] error: config: no rules were found! Do you 
need to run 'sa-update'?

config: no rules were found!  Do you need to run 'sa-update'?

Sure enough /var/lib/spamassassin/3.004002/updates_spamassassin_org is 
empty.


/usr/local/bin/curl -s -L -O --remote-time -g --max-redirs 2 
--connect-timeout 30 --max-time 300 --fail -o MIRRORED.BY -- 
http://spamassassin.apache.org/updates/MIRRORED.BY 



This is what appears to have failed.  It didn't download anything.

superchicken:root# host spamassassin.apache.org
spamassassin.apache.org has address 95.216.24.32
spamassassin.apache.org has address 40.79.78.1
spamassassin.apache.org has IPv6 address 2a01:4f9:2a:185f::2
spamassassin.apache.org mail is handled by 10 mx1-lw-eu.apache.org.
spamassassin.apache.org mail is handled by 10 mx1-lw-us.apache.org.
superchicken:root#

The issue is with the mirror at 95.216.24.32 - it's returning a 404 
for the file.  If you go to


http://95.216.24.32/updates/MIRRORED.BY 



you get a not found.


Yes, because that webserver uses name-based virtual hosts: you can't 
just use the IP in the URL, you need to make sure you send the proper 
hostname. You also need to follow HTTP redirects, because the http URL 
redirects to a https URL. Like this:


$ curl -sOL -H 'Host: spamassassin.apache.org' 
http://95.216.24.32/updates/MIRRORED.BY

$ ls -l MIRRORED.BY
-rw-r--r--  1 bill  staff  1400 Sep 18 00:01 MIRRORED.BY
$ head MIRRORED.BY
#HOW TO UPDATE
#
# SOURCE: https://svn.apache.org/repos/asf/spamassassin/site/updates/
#
# 'svn checkout' the repo, update this file, and commit it
#
# A svnpubsub update on spamassassin.apache.org will instantly pull
# from SVN after the commit.
#
# A cron'd update on sa-vm1.apache.org will also automatically pull


I copied the MIRRORED.BY file from the 3.004001 directory then re-ran 
sa-update.  It pulled down rules and I'm in business.


Kevin, thanks for the patch.  It works.  Sorry for the extra noise and 
perhaps we need to do something about that broken mirror?


The mirror doesn't look broken from here.


Re: SpamAssassin 3.4.2. - err.h requirement

2018-09-17 Thread Bill Cole

On 17 Sep 2018, at 22:03 (-0400), Kevin A. McGrail wrote:


Interesting I think Bill added that code.


Nope. From svn:

3042	mmartinec	810883	die sprintf("child process [%s] exited or 
timed out ".
3043	 	 	"without signaling production of a PID file: 
%s",
3044	 	 	$pid, exit_status_str($child_stat,0)) unless 
$serverstarted;




On 9/17/2018 9:16 PM, James Hsieh wrote:
This does help things to build.  I can build successfully.  I now 
have a problem where spamd seems to be jumping out of the startup 
wait loop.


I keep hitting this code:

die sprintf("child process [%s] exited or timed out ".
"without signaling production of a PID file: %s",
$pid, exit_status_str($child_stat,0)) unless 
$serverstarted;


However, there's no waiting for things to start.  I'm investigating 
this now.


--James

On Sep 17, 2018, at 4:53 PM, Kevin A. McGrail  
wrote:


This patch was added for windows.  Does it help you?  It switches to 
errno.h


--- getopt.c2018-09-13 21:27:52.0 -0400
+++ ../../3.4/spamc/getopt.c2018-09-17 07:12:38.758722882 -0400
@@ -21,7 +21,7 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 #include "getopt.h"

 #ifdef WIN32
@@ -246,7 +246,8 @@
   if((bp = strchr(longopt, '='))) {
  opt = strdup(bp+1);
  if (opt == NULL) {
-err(1, NULL);
+fprintf(stderr, "%s: %s\n", argv[0], strerror(errno));
+exit(1);
  }
  longoptlen -= strlen(bp);
   }

On 9/17/2018 4:37 PM, James Hsieh wrote:
So this isn't a complaint.  I think the SA team has done a great 
job getting this release out and yes, it works fine for me under 
Linux.


However, any creative ways for getting around the fact that err.h 
is now part of spamc/getopt.c?  This breaks older OSes (which 
admittedly I probably shouldn't care about or use anymore) such as 
Solaris 10.  For a double dot release, this seems a bit unfortunate 
though I agree, really need to get this system on to something more 
modern.


make -f spamc/Makefile spamc/spamc
/usr/local/bin/gcc  -g spamc/spamc.c spamc/getopt.c 
spamc/libspamc.c spamc/utils.c \
   -o spamc/spamc -L/usr/lib -L/usr/ccs/lib 
-L/opt/solarisstudio12.3/prod/lib/sparc 
-L/opt/solarisstudio12.3/prod/lib -L/lib -L/usr/local/lib  -ldl -lz 
-lnsl -lsocket

spamc/getopt.c:24:17: fatal error: err.h: No such file or directory
compilation terminated.
*** Error code 1
make: Fatal error: Command failed for target `spamc/spamc'
Current working directory /export/src/Mail-SpamAssassin-3.4.2
*** Error code 1
make: Fatal error: Command failed for target `spamc/spamc'

--James


--
Kevin A. McGrail
VP Fundraising, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171



--
Kevin A. McGrail
VP Fundraising, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171




--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Currently Seeking Steadier Work: https://linkedin.com/in/billcole


Re: SpamAssassin 3.4.2. - err.h requirement

2018-09-17 Thread James Hsieh
So this is odd:

I finally started this without the daemonize option to see if it gave me 
anything more enlightening and got:

Sep 17 22:44:15.326 [21704] error: config: no rules were found! Do you need to 
run 'sa-update'?
config: no rules were found!  Do you need to run 'sa-update'?

Sure enough /var/lib/spamassassin/3.004002/updates_spamassassin_org is empty.

/usr/local/bin/curl -s -L -O --remote-time -g --max-redirs 2 --connect-timeout 
30 --max-time 300 --fail -o MIRRORED.BY -- 
http://spamassassin.apache.org/updates/MIRRORED.BY 


This is what appears to have failed.  It didn't download anything.

superchicken:root# host spamassassin.apache.org
spamassassin.apache.org has address 95.216.24.32
spamassassin.apache.org has address 40.79.78.1
spamassassin.apache.org has IPv6 address 2a01:4f9:2a:185f::2
spamassassin.apache.org mail is handled by 10 mx1-lw-eu.apache.org.
spamassassin.apache.org mail is handled by 10 mx1-lw-us.apache.org.
superchicken:root#

The issue is with the mirror at 95.216.24.32 - it's returning a 404 for the 
file.  If you go to 

http://95.216.24.32/updates/MIRRORED.BY 


you get a not found.

I copied the MIRRORED.BY file from the 3.004001 directory then re-ran 
sa-update.  It pulled down rules and I'm in business.

Kevin, thanks for the patch.  It works.  Sorry for the extra noise and perhaps 
we need to do something about that broken mirror?

--James

> On Sep 17, 2018, at 10:17 PM, Bill Cole  wrote:
> 
> On 17 Sep 2018, at 22:03 (-0400), Kevin A. McGrail wrote:
> 
>> Interesting I think Bill added that code.
> 
> Nope. From svn:
> 
> 3042  mmartinec   810883  die sprintf("child process [%s] exited or 
> timed out ".
> 3043  "without signaling production of a PID 
> file: %s",
> 3044  $pid, exit_status_str($child_stat,0)) 
> unless $serverstarted;
> 
>> 
>> On 9/17/2018 9:16 PM, James Hsieh wrote:
>>> This does help things to build.  I can build successfully.  I now have a 
>>> problem where spamd seems to be jumping out of the startup wait loop.
>>> 
>>> I keep hitting this code:
>>> 
>>>die sprintf("child process [%s] exited or timed out ".
>>>"without signaling production of a PID file: %s",
>>>$pid, exit_status_str($child_stat,0)) unless $serverstarted;
>>> 
>>> However, there's no waiting for things to start.  I'm investigating this 
>>> now.
>>> 
>>> --James
>>> 
 On Sep 17, 2018, at 4:53 PM, Kevin A. McGrail  wrote:
 
 This patch was added for windows.  Does it help you?  It switches to 
 errno.h
 
 --- getopt.c2018-09-13 21:27:52.0 -0400
 +++ ../../3.4/spamc/getopt.c2018-09-17 07:12:38.758722882 -0400
 @@ -21,7 +21,7 @@
 #include 
 #include 
 #include 
 -#include 
 +#include 
 #include "getopt.h"
 
 #ifdef WIN32
 @@ -246,7 +246,8 @@
   if((bp = strchr(longopt, '='))) {
  opt = strdup(bp+1);
  if (opt == NULL) {
 -err(1, NULL);
 +fprintf(stderr, "%s: %s\n", argv[0], strerror(errno));
 +exit(1);
  }
  longoptlen -= strlen(bp);
   }
 
 On 9/17/2018 4:37 PM, James Hsieh wrote:
> So this isn't a complaint.  I think the SA team has done a great job 
> getting this release out and yes, it works fine for me under Linux.
> 
> However, any creative ways for getting around the fact that err.h is now 
> part of spamc/getopt.c?  This breaks older OSes (which admittedly I 
> probably shouldn't care about or use anymore) such as Solaris 10.  For a 
> double dot release, this seems a bit unfortunate though I agree, really 
> need to get this system on to something more modern.
> 
> make -f spamc/Makefile spamc/spamc
> /usr/local/bin/gcc  -g spamc/spamc.c spamc/getopt.c spamc/libspamc.c 
> spamc/utils.c \
>   -o spamc/spamc -L/usr/lib -L/usr/ccs/lib 
> -L/opt/solarisstudio12.3/prod/lib/sparc -L/opt/solarisstudio12.3/prod/lib 
> -L/lib -L/usr/local/lib  -ldl -lz -lnsl -lsocket
> spamc/getopt.c:24:17: fatal error: err.h: No such file or directory
> compilation terminated.
> *** Error code 1
> make: Fatal error: Command failed for target `spamc/spamc'
> Current working directory /export/src/Mail-SpamAssassin-3.4.2
> *** Error code 1
> make: Fatal error: Command failed for target `spamc/spamc'
> 
> --James
> 
 -- 
 Kevin A. McGrail
 VP Fundraising, Apache Software Foundation
 Chair Emeritus Apache SpamAssassin Project
 https://www.linkedin.com/in/kmcgrail - 703.798.0171
 
>> 
>> -- 
>> Kevin A. McGrail
>> VP Fundraising, Apache Software Foundation
>> Chair Emeritus Apache SpamAssassin Project
>> https://www.linkedin.com/in/kmcgrail - 703.798.0171
> 
> 
> 
> -- 
> Bil

Re: SpamAssassin 3.4.2. - err.h requirement

2018-09-17 Thread Kevin A. McGrail
Interesting I think Bill added that code.

On 9/17/2018 9:16 PM, James Hsieh wrote:
> This does help things to build.  I can build successfully.  I now have a 
> problem where spamd seems to be jumping out of the startup wait loop.
>
> I keep hitting this code:
>
> die sprintf("child process [%s] exited or timed out ".
> "without signaling production of a PID file: %s",
> $pid, exit_status_str($child_stat,0)) unless $serverstarted;
>
> However, there's no waiting for things to start.  I'm investigating this now.
>
> --James
>
>> On Sep 17, 2018, at 4:53 PM, Kevin A. McGrail  wrote:
>>
>> This patch was added for windows.  Does it help you?  It switches to errno.h
>>
>> --- getopt.c2018-09-13 21:27:52.0 -0400
>> +++ ../../3.4/spamc/getopt.c2018-09-17 07:12:38.758722882 -0400
>> @@ -21,7 +21,7 @@
>>  #include 
>>  #include 
>>  #include 
>> -#include 
>> +#include 
>>  #include "getopt.h"
>>  
>>  #ifdef WIN32
>> @@ -246,7 +246,8 @@
>>if((bp = strchr(longopt, '='))) {
>>   opt = strdup(bp+1);
>>   if (opt == NULL) {
>> -err(1, NULL);
>> +fprintf(stderr, "%s: %s\n", argv[0], strerror(errno));
>> +exit(1);
>>   } 
>>   longoptlen -= strlen(bp);
>>}
>>
>> On 9/17/2018 4:37 PM, James Hsieh wrote:
>>> So this isn't a complaint.  I think the SA team has done a great job 
>>> getting this release out and yes, it works fine for me under Linux.
>>>
>>> However, any creative ways for getting around the fact that err.h is now 
>>> part of spamc/getopt.c?  This breaks older OSes (which admittedly I 
>>> probably shouldn't care about or use anymore) such as Solaris 10.  For a 
>>> double dot release, this seems a bit unfortunate though I agree, really 
>>> need to get this system on to something more modern.
>>>
>>> make -f spamc/Makefile spamc/spamc
>>> /usr/local/bin/gcc  -g spamc/spamc.c spamc/getopt.c spamc/libspamc.c 
>>> spamc/utils.c \
>>>-o spamc/spamc -L/usr/lib -L/usr/ccs/lib 
>>> -L/opt/solarisstudio12.3/prod/lib/sparc -L/opt/solarisstudio12.3/prod/lib 
>>> -L/lib -L/usr/local/lib  -ldl -lz -lnsl -lsocket
>>> spamc/getopt.c:24:17: fatal error: err.h: No such file or directory
>>> compilation terminated.
>>> *** Error code 1
>>> make: Fatal error: Command failed for target `spamc/spamc'
>>> Current working directory /export/src/Mail-SpamAssassin-3.4.2
>>> *** Error code 1
>>> make: Fatal error: Command failed for target `spamc/spamc'
>>>
>>> --James
>>>
>> -- 
>> Kevin A. McGrail
>> VP Fundraising, Apache Software Foundation
>> Chair Emeritus Apache SpamAssassin Project
>> https://www.linkedin.com/in/kmcgrail - 703.798.0171
>>

-- 
Kevin A. McGrail
VP Fundraising, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171



Re: SpamAssassin 3.4.2. - err.h requirement

2018-09-17 Thread James Hsieh
This does help things to build.  I can build successfully.  I now have a 
problem where spamd seems to be jumping out of the startup wait loop.

I keep hitting this code:

die sprintf("child process [%s] exited or timed out ".
"without signaling production of a PID file: %s",
$pid, exit_status_str($child_stat,0)) unless $serverstarted;

However, there's no waiting for things to start.  I'm investigating this now.

--James

> On Sep 17, 2018, at 4:53 PM, Kevin A. McGrail  wrote:
> 
> This patch was added for windows.  Does it help you?  It switches to errno.h
> 
> --- getopt.c2018-09-13 21:27:52.0 -0400
> +++ ../../3.4/spamc/getopt.c2018-09-17 07:12:38.758722882 -0400
> @@ -21,7 +21,7 @@
>  #include 
>  #include 
>  #include 
> -#include 
> +#include 
>  #include "getopt.h"
>  
>  #ifdef WIN32
> @@ -246,7 +246,8 @@
>if((bp = strchr(longopt, '='))) {
>   opt = strdup(bp+1);
>   if (opt == NULL) {
> -err(1, NULL);
> +fprintf(stderr, "%s: %s\n", argv[0], strerror(errno));
> +exit(1);
>   } 
>   longoptlen -= strlen(bp);
>}
> 
> On 9/17/2018 4:37 PM, James Hsieh wrote:
>> So this isn't a complaint.  I think the SA team has done a great job getting 
>> this release out and yes, it works fine for me under Linux.
>> 
>> However, any creative ways for getting around the fact that err.h is now 
>> part of spamc/getopt.c?  This breaks older OSes (which admittedly I probably 
>> shouldn't care about or use anymore) such as Solaris 10.  For a double dot 
>> release, this seems a bit unfortunate though I agree, really need to get 
>> this system on to something more modern.
>> 
>> make -f spamc/Makefile spamc/spamc
>> /usr/local/bin/gcc  -g spamc/spamc.c spamc/getopt.c spamc/libspamc.c 
>> spamc/utils.c \
>>-o spamc/spamc -L/usr/lib -L/usr/ccs/lib 
>> -L/opt/solarisstudio12.3/prod/lib/sparc -L/opt/solarisstudio12.3/prod/lib 
>> -L/lib -L/usr/local/lib  -ldl -lz -lnsl -lsocket
>> spamc/getopt.c:24:17: fatal error: err.h: No such file or directory
>> compilation terminated.
>> *** Error code 1
>> make: Fatal error: Command failed for target `spamc/spamc'
>> Current working directory /export/src/Mail-SpamAssassin-3.4.2
>> *** Error code 1
>> make: Fatal error: Command failed for target `spamc/spamc'
>> 
>> --James
>> 
> 
> -- 
> Kevin A. McGrail
> VP Fundraising, Apache Software Foundation
> Chair Emeritus Apache SpamAssassin Project
> https://www.linkedin.com/in/kmcgrail - 703.798.0171
> 



Re: [ANNOUNCE] Apache SpamAssassin 3.4.2 available

2018-09-17 Thread Ricky Gutierrez
El El dom, sep. 16, 2018 a las 11:31 p. m., Reio Remma 
escribió:

>
> Download link @WeTransfer:
>
> https://we.tl/t-CbvKhwJoCA
>
> spamassassin-3.4.2-0.el7.x86_64.rpm
>
> Will be deleted on 24 September, 2018.
>
> Good luck,
> Reio


Thnk

>
> --
rickygm

http://gnuforever.homelinux.com


Re: SpamAssassin 3.4.2. - err.h requirement

2018-09-17 Thread Kevin A. McGrail
This patch was added for windows.  Does it help you?  It switches to errno.h

--- getopt.c    2018-09-13 21:27:52.0 -0400
+++ ../../3.4/spamc/getopt.c    2018-09-17 07:12:38.758722882 -0400
@@ -21,7 +21,7 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 #include "getopt.h"
 
 #ifdef WIN32
@@ -246,7 +246,8 @@
   if((bp = strchr(longopt, '='))) {
  opt = strdup(bp+1);
  if (opt == NULL) {
-    err(1, NULL);
+    fprintf(stderr, "%s: %s\n", argv[0], strerror(errno));
+    exit(1);
  } 
  longoptlen -= strlen(bp);
   }

On 9/17/2018 4:37 PM, James Hsieh wrote:
> So this isn't a complaint.  I think the SA team has done a great job getting 
> this release out and yes, it works fine for me under Linux.
>
> However, any creative ways for getting around the fact that err.h is now part 
> of spamc/getopt.c?  This breaks older OSes (which admittedly I probably 
> shouldn't care about or use anymore) such as Solaris 10.  For a double dot 
> release, this seems a bit unfortunate though I agree, really need to get this 
> system on to something more modern.
>
> make -f spamc/Makefile spamc/spamc
> /usr/local/bin/gcc  -g spamc/spamc.c spamc/getopt.c spamc/libspamc.c 
> spamc/utils.c \
> -o spamc/spamc -L/usr/lib -L/usr/ccs/lib 
> -L/opt/solarisstudio12.3/prod/lib/sparc -L/opt/solarisstudio12.3/prod/lib 
> -L/lib -L/usr/local/lib  -ldl -lz -lnsl -lsocket
> spamc/getopt.c:24:17: fatal error: err.h: No such file or directory
> compilation terminated.
> *** Error code 1
> make: Fatal error: Command failed for target `spamc/spamc'
> Current working directory /export/src/Mail-SpamAssassin-3.4.2
> *** Error code 1
> make: Fatal error: Command failed for target `spamc/spamc'
>
> --James
>

-- 
Kevin A. McGrail
VP Fundraising, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171



SpamAssassin 3.4.2. - err.h requirement

2018-09-17 Thread James Hsieh
So this isn't a complaint.  I think the SA team has done a great job getting 
this release out and yes, it works fine for me under Linux.

However, any creative ways for getting around the fact that err.h is now part 
of spamc/getopt.c?  This breaks older OSes (which admittedly I probably 
shouldn't care about or use anymore) such as Solaris 10.  For a double dot 
release, this seems a bit unfortunate though I agree, really need to get this 
system on to something more modern.

make -f spamc/Makefile spamc/spamc
/usr/local/bin/gcc  -g spamc/spamc.c spamc/getopt.c spamc/libspamc.c 
spamc/utils.c \
-o spamc/spamc -L/usr/lib -L/usr/ccs/lib 
-L/opt/solarisstudio12.3/prod/lib/sparc -L/opt/solarisstudio12.3/prod/lib 
-L/lib -L/usr/local/lib  -ldl -lz -lnsl -lsocket
spamc/getopt.c:24:17: fatal error: err.h: No such file or directory
compilation terminated.
*** Error code 1
make: Fatal error: Command failed for target `spamc/spamc'
Current working directory /export/src/Mail-SpamAssassin-3.4.2
*** Error code 1
make: Fatal error: Command failed for target `spamc/spamc'

--James



Re: [ANNOUNCE] Apache SpamAssassin 3.4.2 available

2018-09-17 Thread Kenneth Porter
--On Monday, September 17, 2018 3:13 PM -0400 "Kevin A. McGrail" 
 wrote:



You can install the srpm and then in
/usr/src/RedHat you get various files like tar files and patches with a
spec file that says how to build it.


That path would be if you were building as root, which is not recommended. 
I suggest creating a user just for making RPMs. Switch to that user and run 
rpmdev-setuptree to set up your packaging environment under ~/rpmbuild.


Some initial help to get one started:








Re: [ANNOUNCE] Apache SpamAssassin 3.4.2 available

2018-09-17 Thread Kenneth Porter
--On Monday, September 17, 2018 3:13 PM -0400 "Kevin A. McGrail" 
 wrote:



You can install the srpm and then in
/usr/src/RedHat you get various files like tar files and patches with a
spec file that says how to build it.


That path would be if you were building as root, which is not recommended. 
I suggest creating a user just for making RPMs. Switch to that user and run 
rpmdev-setuptree to set up your packaging environment under ~/rpmbuild.


Some initial help to get one started:







Re: [ANNOUNCE] Apache SpamAssassin 3.4.2 available

2018-09-17 Thread Dianne Skoll
On Mon, 17 Sep 2018 15:22:48 -0400
"Kevin A. McGrail"  wrote:

[snip]

> Good to know. Did the Makefile.PL gracefully tell you that your
> Makemaker was too old?

It did indeed, which made the fix very simple.  Thanks for your hard work!

Regards,

Dianne.


Re: [ANNOUNCE] Apache SpamAssassin 3.4.2 available

2018-09-17 Thread Kevin A. McGrail
On 9/17/2018 3:05 PM, Dianne Skoll wrote:
> On Mon, 17 Sep 2018 13:22:32 -0400
> "Kevin A. McGrail"  wrote:
>
>> I'd be pretty shocked if you have to do very much to that src rpm for
>> 3.4.1 to get 3.4.2 working.
> I ran into one gotcha on (ancient) Debian 5; the version of
> ExtUtils::MakeMaker was too old.  Installing from CPAN did the trick.  I'd
> imagine something similar might happen on ancient Red Hat Enterprise Linux 5.
Good to know.  Did the Makefile.PL gracefully tell you that your
Makemaker was too old?


Re: [ANNOUNCE] Apache SpamAssassin 3.4.2 available

2018-09-17 Thread Dianne Skoll
On Mon, 17 Sep 2018 13:22:32 -0400
"Kevin A. McGrail"  wrote:

> I'd be pretty shocked if you have to do very much to that src rpm for
> 3.4.1 to get 3.4.2 working.

I ran into one gotcha on (ancient) Debian 5; the version of
ExtUtils::MakeMaker was too old.  Installing from CPAN did the trick.  I'd
imagine something similar might happen on ancient Red Hat Enterprise Linux 5.

Regards,

Dianne.


Re: [ANNOUNCE] Apache SpamAssassin 3.4.2 available

2018-09-17 Thread Kevin A. McGrail
Recommend you might take a look.  You can install the srpm and then in
/usr/src/RedHat you get various files like tar files and patches with a
spec file that says how to build it.  Some are complex, some are easy. 
Then you rpmbuild to make an RPM that you can install.

If you can do a batch file, you can likely use an rpm spec file.

Regards,
KAM

On 9/17/2018 1:58 PM, Amir Caspi wrote:
>> On Sep 17, 2018, at 11:22 AM, Kevin A. McGrail  wrote:
>>
>> I'd be pretty shocked if you have to do very much to that src rpm for
>> 3.4.1 to get 3.4.2 working. 
> Possibly if I knew what I was doing with src rpms, that would be the case. 
> ;-)  Hoping someone who knows a lot more than I do is already working on it...
>
> --- Amir
>

-- 
Kevin A. McGrail
VP Fundraising, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171



Re: [ANNOUNCE] Apache SpamAssassin 3.4.2 available

2018-09-17 Thread Amir Caspi
> On Sep 17, 2018, at 11:22 AM, Kevin A. McGrail  wrote:
> 
> I'd be pretty shocked if you have to do very much to that src rpm for
> 3.4.1 to get 3.4.2 working. 

Possibly if I knew what I was doing with src rpms, that would be the case. ;-)  
Hoping someone who knows a lot more than I do is already working on it...

--- Amir



Re: [ANNOUNCE] Apache SpamAssassin 3.4.2 available

2018-09-17 Thread Kevin A. McGrail
I'd be pretty shocked if you have to do very much to that src rpm for
3.4.1 to get 3.4.2 working. 

On 9/17/2018 1:19 PM, Amir Caspi wrote:
> Is there anyone so kind as to perhaps make an RPM for CentOS 5?  There are 
> still more than a few dinosaurs running that OS that can't upgrade but would 
> love to have SA.
>
> I could probably build it from the src rpm but I'm not an expert...
>
> Kevin Fenzi has a repo with 3.4.1 for CentOS 5 and 6, but I don't know if he 
> plans to update it with 3.4.2...
>
> Cheers.
>
> --- Amir
>
>> On Sep 16, 2018, at 11:30 PM, Reio Remma  wrote:
>>
>> On 17.09.2018 4:13, Ricky Gutierrez wrote:
>>> Reio hi, Could you please share the rpm o src for centOS?
>> Download link @WeTransfer:
>>
>> https://we.tl/t-CbvKhwJoCA
>>
>> spamassassin-3.4.2-0.el7.x86_64.rpm
>>
>> Will be deleted on 24 September, 2018.
>>
>> Good luck,
>> Reio


-- 
Kevin A. McGrail
VP Fundraising, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171



Re: [ANNOUNCE] Apache SpamAssassin 3.4.2 available

2018-09-17 Thread Amir Caspi
Is there anyone so kind as to perhaps make an RPM for CentOS 5?  There are 
still more than a few dinosaurs running that OS that can't upgrade but would 
love to have SA.

I could probably build it from the src rpm but I'm not an expert...

Kevin Fenzi has a repo with 3.4.1 for CentOS 5 and 6, but I don't know if he 
plans to update it with 3.4.2...

Cheers.

--- Amir

> On Sep 16, 2018, at 11:30 PM, Reio Remma  wrote:
> 
> On 17.09.2018 4:13, Ricky Gutierrez wrote:
>> Reio hi, Could you please share the rpm o src for centOS?
> 
> Download link @WeTransfer:
> 
> https://we.tl/t-CbvKhwJoCA
> 
> spamassassin-3.4.2-0.el7.x86_64.rpm
> 
> Will be deleted on 24 September, 2018.
> 
> Good luck,
> Reio



Re: Rule for multiple paragraphs

2018-09-17 Thread RW
On Mon, 17 Sep 2018 18:04:00 +0100
RW wrote:

> If the normalized body were
> stored as single-line paragraphs separated by newlines (perhaps broken
> into large blocks), it would make make it possible to write more
> reliable body rules without changing the behaviour of existing rules.

I'll rephrase that as: without much impact on existing rules.


Re: Rule for multiple paragraphs

2018-09-17 Thread RW
On Mon, 17 Sep 2018 16:33:53 + (UTC)
Pedro David Marco wrote:

>  
> 
> On Monday, September 17, 2018, 6:29:33 PM GMT+2, RW
>  wrote:  
>  >If that actually occurred in the body it would be normalized to  
> >apache apache apache
> >
> >If you mean >apache
> >
> >apache
> >  
> >apache>then my understanding is that a body rule would run
> >apache>independently oneach instance of 'apache', not on
> >apache>'apache\napache\napache\n'.  
> 
> Yes you are right... the question is how to "regex" along different
> paragraphs...   

You can sometimes work around it with rawbody rules.

I don't know why body rules work that way. If the normalized body were
stored as single-line paragraphs separated by newlines (perhaps broken
into large blocks), it would make make it possible to write more
reliable body rules without changing the behaviour of existing rules.


Re: Rule for multiple paragraphs

2018-09-17 Thread Pedro David Marco
 

On Monday, September 17, 2018, 6:29:33 PM GMT+2, RW 
 wrote:  
 >If that actually occurred in the body it would be normalized to  
>apache apache apache
>
>If you mean >apache
>
>apache
>
>apache>then my understanding is that a body rule would run independently 
>oneach instance of 'apache', not on  'apache\napache\napache\n'.

Yes you are right... the question is how to "regex" along different 
paragraphs...   

Re: Rule for multiple paragraphs

2018-09-17 Thread RW
On Mon, 17 Sep 2018 15:47:20 + (UTC)
Pedro David Marco wrote:

>  >On Monday, September 17, 2018, 5:34:48 PM GMT+2, Antony Stone
>  > wrote: Give us a bit
>  >more of a clue what you are trying / hoping to do?
> >In what way do you want to identify different paragraphs in an
> >email, and how should the rules be applied differently?  
> 
> Sure, thanks Antony...
> I want i to detect multiple consecutive strings separated by a
> carriage return, like this:
> 
> 
> apache
> apache
> apache
>  

If that actually occurred in the body it would be normalized to  

apache apache apache

If you mean 

apache

apache

apache

then my understanding is that a body rule would run independently on
each instance of 'apache', not on  'apache\napache\napache\n'.



Re: Rule for multiple paragraphs

2018-09-17 Thread Pedro David Marco
 >On Monday, September 17, 2018, 5:34:48 PM GMT+2, Antony Stone 
 > wrote:
 >Give us a bit more of a clue what you are trying / hoping to do?
>In what way do you want to identify different paragraphs in an email, and how 
>should the rules be applied differently?

Sure, thanks Antony...
I want i to detect multiple consecutive strings separated by a carriage return, 
like this:


apache
apache
apache
apache



something like:
body     __REPEATED_APACHES     /^apache$/
tflags    __REPEATED_APACHES     multiplemetaREPEATED_APACHES      
__REPEATED_APACHES > 3
will do the job BUT is not valid because it will trigger as well in a body like 
this:



apache
apache
Groucho
apache
apache


where apaches are not consecutive...


-PedroD







  

Re: Rule for multiple paragraphs

2018-09-17 Thread Antony Stone
On Monday 17 September 2018 at 17:29:48, Pedro David Marco wrote:

> Hi!
> is there any trick to make a rule work along different body paragraphs?? or
> maybe the only way is via plugins...

Give us a bit more of a clue what you are trying / hoping to do?

In what way do you want to identify different paragraphs in an email, and how 
should the rules be applied differently?

> Regards,
> 
> -PedroD


Antony.

-- 
Why is "dylexia" so difficult to spell, and why can I never remember "aphasia" 
when I want to?

   Please reply to the list;
 please *don't* CC me.


Rule for multiple paragraphs

2018-09-17 Thread Pedro David Marco
Hi!
is there any trick to make a rule work along different body paragraphs?? or 
maybe the only way is via plugins...
Regards,

-PedroD

Re: MIME Tools and Diane Skoll question

2018-09-17 Thread Dianne Skoll
On Mon, 17 Sep 2018 09:46:19 + (UTC)
Pedro David Marco  wrote:

> To my remember Dianne Skoll was in his list...

Hello...

> Does anyone know whether she is still maintaining MIME::Tools ?

Yep, I am.

Regards,

Dianne.


Re: MIME Tools and Diane Skoll question

2018-09-17 Thread Pedro David Marco
 Thanks Kevin, i already saw that but i was wondering whether she is active or 
not at that regard...
On Monday, September 17, 2018, 12:41:08 PM GMT+2, Kevin A. McGrail 
 wrote:  
 
 Yes, DFS is still the maintainer.  You can see her listed at 
https://metacpan.org/pod/MIME::Tools
Regards,
KAM
--Kevin A. McGrailVP Fundraising, Apache Software FoundationChair Emeritus 
Apache SpamAssassin Projecthttps://www.linkedin.com/in/kmcgrail - 703.798.0171

On Mon, Sep 17, 2018 at 5:46 AM Pedro David Marco  
wrote:

To my remember Dianne Skoll was in his list...
Does anyone know whether she is still maintaining MIME::Tools ?
Thanks,
-PedroD
  

Re: MIME Tools and Diane Skoll question

2018-09-17 Thread Kevin A. McGrail
Yes, DFS is still the maintainer.  You can see her listed at
https://metacpan.org/pod/MIME::Tools

Regards,
KAM
--
Kevin A. McGrail
VP Fundraising, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project
https://www.linkedin.com/in/kmcgrail - 703.798.0171


On Mon, Sep 17, 2018 at 5:46 AM Pedro David Marco 
wrote:

> To my remember Dianne Skoll was in his list...
>
> Does anyone know whether she is still maintaining MIME::Tools ?
>
> Thanks,
>
> -
> PedroD
>


MIME Tools and Diane Skoll question

2018-09-17 Thread Pedro David Marco
To my remember Dianne Skoll was in his list...
Does anyone know whether she is still maintaining MIME::Tools ?
Thanks,
-PedroD