Per,

| I'm having trouble with a newly installed server.
| OpenBSD 3.4 GENERIC#0 i386
| amavisd-new latest stable

| amavisd is running chroot'ed
| 
| /usr/local/libdata/perl5/site_perl/i386-openbsd/Net/DNS/RR/AAAA.pm 
| exists on the system.
| Not all mails will trigger the following error, I'm currently 
| investigating which one does:
|   Dec 11 15:12:06 as9-2-1 amavis[11366]: (11366-05) TROUBLE in check_mail: 
|   spam_scan FAILED: Can't locate Net/DNS/RR/AAAA.pm in @INC

Looks like you need to include:   Net::DNS::RR::AAAA
in the list of modules to be fetched before chroot takes place.

  # Fetch all remaining modules.
  sub fetch_modules_extra() {
  ...
        Mail::SpamAssassin::UnixLocker Mail::SpamAssassin::PerMsgLearner
        Net::DNS::RR::SOA Net::DNS::RR::NS Net::DNS::RR::MX Net::DNS::RR::A
        Net::DNS::RR::PTR Net::DNS::RR::CNAME Net::DNS::RR::TXT

^^^ anywhere in this list above

After chrooting takes place the Perl modules are no longer reachable
at their expected paths, which is why Perl 'use' or 'require'
fails if done too late.

I'll add this module to the list for the next patch release, thanks.

  Mark


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to