List Info

Thread: File(1) utility error.




File(1) utility error.
user name
2006-05-20 05:52:04
Janky Jay, III wrote:

> Yeah. When I run the Maia version of Amavisd I get the
"amavisd-new-2.2.1
> (20041222) + Maia Mailguard 1.0.1" in the log.
So, that should be fine. 
> Actually, I run the standard Amavisd-new at the moment
without a problem at 
> all. It find file(1) and runs with no issues
what-so-ever.
> 
> The permissions on the file application are as follows:
> -rwxr-xr-x  1 root root 22015 May 19 22:55
/usr/local/bin/file*
> 
> And when I run the Maia version, this is what's in the
log when it attempts to 
> find the file utility:
> /usr/local/sbin/amavisd[747]: No $file,         not
using it
> 
> But, when I run the standard Amavisd-new, I get:
> amavis[801]: Found $file            at
/usr/local/bin/file
> 
> So, I have absolutely no idea why Maia won't find the
file utility. Even if I 
> su to the user Maia runs as I am able to use the file
utility. So, *shrug* 
> I'm at a serious loss...

You probably don't have /usr/local/bin in the amavis/maia
user's path.
In any case, the fix is simple.  In your amavisd.conf file,
make sure
you have a line that reads:

$file = '/usr/local/bin/file';

-- 
Robert LeBlanc <rjlrenaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamail
guard.com/>

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
File(1) utility error.
user name
2006-05-20 21:18:59
On Friday 19 May 2006 23:52, you wrote:
> Janky Jay, III wrote:
> > Yeah. When I run the Maia version of Amavisd I get
the "amavisd-new-2.2.1
> > (20041222) + Maia Mailguard 1.0.1" in the
log. So, that should be fine.
> > Actually, I run the standard Amavisd-new at the
moment without a problem
> > at all. It find file(1) and runs with no issues
what-so-ever.
> >
> > The permissions on the file application are as
follows:
> > -rwxr-xr-x  1 root root 22015 May 19 22:55
/usr/local/bin/file*
> >
> > And when I run the Maia version, this is what's
in the log when it
> > attempts to find the file utility:
> > /usr/local/sbin/amavisd[747]: No $file,        
not using it
> >
> > But, when I run the standard Amavisd-new, I get:
> > amavis[801]: Found $file            at
/usr/local/bin/file
> >
> > So, I have absolutely no idea why Maia won't find
the file utility. Even
> > if I su to the user Maia runs as I am able to use
the file utility. So,
> > *shrug* I'm at a serious loss...
>
> You probably don't have /usr/local/bin in the
amavis/maia user's path.
> In any case, the fix is simple.  In your amavisd.conf
file, make sure
> you have a line that reads:
>
> $file = '/usr/local/bin/file';

I tried that and also got nothing. =/ I'm absolutely
stumped with this. I 
don't understand why standard Amavisd-new would work just
fine and Maia 
wouldn't be able to find the file(1) utility.

I had a similar problem before on one of my FBSD machines,
but that was easily 
resolved by using the SVN version instead of the
"stable"... So, eh. 
Clueless.

Thanks for the help though.

Regards
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )