Updating Hostname in System Sieve Interpreter fails

Issue Description

When updating the messageIdHostname in SieveSystemInterpreter, it returns The data did not pass validation. else: Required.

This happens via the admin interface and the API.

Expected Behavior

The value should be updated without an error

Actual Behavior

The error is returned: The data did not pass validation. else: Required

Reproduction Steps

  1. In the admin interface, go to Settings > Sieve > System Interpreter
  2. Provide a value in the Hostname option
  3. Hit Save.
  4. The failure should appear

Stalwart Version

v0.16.x

Installation Method

Binary (Linux)

Database Backend

PostgreSQL

Blob Storage

S3-compatible

Search Engine

PostgreSQL

Directory Backend

Internal

I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.

on

I have searched this support forum (open and closed topics) and confirm this is not a duplicate.

on

I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.

on

Let me look into this validation issue with the Sieve System Interpreter hostname setting.

This has been fixed on the main branch. The fix will be included in v0.16.8.