Mark Martinec: > Stefan, > <snip> > > amavisd does not modify @INC nor use the 'use lib' pragma/module. > > > %ENV: > > PERL5LIB="/usr/local/perl/lib:/usr/local/perl/lib/arch" > > Note that amavisd runs in taint mode, so this will be ignored by perl > according to its perlrun documentation:
<snip> > When running taint checks (either because the program was running setuid or > setgid, or the -T switch was used), neither variable is used. The program > should instead say: > use lib "/my/directory"; > > > My question is now: How can I tell spamassassin to use the right > > (modified) @INC array? > > It would be simplest to install missing modules in one of the > perl-default directories, such as /usr/lib/perl5/site_perl/5.10.0/ . > Or try adding: use lib "your-directory" at the start of file amavisd. I added use lib '/usr/local/perl/lib'; to /etc/amavisd.conf and it seams to work. Are there any disadvantages in placing the use lib pragma there instead of in amavisd? > Mark Thank you, Mark. Greetings Stefan
signature.asc
Description: This is a digitally signed message part.