Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5543 - Spamassassin - spamd
Summary: Spamassassin - spamd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Preston A. Elder (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-24 22:59 UTC by John Sutherland
Modified: 2003-06-09 15:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Sutherland 2002-07-24 22:59:41 UTC
I was helping a friend setup his server using gentoo and ran into a problem. 
 
We were setting up qmail-scanner to run Spamassassin. We did an emerge 
dev-perl/mail-spamassassin to get it. Spamassassin merges fine, no errors. 
 
We then rc-updated spamd, and started spamd. 
 
When we emerge qmail-scanner, it tries to detect spamassassin, it comes with 
with an error (don't have exact error): something like spamc installed but not 
working. 
 
After some research into this, we figured out that the spamd daemon was 
looking for a "//.spamassassin/" directory (we started spamd -D from the 
commandline to find this out.). So we created a /.spamassassin directory, 
changed the ownership to nobody:nobody, and then re-emerged qmail-scanner. At 
this point everything worked as excpected.
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2002-09-22 19:55:00 UTC
Running spamd -D doesn't seem to mention anything about a
//.spamassassin/ directory.  Could you check and see if this problem
has been fixed?  (I don't use qmail, so I can't check here.)
Comment 2 John Sutherland 2002-09-22 22:06:21 UTC
Well, I had that error show up with an older version of spamassassin. Its 
since changed. 
 
In order to see it now, you need to command out line 679 of spamd, where they 
redirect STDOUT. Then do the spamd -D. You should see it then. But it only 
happens when you do an emerge of qmail-scanner.  
 
I believe it has something to do with the user qmail-scanner is running under. 
Spamd is trying to access the settings for the particlar user the email is 
destined for. Since qmail-scanner is testing it, there is no real user, so the 
user is blank, so its going for //.spamassassin.... 
 
thats my guess anyways. 
 
hope this helps. 
Comment 3 Grant Goodyear (RETIRED) gentoo-dev 2002-10-23 18:58:52 UTC
I have no idea what to do with this bug, and it's unfortunately languishing in
my bug list.  Sending back to bug-wranglers.
Comment 4 Paul Belt 2002-11-20 14:06:30 UTC
I noticed in /usr/bin/spamassassin ...

Line 12 and again on line 26 ...

use lib '/usr/lib/site_perl/5.6.1';

and

  if (-e $bin.'/lib/Mail/SpamAssassin.pm'
        || !-e '/usr/lib/site_perl/5.6.1/Mail/SpamAssassin.pm')

In mine... it was attempting to look for  /usr/lib/site_perl in /var/tmp/portage

This should be fixed in the next release of the ebuild
Comment 5 Wayne Davison 2003-05-20 07:20:47 UTC
Note that this bug should be closed -- this was fixed long ago.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-06-09 15:59:25 UTC
fixed