Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
premature end of script headers with dspam-web
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
xehqter
n00b
n00b


Joined: 21 Mar 2005
Posts: 3

PostPosted: Wed Mar 07, 2007 8:47 pm    Post subject: premature end of script headers with dspam-web Reply with quote

I’m trying to get dspam-web working with my setup.

I installed apache, mod_perl, and dspam-web however when I go to dspam.cgi I’m greeted with 500 Internal Server Error.

/var/log/apache2/error_log shows
Code:
[error] [client 127.0.0.1] Premature end of script headers: dspam.cgi


I’m using fetchmail to download mail from my pop3 accounts and procmail to pass the mail through clamav and dspam. For an MTA I’m using courier-imap with spam/ham folders used for training.

I’ve been trying for the past few days to get this working and would appreciate any help. Thanks in advance
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Wed Mar 07, 2007 9:57 pm    Post subject: Reply with quote

Is suexec complaining too?
Back to top
View user's profile Send private message
xehqter
n00b
n00b


Joined: 21 Mar 2005
Posts: 3

PostPosted: Wed Mar 07, 2007 10:59 pm    Post subject: Reply with quote

Yeah, it is complaining.

[2007-03-07 17:45:17]: target uid/gid (1001/1001) mismatch with directory (1002/1002) or program (1002/1002)

1001 being my user account, 1002 being dspam's account

if I change ownership on the direcory and its contents to 1001 it will let me into the interface however no statistical or historical information is returned..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum