| > Once you su to amavis the  path is set to that of amavis (and not
| > root),
| > that is why you are getting many messages like " *** not found"
|
|
| I may be wrong but the error messages seemed to suggest that the amavis
| script was being interpreted as a shell script instead of a perl
| script.
|
no probs if u are wrong. we can work towards a correct solution. at this
stage any suggestion is better then no suggestion at all.

as for the script being interpreted as a shell script.. the command that i
execute as su is
this
 su - amavis /usr/sbin/amavisd

and amavisd is a perl script that starts like this ( no question of
interpreting it as shell script .. see the first line)
cat /usr/sbin/amavisd|more
#!/usr/bin/perl -T

#
# Author:  Chris Mason <[EMAIL PROTECTED]>
# Current maintainer: Lars Hecking <[EMAIL PROTECTED]>
#
# Based on work by:
#       Mogens Kjaer, Carlsberg Laboratory, <[EMAIL PROTECTED]>
#       Juergen Quade, Softing GmbH, <[EMAIL PROTECTED]>
#       Christian Bricart <[EMAIL PROTECTED]>
#       Mark Martinec <[EMAIL PROTECTED]>
#
# This script is part of the AMaViS package.  For more information see:
#
# http://amavis.org/
#
# Copyright (C) 2000 - 2002 the people mentioned above
#
#
# This software is licensed under the GNU General Public License (GPL)
# See:  http://www.gnu.org/copyleft/gpl.html
#

package Amavis;


its unable to find the package amavis... as the error reports.
I am sure, a perl expert might be able to throw some light on this.

Arvind





-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to