[Mimedefang] Spamassassin not processing with Mimedefang

Brian Snead BSnead at infosysnetworks.com
Thu May 29 13:23:00 EDT 2003


I have a new Redhat 9.0 install of MIMEDefang, Spamassassin, Sendmail, etc. MIMEDefang is processing the messages and adding its header "X-Scanned-By". The problem is, the messages never contain a reference to Spamassassin.

I am using the example filter that is provided with MIMEDefang and it looks like it should be adding a header and a score. Or at the very least, it should be rejecting the mail.

As root, I can run a manual test on Spamassassin and it gives the expected results. For example,

	spamassassin -t <message >result

As user defang, I get an error when trying to run the same test. The error is

Can't locate Mail/SpamAssassin/NoMailAudit.pm in @INC (@INC contains: /usr/src/build/228815-i386/install//usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/bin/spamassassin line 127.
BEGIN failed--compilation aborted at /usr/bin/spamassassin line 127.

As root, I can locate the NoMailAudit.pm in /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/NoMailAudit.pm

On further observation, it looks like Spamassassin is located in a different path then my other perl objects. The Spamassassin I installed was from the Redhat binary and may not understand the thread-multi path. Any clarification fixing this problem is greatly appreciated.

Brian Snead




More information about the MIMEDefang mailing list