Bob Maple | 13 Sep 2011 11:36

Per-domain is case-sensitive

I am using per-domain configuration and discovered that this test is 
being done case-sensitively.  I never noticed it until now having turned 
on simscan debug while figuring out DSPAM, and noticed a few emails go 
by in the log that weren't being scanned at all:

2011-09-13 01:44:22 simscan: starting: work dir: 
/var/qmail/simscan/1315899862.172784.20356
2011-09-13 01:44:22 simscan: regex freeing memory
2011-09-13 01:44:22 simscan: clamdscan disabled
2011-09-13 01:44:22 simscan: done, execing qmail-queue

This caught my eye... clamdscan disabled!?  Upon further investigation, 
I noticed that the mails in question were being sent to me  <at> BURNER.COM 
-- for whatever reason Newegg and some others want to scream my address 
and domain at me.

This has apparently been this way for... ever.  I know I can set a 
catch-all entry in my simcontrol for all domains to at least turn virus 
scanning on for everything, but in general this behavior seems undesirable.

I'm going to hack my simscan to convert everything to lowercase before 
looking up in the cdb, but I guess my question is, can anyone think of a 
reason NOT to do this?

Is simscan still being maintained by anyone/can we submit patches? 
There's some other oddities I'm finding with DSPAM and the arguments 
simscan is using that aren't valid anymore.

|  Bob Maple
|
(Continue reading)

Tren Blackburn | 13 Sep 2011 18:37
Favicon

Re: Per-domain is case-sensitive

It isn't necessary to hack simscan. Dspam has a setting in it that will
lower case everything. Look at "Broken case" setting in your dspam.conf
file.

Regards,

Tren

On 11-09-13 2:36 AM, "Bob Maple" <bobm-inter7@...> wrote:

>I am using per-domain configuration and discovered that this test is
>being done case-sensitively.  I never noticed it until now having turned
>on simscan debug while figuring out DSPAM, and noticed a few emails go
>by in the log that weren't being scanned at all:
>
>2011-09-13 01:44:22 simscan: starting: work dir:
>/var/qmail/simscan/1315899862.172784.20356
>2011-09-13 01:44:22 simscan: regex freeing memory
>2011-09-13 01:44:22 simscan: clamdscan disabled
>2011-09-13 01:44:22 simscan: done, execing qmail-queue
>
>This caught my eye... clamdscan disabled!?  Upon further investigation,
>I noticed that the mails in question were being sent to me  <at> BURNER.COM
>-- for whatever reason Newegg and some others want to scream my address
>and domain at me.
>
>This has apparently been this way for... ever.  I know I can set a
>catch-all entry in my simcontrol for all domains to at least turn virus
>scanning on for everything, but in general this behavior seems
>undesirable.
(Continue reading)

Tren Blackburn | 13 Sep 2011 18:39
Favicon

Re: Per-domain is case-sensitive

Hmm, sorry for replying to my own message. I misunderstood what you were trying to do.

----- Original Message -----
From: Tren Blackburn [mailto:tren@...]
Sent: Tuesday, September 13, 2011 09:37 AM
To: simscan@... <simscan@...>
Subject: Re: [simscan] Per-domain is case-sensitive

It isn't necessary to hack simscan. Dspam has a setting in it that will
lower case everything. Look at "Broken case" setting in your dspam.conf
file.

Regards,

Tren

On 11-09-13 2:36 AM, "Bob Maple" <bobm-inter7@...> wrote:

>I am using per-domain configuration and discovered that this test is
>being done case-sensitively.  I never noticed it until now having turned
>on simscan debug while figuring out DSPAM, and noticed a few emails go
>by in the log that weren't being scanned at all:
>
>2011-09-13 01:44:22 simscan: starting: work dir:
>/var/qmail/simscan/1315899862.172784.20356
>2011-09-13 01:44:22 simscan: regex freeing memory
>2011-09-13 01:44:22 simscan: clamdscan disabled
>2011-09-13 01:44:22 simscan: done, execing qmail-queue
>
>This caught my eye... clamdscan disabled!?  Upon further investigation,
(Continue reading)

Bob Maple | 13 Sep 2011 19:09

Re: Per-domain is case-sensitive

On 9/13/2011 10:37 AM, Tren Blackburn wrote:

> It isn't necessary to hack simscan. Dspam has a setting in it that will
> lower case everything. Look at "Broken case" setting in your dspam.conf
> file.

As you noted that's actually a separate problem, but one I hadn't gotten 
to yet :)  So thanks for the pointer, I've turned on 'Broken case' which 
should solve that half of it as well.

|  Bob Maple
|
|  When love is gone, there's always justice.  And when justice is gone,
|  there's always force.  And when force is gone, there's always Mom.
|  Hi, Mom!   -Laurie Anderson

!DSPAM:4e6f8e3a32711223018272!

Jason 'XenoPhage' Frisvold | 17 Sep 2011 04:02
Favicon

Re: Per-domain is case-sensitive

On Sep 13, 2011, at 5:36 AM, Bob Maple wrote:
> I'm going to hack my simscan to convert everything to lowercase before looking up in the cdb, but I guess my
question is, can anyone think of a reason NOT to do this?

I thought I fixed this years ago..  Though I'm not sure it made it into a proper release.  It should be fixed in
SVN ...

> Is simscan still being maintained by anyone/can we submit patches? There's some other oddities I'm
finding with DSPAM and the arguments simscan is using that aren't valid anymore.

Presumably I still have access to the project.  I'm not actively developing at all as I really haven't had
time in a while..  I thought Inter7 had been working on it, though..

---------------------------
Jason 'XenoPhage' Frisvold
xenophage@...
---------------------------
"Any sufficiently advanced magic is indistinguishable from technology."
- Niven's Inverse of Clarke's Third Law

!DSPAM:4e73ffa232717683218144!


Gmane