mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[PR #1152] [MERGED] Server supports custom headers #1306
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#1306
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cypht-org/cypht/pull/1152
Author: @Shadow243
Created: 8/9/2024
Status: ✅ Merged
Merged: 8/12/2024
Merged by: @kroky
Base:
master← Head:server-supports-custom-headers📝 Commits (1)
700f49cchecking if the server supports custom headers📊 Changes
1 file changed (+49 additions, -1 deletions)
View changed files
📝
modules/imap/hm-imap.php(+49 -1)📄 Description
Description
Based on a discussion from the Stalwart GitHub issue https://github.com/stalwartlabs/mail-server/discussions/477, it appears that Stalwart's IMAP server only indexes standard headers defined in RFCs and does not support searching custom headers (such as
X-Auto-Bcc) by default. This design choice is intended to optimize server performance by maintaining a manageable index size, as most users typically search by common fields like recipients, subjects, or message contents.Key Points
X-Auto-Bcc) because these headers are not indexed.A
server_supports_custom_headersfunction is implemented to determine if the server supports searching custom headers. This function sends a test command to the server and inspects the response to check for support.Related Issue: https://github.com/cypht-org/cypht/issues/1149
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.