El Viernes 13 Junio 2008, Ricardo J. Barberis escribió:
> El Viernes 13 Junio 2008, Steve escribió:
> > > I'm not a C programmer, so I can't really fix this, but I attach
> > > straces and a
> > > gdb backtrace for you to examine.
> >
> > Where is the strace and/or gdb backtrace? I don't see any attachment in
> > your mail.
>
> OK, seems like majordomo doesn't like some of my attachments, maybe they're
> too much (about 66 KB)?
>
> I'm attaching a zip with them.
>
> Sorry for all the trouble,

I should add that I tested this same setup with dspam-3.8.0 and it didin't 
segfault, although that version has the problem of not supporting more then 
one group with [EMAIL PROTECTED], from what I've seen on the list.

Then, I tested 2 more times with the following patches I had found on the list 
(dspam-3.8.0-group_domain.patch is included in the CVS) and I had the saem 
segfaults with either of those patches.

Hope I made myself clear, as I'm not a native english speaker :)
-- 
Ricardo J. Barberis 
Senior SysAdmin - I+D 
Dattatec.com :: Soluciones de Web Hosting 
Su Hosting hecho Simple..! 


!DSPAM:1011,48529a63150921383019446!
## Posibilita el uso de mas de un grupo shared o merged.
## Incluido en el CVS.
diff -ur src/dspam.c.dist src/dspam.c
--- src/dspam.c.dist	Sat Oct 28 04:16:43 2006
+++ src/dspam.c	Sat Oct 28 04:17:04 2006
@@ -2321,8 +2321,8 @@
   
           while (user != NULL)
           {
-            if (!strcmp (user, username) || user[0] == '*' ||
-               (!strncmp(user, "*@", 2) && !strcmp(user+2, strchr(username,'@'))))
+            if (!strcmp (user, username) || !strcmp(user, "*") ||
+               (!strncmp(user, "*@", 2) && !strcmp(user+1, strchr(username,'@'))))
             {
   
               /* If we're reporting a spam, report it as a spam to all other
## Posibilita el uso de mas de un grupo shared o merged.
## Ver dspam-3.8.0-group-domain.patch, que fue incluido en el CVS
diff -ur src/dspam.c.dist src/dspam.c
--- src/dspam.c.dist	Sat Oct 28 04:16:43 2006
+++ src/dspam.c	Sat Oct 28 04:17:04 2006
@@ -2321,8 +2321,8 @@
   
           while (user != NULL)
           {
-            if (!strcmp (user, username) || user[0] == '*' ||
-               (!strncmp(user, "*@", 2) && !strcmp(user+2, strchr(username,'@'))))
+            if (!strcmp (user, username) || (user[0] == '*' && strncmp(user, "*@", 2)) ||
+               (!strncmp(user, "*@", 2) && !strcmp(user+1, strchr(username,'@'))))
             {
   
               /* If we're reporting a spam, report it as a spam to all other

Reply via email to