Steve a écrit :
> -------- Original-Nachricht --------
>> Datum: Mon, 05 Nov 2007 22:12:03 +0100
>> Von: Jimmy Jazz <[EMAIL PROTECTED]>
>> An: [email protected]
>> Betreff: [dspam-users] dspam segfaults randomly: free(): invalid pointer
> 
>> Hello,
>>
> Hello
> 
> 
>> i don't know if it is the right place to report bugs...
>>
>> Distribution: Gentoo
>> Version: mail-filter/dspam-3.8.0-r7
>> Patches applied: dspam-eol.patch, dspam-tempfail.diff, patch-src__dspam.c
>> (Also patches seems to be harmless and help (at least one) dspam to play
>> well with qmail)
>>
> Can you explain the logic behind the stuff in patch-src__dspam.c?
> 
> Your code would match the username "[EMAIL PROTECTED]" in a group with the 
> following members: "[EMAIL PROTECTED],[EMAIL PROTECTED]"
> 
>>From my viewpoint this is wrong (the original code would as well make that 
>>match).
> 
> Your code has the benefit to not match if the memberlist contains "*@" or 
> "[EMAIL PROTECTED]" or "[EMAIL PROTECTED]" while the original code would 
> match that.
> 
> Would it not be better to use this instead your code:
> if (!strcmp (user, username) || !strcmp(user, "*") ||
>    (!strncmp(user, "*@", 2) && !strcmp(user+1, strchr(username,'@'))))
> 
> 


Hello,

right. Thanks, for taking your time on it.
Also, i took the patch from the archive list and i didn't check the logic.
Anyway, i was focused with some nasty randomly dspam crashes. I cannot
even tell you if that was because of a mishandled config file. Even
without using the server/client feature, I added ServerPass.Relay1,
ClientIdent, ServerIdent and ServerMode in the dspam.conf  and the
crashes have gone away. Also, I was not able to configure dspam
client/server with vpopmail.

Jj

-- 


*My Two Cents Comment** *
Ideas don't stay in some minds very long because they don't like
solitary confinement.

Reply via email to