Michael, > Guess we have a path problem: > -r-xr-xr-x 1 root wheel 11232 Jun 1 07:36 /usr/local/bin/file > -r-xr-xr-x 1 root wheel 10300 Nov 8 2006 /usr/bin/file > > But, amavisd-new will use /usr/local/bin/file first? > Jun 16 07:34:44 fl amavis[15952]: Found $file at /usr/local/bin/file
Yes, intentionally. Often the one installed by user is fresher that the one bundled with a system. But this is under user's control, the default $path variable in amavisd is empty, it is always explicitly assigned to in amavisd.conf, e.g. $path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin'; > So, we patch amavisd or file? If file(1) gives wrong result, it needs to be fixed or replaced. I doubt there is anything in amavisd in this regard. Mark ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
