[SOLVED] Can wildcards be used when ignoring attachment fileendings with elasticsearch?


We are using Elasticsearch in our setup and had the default value for es_attachment_ignore for now. However we ran into an issue when a customer send us a multi part zip file. He renamed the .zip to .zip.001 etc. which lead to the following error message in the Zammad health monitor:
Failed to run background job #1 'BackgroundJobSearchIndex

Now we wanted to add to es_attachment_ignore the value .zip.* if possible as a wildcard. Is that supported?

Best regards,

I think @thorsteneckel might be able to answer that.

The reference is this:
zammad run rails r "Setting.set('es_attachment_ignore', [ '.png', '.jpg', '.jpeg', '.mpeg', '.mpg', '.mov', '.bin', '.exe', '.box', '.mbox' ] )"
( https://docs.zammad.org/en/latest/install-elasticsearch.html#optional-settings )

Wildcards are not supported at the moment. However, a feature proposal in the right category of the board would be cool :+1:

OK will do so.
This thread can be closed.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.