FPs and SA 3.2.0
Paul Bijnens
Paul.Bijnens at xplanation.com
Tue May 22 11:11:08 IST 2007
On 2007-05-22 10:33, --[ UxBoD ]-- wrote:
> perhaps :-
>
> $temp = 0 unless ($HitList[0] =~ /[0-9|a-z]/i);
>
> to cover all eventualities?
>
In real perl that would be ... =~ /\w/;
The @HitList contains the "name" of the blacklist found as the
first item on each line in spam.lists.conf, like:
ORDB-RBL relays.ordb.org.
So just make a name that contains a letter and the current test
for "/[a-z]/i" succeeds.
Actually my point is that this patch covers up a deeper bug (without
known effects on other places, because we did not found it yet). The
@HitList contains somehow an empty element. It got this by reading
a pipe, where the uneven lines contain the RBL-name and the even
lines contain the word "Hit", or "Dead", etc. Somehow a blank
line got into that stream, followed by "Hit".
We better find out how a blank line can get there...
Could be a minor problem, or could be a problem on a deeper level that
will show up in other circumstances too.
--
Paul Bijnens, xplanation Technology Services Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens at xplanation.com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
More information about the MailScanner
mailing list