[Mimedefang] Mimedefang + spamassassin = 0

Simon Oxwell s.oxwell at murdoch.edu.au
Mon Jan 5 21:38:44 EST 2004


David F. Skoll wrote:
> On Mon, 5 Jan 2004, Simon Oxwell wrote:
> 
> 
>>Things seem to be working fine, in terms of sendmail, miltering, etc (my
>>site runs an older version of mimedefang +spamassassin for spam
>>tagging), but any email that gets processed by mimedefang is given a
>>spam score of zero.
> 
> 
> Most likely a permissions problem -- make sure all the SpamAssassin config
> files are readable by the "defang" user.

Turns out that it wasn't a permissions problem, but it did get me 
thinking about how SpamAssassin figured out where its rules files were.

Turned out that it looks in __prefix__/share/spamassassin (amongst 
others), where __prefix__ is substituted by $self->{PREFIX} and 
$self->{PREFIX} was being 'predefined' as the wrong thing.

 From SpamAssassin.pm

# if the libs are installed in an alternate location, and the caller
# didn't set PREFIX, we should have an estimated guess ready ...
$self->{PREFIX} ||= '/opt/packages/build/perl';  # substituted at 'make' 
time

The problems you get making packages with perl modules, I guess.

Thanks for the help!


Simon

-- 
o Simon Oxwell --------- Computer and Database Administrator (ITS) o
| s.oxwell at murdoch.edu.au                   Phone: +61 8 9360 7335 |
| SC1.37                                        Murdoch University |
o------- "Yes, Wubba Wubba Wubba is a Monster song" - Grover ------o



More information about the MIMEDefang mailing list