Hi everyone,
I’m currently facing an issue with KumoMTA where I’m encountering an error that states “attempt to call a nil value (field ‘accept’)” during the execution of my init.lua script. This is causing the SMTP server to reject recipient addresses due to a supposed suppression list check failure.
Here’s a brief overview of what I’m doing:
I’m requiring the kumo module at the start of the script using pcall for safe execution.
I’ve added debug prints to verify the keys available in the kumo object, but it seems the accept function is not present.
The script handles SMTP authentication and checks an external Redis-based suppression list, which seems to work until it hits this error.
The error occurs during the smtp_server_rcpt_to callback, where I try to call kumo.accept() to accept non-suppressed email addresses.
I’ve double-checked the official documentation and tried to ensure my KumoMTA setup is up-to-date, but the issue persists. I suspect it might be a version mismatch or a missing configuration, but I’m not entirely sure.
Has anyone else experienced a similar issue, or does anyone have insights into what might be going wrong? Any guidance or suggestions would be greatly appreciated!
Thanks in advance for your help!

