On 7/27/21 3:46 PM, postfix--- via MIMEDefang wrote:
>> you can just set $Features{"SpamAssassin"}=0
>> and no additional code will be loaded.
>
> Set where? In mimedefang.pl or in the mimedefang-filter body? And if in the
> filter does location matter? If too soon will it get over written by code in
> mimedefang.pl?
>
> mimedefang.pl:
> sub detect_and_load_perl_modules {
> if (!defined($Features{"AutoDetectPerlModules"}) or
> $Features{"AutoDetectPerlModules"}) {
> if (!defined($Features{"SpamAssassin"})) {
> (eval 'use Mail::SpamAssassin (); $Features{"SpamAssassin"} = 1;')
> or $Features{"SpamAssassin"} = 0;
> }
> $Features{"SpamAssassin"} = 1; #<-- HERE??? Or safer in
> mimedefang-filter body?
> ...
> ...
> }
> }
>
> Another thing that im not understanding, is in the above sub
> detect_and_load_perl_modules() it's checking if $Features{"SpamAssassin"} is
> defined however i am not seeing anywhere in mimedefang.pl where
> $Features{"SpamAssassin"} gets set/created/defined to begin with. Does this
> happen in a hidden section of c code? Am i missing it somewhere else?
> this could be set in mimedefang-filter or in mimedefang-filter.conf, This feature is not available on MIMEDefang 2.84 but only on (yet not released) 2.85 version. Giovanni
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. MIMEDefang mailing list [email protected] https://lists.mimedefang.org/mailman/listinfo/mimedefang_lists.mimedefang.org
