[Mimedefang] HELP! At end of my rope with MD/SA

gavin.mcnay at uk.nomura.com gavin.mcnay at uk.nomura.com
Wed Jul 6 06:31:09 EDT 2005


Dirk wrote
>    I have been beating my head against the wall, trying to add
> SpamAssassin v3.0.4 to my MIMEDefang v2.52 installation. This has gone
> on for a solid week, and I am at the end of my rope. I need 
> help, and I
> hope the community can offer me some fresh ideas.

What does mimedefang.pl -features show? 
I'd guess your perl instance Isn't picking up Mail::SpamAssassin

>    If I add
> 
> 	$Features{'SpamAssassin'} = 1;
> 
> to mimedefang-filter, so I can eliminate the "if $Features" logic and
> simplify my -filter file, I get the following error:

I think the modules are "use"d in the mimedefang.pl code
    # Detect these Perl modules at run-time...
    (eval 'use Mail::SpamAssassin (); $Features{"SpamAssassin"} = 1;')
        or $Features{"SpamAssassin"} = 0;

I think your filter working with the $Features{'SpamAssassin'} checks worked since SpamAssassin was not picked up and hence the If block was ignored.

You can test my theory using
perl -MMail::SpamAssassin -e 'print "installed\n"'

note that the perl on your path and the on in the #! line of mimedefang.pl should be the same.

Also check your environment and the environment of the user running mimedefang.pl

Hope that helps give you some ideas

Gavin

PLEASE READ: The information contained in this email is confidential and
intended for the named recipient(s) only. If you are not an intended
recipient of this email please notify the sender immediately and delete your
copy from your system. You must not copy, distribute or take any further
action in reliance on it. Email is not a secure method of communication and
Nomura International plc ('NIplc') will not, to the extent permitted by law,
accept responsibility or liability for (a) the accuracy or completeness of,
or (b) the presence of any virus, worm or similar malicious or disabling
code in, this message or any attachment(s) to it. If verification of this
email is sought then please request a hard copy. Unless otherwise stated
this email: (1) is not, and should not be treated or relied upon as,
investment research; (2) contains views or opinions that are solely those of
the author and do not necessarily represent those of NIplc; (3) is intended
for informational purposes only and is not a recommendation, solicitation or
offer to buy or sell securities or related financial instruments.  NIplc
does not provide investment services to private customers.  Authorised and
regulated by the Financial Services Authority.  Registered in England
no. 1550505 VAT No. 447 2492 35.  Registered Office: 1 St Martin's-le-Grand,
London, EC1A 4NP.  A member of the Nomura group of companies.





More information about the MIMEDefang mailing list