Description

This function checks whether the server includes Apache SpamAssassin™ as an ACL.

 The function will configure the spam_as_acl cPvariable with the result. You can use this variable as a cpanelif tag.

Examples 


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$spam_assassin_acl = $cpanel->api1('Email', 'has_spam_as_acl') ); // Call the function.

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $spam_assassin_acl = $cpliveapi->api1('Email', 'has_spam_as_acl'); # Call the function.

<cpanel Module="Email::has_spam_as_acl() )">
cpapi1 --user=username Email has_spam_as_acl

This function does not return output.

Parameters

This function does not accept parameters.

Returns

This function does not return output.