[Mimedefang] SpamAssassin always scores 0

G. Roderick Singleton gerry at pathtech.org
Sun Aug 17 12:28:00 EDT 2003


On Sun, 2003-08-17 at 10:25, David F. Skoll wrote:
> On Sun, 17 Aug 2003, Aaron Paetznick wrote:
> 
> > I have a very wierd problem.  SpamAssassin works on the command line,
> > and MIMEDefang works for virus scanning, but spam_assassin_check()
> > always returns $hits == 0.
> 
> See http://bugzilla-new.spamassassin.org//show_bug.cgi?id=1977
> 
> Re-install SpamAssassin after you set root's umask to 022.

For those who haven't groked what David said, I would like to expand his
answer a bit. In most systems, root's umask is defaulted to 077 which
means that ONLY root has ANY permissions on things that it owns. In most
cases this is okay EXCEPT when you install software that others need to
use. In particular reading and searching. By setting root's umask to 022
before any install you ensure that others can at least read and search
the directories and files installed when you are logged in as yourself.

Hope this helps some of the newer folk out there and serves as a
reminder to all the experienced folk as to why this is a good practice
as opposed to monkeying with the standard settings.

-- 
Gerry Roderick Singleton <gerry at pathtech.org>
416-452-4583




More information about the MIMEDefang mailing list