Issues with trigger

Infos:

  • Used Zammad version: 7.2.1-09a7af47.docker
  • Used Zammad installation type: docker-compose
  • Operating system: ubuntu 24.04 LTS
  • Browser + version: Firefox 156.0.1

Expected behavior:

  • I have the default autoreply trigger in the system and I’d expect it to send an autoreply if a new ticket is created via email. This used to work as I can confirm by running:
    docker logs zammad-railsserver-1 | grep trigger
    There I get a message from october 1st. where it actually did something, and afterwards there is only some audit messages I guess that I accessed the trigger settings.

Actual behavior:

  • there is no log output in stdout of the container zammad-railsserver-1 regarding triggers

  • there is no email being sent

Steps to reproduce the behavior:

  • I’m not exactly sure what you have to do to reproduce this, as this is the default autoreply trigger for new tickets and I don’t know which other settings could have affected this to now be not functional anymore.

What I already did:

I confirmed that I can indeed reply to the messages in tickets via email and the sender is correct and matches the groups address as intended. (the groups all use e-mail via M365 graph)

I also confirmed that I can get email notifications via an smtp relay (I had to set that up because apparently zammad doesn’t support email notifications via M365 graph)

I also had an extensive chat with google gemini about this and it came up with all kinds of weird and wonderful things that could be wrong and made up all kinds of flags and preferences that would exist in queues which I confirmed on the rails console to definitely not exist…
So I am at a total loss here :smiley:

Please, if anyone had this issue before… I’d be very grateful for any hints.

I also have a 100% identical copy of this docker deployment as a testing environment, with just some different mailboxes for testing obviously, and it has the exact same issue.

Is there any debug flags that I can set so that stdout of the railsserver gets a bit more talkative? :smiley:

Greetings

beconijoe

Hi beconijoe,

Two things to check:

  1. You may be checking the wrong container. Emails are fetched and their triggers run in the scheduler container, not the railsserver.

  2. Are you testing from an agent’s address? If the sender is an agent, or one of Zammad’s own email addresses, Zammad marks the article sender as Agent. The default auto-reply only fires for Customer senders, and it skips without logging anything. Please send a test from an outside address that isn’t a Zammad user (e.g. Gmail).

If it still doesn’t work, download the original email from the article. Look for headers like Auto-Submitted, Precedence: bulk, X-Auto-Response-Suppress: All or List-Unsubscribe. Any of these stops auto-replies on purpose (loop protection).

There’s no debug flag for the logs in production, unfortunately.

OMG thank you!
Honestly, I have looked at the scheduler log output before and I never looked at it with the follow switch on… otherwise I would have noticed that this is the place to look…

I had a ) instead of a } closing one of the variables…
Unfortunately the default font in bold didn’t help spotting this :smiley:

As always, it is the dumbest mistake just hidden very well :smiley:

Thank you bialaps :slight_smile: