The IMAP greeting Issue

Issue Description

The IMAP greeting is missing from the Imap singleton, a greeting field be added to the Imap singleton, similar to how smtpGreeting exists on MtaStageConnect. This is a legitimate privacy/security concern.

Expected Behavior

greeting field be added to the Imap singleton, similar to how smtpGreeting exists on MtaStageConnect.

Actual Behavior

the greeting is hardcoded as “Stalwart IMAP4rev2 at your service”

Reproduction Steps

telnet mail.yourdomain.com 143

Stalwart Version

v0.16.x

Installation Method

Built from source

Database Backend

FoundationDB

Blob Storage

Filesystem

Search Engine

Internal

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

The IMAP greeting is hardcoded and there’s no equivalent of MtaStageConnect.smtpGreeting on the Imap singleton today. The symmetry argument is fair, and could be added as a feature request.

On the privacy framing, the advertised CAPABILITY list and the JMAP service discovery fingerprint Stalwart much more strongly than the banner string, so a generic banner doesn’t buy meaningful obscurity against any tool that does post-handshake probing.

Are you suggesting that I need to submit another feature request, or have you already taken steps toward this?