-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 30 Apr 2002, Sean Rima said:


>>> SR> Use of uninitialized value at
>>> SR> /usr/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Dns.pm line
>>> SR> 270. DCC check skipped: Undefined subroutine
>>> SR> &Mail::SpamAssassin::PerMsgStatus::open2 called at
>>> SR> /usr/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Dns.pm line
>>> SR> 270.
>>> 
>>> Weird again.  Given that we've just required IPC::Open2 a few lines
>>> above, I don't see how it can now be failing to find open2() -- I
>>> suppose it might need to be IPC::Open2::open2() or something.
>>> Again, I'll see what I can do after installing DCC.
>> 
>> I changed line 270 to:
>> $pid = IPC::Open2::open2(....) and the result was:
>> Use of uninitialized value at
>> /usr/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Dns.pm line 270.
>> DCC check skipped:  open2: wtr should not be null at
>> /usr/lib/perl5/site_perl/5.005/Mail/SpamAssassin/Dns.pm line 270
>> 
> 
> Okay I did:
>     use IPC::Open2;
>  instead of require IPC::Open2; and changed line 270 back to what you
>     had it, that gets rid of the Use of uninitialized value line but
>     not the wtr error

I did this:
    $pid = open2(\*Dccout, \*Dccin, '......

    print Dccin $$fulltext;

    close (Dccin);

    $response = <Dccout>;

And this seems to make SA find dccproc, but when I test with with a
message I could not find any mention of dcc. However doing a -D I found
it, so I will change the score to a lot lower.


See Ya, Sean

- -- 
  Sean Rima                                http://www.tcob1.net
  Linux User:      231986          Jabber:   [EMAIL PROTECTED]
  THE VIEWS EXPRESSED HERE ARE NOT NECESSARILY THOSE OF MY WIFE.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Use GPG for Secure Mail

iEYEARECAAYFAjzN6HIACgkQeR/L2ZZp3E+hdgCdFCRbKjFfWLhqMfTA+4PyRtAQ
eCYAnjWkCGZXHizXw042utQM0glJW3Dx
=Gm9p
-----END PGP SIGNATURE-----

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to