Process unprocessed mails

  • Used Zammad version:
    6.3.1

  • Used Zammad installation type: (source, package, docker-compose, …)
    docker compose

  • Operating system:
    deb 11

Expected behavior:

process unprocessed mails

Actual behavior:

docker exec -ti zammad-docker-compose-zammad-railsserver-1 rails r ‘Channel::EmailParser.process_unprocessable_mails’

results in : error stack - failed DB connection

thus (now with environment)

docker exec -ti zammad-docker-compose-zammad-railsserver-1 /docker-entrypoint.sh rails r ‘Channel::EmailParser.process_unprocessable_mails’

results in:

I, [2024-06-10T12:02:59.520130 #289] INFO – : ActionCable is using the redis instance at redis://zammad-redis:6379.
I, [2024-06-10T12:02:59.534849#289-6060] INFO – : Using memcached as Rails cache store.
I, [2024-06-10T12:02:59.535033#289-6060] INFO – : Using the Redis back end for Zammad’s web socket session store.
Please specify a valid ruby command or the path of a script to run.
Run ‘rails runner -h’ for help.

undefined method `process_unprocessable_mails’ for Channel::EmailParser:Class

Steps to reproduce the behavior:

as above

Is this function still there?
Is there a new syntax?
Where do I find it in the documentation?

thanks a lot

Hello @tsprich,

The commands changed for zammad 6.3 and is documented under:
https://docs.zammad.org/en/latest/admin/console/other-useful-commands.html

Shot: Login as user zammad and move to /opt/zammad folder then run ‘zammad rake xxxxxxx’ from documentation.

Regards,
Benjamin

Hi Benjamin,

thank you very much, that helped a lot.

Torsten