The intention is that the plugin should trigger the script, which should write the parameters and executing username to a file.
The debug script has permission 777. But the dovecot plugin apparently never triggers the debug script. So I guess it never triggers dspam either when the setting is set for that.

If I set

Code:

antispam_backend = somefake

there is an error logged every time a mail is moved in/out of the spam folder.

From this I think the plugin is running, but it doesn't trigger any commands. How can I debug this?