successful redhat 8.0 installation, but ...

Chris Wilkes cwilkes-bf at ladro.com
Sat Jan 18 06:51:01 CET 2003


On Sat, Jan 18, 2003 at 05:19:11AM +0000, Jason S. Friedman wrote:
> 
> A small part of the installation did not go smoothly, however: the man
> pages were installed in /usr/local/man, whereas RedHat puts its man
> pages in /usr/share/man. I suppose every distribution does it
> differently, and it's therefore difficult if not impossible to handle
> every distribution cleanly. I would suggest, then, mentioning in the
> FAQ that the man pages will be installed in /usr/local/man by default.
> I know the first thing I did after installing was type "man
> bogofilter" -- when nothing came up I assumed that no man pages
> existed and that I should rely on web-based documentation.

Unfortunately that's a bug/feature with autoconf defaulting to
$prefix/man for your man pages.  You can override that with a
"./configure --mandir=/usr/share/man" (at least in theory I haven't
tried that).  Or you can alternatively set your MANPATH to know about
both locations, which should be in /etc/manpath.config or
/etc/man.config.

> Now, a question, please. I created a group bogofilter and added a few
> users to that group. I created goodlist.db and spamlist.db, put them
> in a central place, made the ownership root.bogofilter and the
> permissions 660, and then asked users to create sym-links to these
> files. These users can write to these files, yet I see these lines in
> my procmail log, and the mail is not being delivered:

Hrmm, did you read this somewhere or is it something that you're trying
out?  I ask as everytime I here sym link and database file and many
users I get scared.  There might not be anything wrong with doing it
that way.

I poked around and thought that you could tell BF where the
good|spamlist.db are located via the BOGODIR directory but I don't think
you can, unless you edit the file main.c.  You might want to do that
instead of the symlinks as then the user doesn't have to make a link.

> procmail: Executing "bogofilter,-uepl"
> bogofilter (db) open: /home/powerpull/.bogofilter/goodlist.db: Permission deniedbogofilter: Cannot initialize database good.
> procmail: Error while writing to "bogofilter"
> procmail: Rescue of unfiltered data succeeded
> procmail: Assigning "EXITCODE=75"
> procmail: Assigning "HOST"

Not having used procmail at all I would be suspicious as to what uid and
gid it is running under.  I think you can print out your environment in
a procmail receipe with a "LOG=" directive, might try giving that a
shot.

And as an aside, are other people running single BF files for their
entire mail server?  I would think that one person's spam is another's
ham so this wouldn't work that well.  And plus you might have that one
person that wants to buy toner cartridges!

Chris




More information about the Bogofilter mailing list