[Mimedefang] SpamAssassin is not installed ?

Tom Horan thos at esat.com
Wed Apr 9 08:45:00 EDT 2003

Hey Scott,
Cheers for the reply.

Yeah, it turns out I had a nasty umask which upset a whole load of
permission during the install.

Thanks anyway,


-----Original Message-----
From: Scott.Larnach at ed.ac.uk [mailto:Scott.Larnach at ed.ac.uk]
Sent: 09 April 2003 13:29
To: 'mimedefang at lists.roaringpenguin.com'
Subject: RE: [Mimedefang] SpamAssassin is not installed ?

On Fri, 28 Mar 2003, Tom Horan wrote:

> Right, I got perl 5.6.1 installed, happened to have it handy ... but now
> mimedefang cant find vars.pm
> vars.pm is located in:
> /usr/local/lib/perl5/5.6.1/vars.pm
> /usr/local/lib/perl5/site_perl/5.6.1/vars.pm

I may be a bit late with this (too busy patching sendmails :), but there
doesn't seem to have been a resolution posted in this thread.

I had similar problems with my initial installation and they were all
due to bad directory permissions when installing perl modules. When
doing 'make install', if the target directory didn't exist, it got
created with the umask my root shell was running with, and the directory
would end up owned by root with no group or world permissions. Doing
something like

  mimedefang.pl -features

as root would work, but running from mimedefang would not, as it runs as
the defang (or whatever) user.

If this is the problem it can be fixed with

  # cd /usr/local/lib/perl5
  # find . -type d | xargs chmod 755

and just for good measure...

  # find . -type f | xargs chmod 644

I do that every time I install a perl module now.

Scott Larnach, Edinburgh University

MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com

Esat Telecommunications Limited 
is a wholly owned subsidiary of BT Group plc 
Registered in Ireland, Registration No. 141524 
Grand Canal Plaza, Upper Grand Canal Street, Dublin, Ireland 

This electronic message contains information (and may contain files) from
Esat Telecommunications Limited which may be privileged or confidential. The
information is intended to be for the sole use of the individual(s) or
entity named above. If you are not the intended recipient be aware that any
disclosure, copying, distribution or use of the contents of this information
and or files is prohibited. If you have received this electronic message in
error, please notify us by telephone or email (to the numbers or address
above) immediately. http://www.esatbt.com 

Win EUR100,000 worth of eBusiness solutions from Esat BT. 
Click http://www.esatbt.com/ie/competition/labyrinth/index.html to enter!

More information about the MIMEDefang mailing list