Bug#347852: [Pkg-dspam-misc] Bug#347852: dspam: shouldn't SEGV when
it gets "permission denied" from a command
Matthijs Mohlmann
matthijs at cacholong.nl
Fri Jan 13 08:39:09 UTC 2006
simon raven wrote:
> Package: dspam
> Version: 3.6.2-2
> Severity: normal
> Tags: experimental
>
> =====
> XXXXXsome_msg_idXXXXX: dspam_spamcheck transport output: 19157: [01/13/2006 00:34:55] Unable to open file for reading: /etc/dspam/dspam.conf: Permission denied
> 2006-01-13 00:34:55 XXXXXexim_msg_idXXXXX ** simon at XXXXX F=<simon at XXXXX> P=<simon at XXXXX> R=dspam_router T=dspam_spamcheck:
> Child process of dspam_spamcheck transport (running command "/usr/bin/dspam --deliver=innocent --user ${lc:$local_part}@$domain -f '$sender_
> address' -- %u") was terminated by signal 11 (Segmentation fault)
> =====
>
> sure i have config issues, i'm working on it right at this moment, but it
> shouldn't segfault when it gets that error, either ;).
>
> simon
>
Hi,
This needs idd a bit investigation :) Well you need to chown the
configuration in /etc/dspam/dspam.d/* to the user dspam and then it
don't give a segfault anymore.
If /etc/dspam/dspam.conf has wrong permissions then dspam refuses to
start up without a segfault, when one of the included files has wrong
permissions then it dspam segfaults. There is a bug in the
add-config-dir patch that needs to be addressed. The bug doesn't hurt
that much and I'll try to fix this.
Regards,
Matthijs Mohlmann
More information about the Pkg-dspam-misc
mailing list