Hi, On Thu, 19 Feb 2004 14:08:05 +0200 Hennie Rautenbach <[EMAIL PROTECTED]> wrote:
> Hi there, > > I am trying to interface SpamAssassin with Postfix ! In my endeavors I > stumbled upon amavisd. > > I am now trying to configure and run it. After I installed /all/ the > required dependencies it fails to see MIME::Parser. Which perl interpreter does amavisd use? Check the first line of the file: $ head /usr/local/src/amavisd-new-20030616/amavisd #!/usr/bin/perl -T #------------------------------------------------------------------------------ # This is amavisd-new. # It is a high-performance interface between message transfer agent (MTA) # and virus scanners and/or spam scanners. # # It is a performance-enhanced and feature-enriched version of amavisd # (which in turn is a daemonized version of AMaViS), initially based # on amavisd-snapshot-20020300). So in my case, amavisd uses /usr/bin/perl. Now check if /usr/bin/perl can load MIME::Parser with: $ /usr/bin/perl -MMIME::Parser -e 'print $MIME::Parser::VERSION, "\n"; which should respond with something like: 5.406 If this command throws an error, MIME::Parser is not properly installed for that perl interpreter (note that there may be more than one) and you need to reinstall MIME::Parser using /usr/bin/perl or whatever interpreter amavisd is using. > find shows: > > nova:~# find /usr/ -name "MIME-tools" -print > > /usr/lib/perl/5.6.1/auto/MIME-tools find won't help you much; it only shows if the files exist, not if they actually work with the perl interpreter used to call amavisd. hth, -- Bob
