mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-03 16:16:59 +00:00
Automatic signature insertion was unconditional: any identity with a signature got it embedded in new mail and appended to replies, forwards and quick replies. Users who want a signature only in specific contexts had no way to opt out. Add two per-account synced settings, both defaulting to off: - signatureNewMailEnabled: insert the signature in new messages (and re-opened drafts, which open in compose mode) - signatureReplyForwardEnabled: append it in replies, forwards and the quick reply box With a toggle off the composer neither embeds the signature into the body, nor appends one at send or draft-save time, nor shows the read-only preview under the editor - the preview would promise a signature that never goes out. A signature pasted in by hand is never stripped (bodyCarriesSignature still short-circuits the append). Also flip signatureSeparatorEnabled's default from true to false: the RFC 3676 "-- " delimiter surprised users more than it helped. Only the default changes - no migration, so users who already set it keep their choice. Co-Authored-By: Claude Code <noreply@anthropic.com>