Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Return 404 response when Lua script is not found #201

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

croessner
Copy link
Owner

Previously, the system returned a generic error when a Lua script for a specific hook was missing. This update sends a 404 status with a JSON error response, improving clarity and aligning with standard HTTP practices.

Christian Roessner added 3 commits January 13, 2025 09:18
Previously, the system returned a generic error when a Lua script for a specific hook was missing. This update sends a 404 status with a JSON error response, improving clarity and aligning with standard HTTP practices.

Signed-off-by: Christian Roessner <[email protected]>
Introduced a modular IMAPServer and ServerManager structure to handle IMAP and IMAPS configurations and startup. Added proxy and TLS listener support for secure connections. Improved TLS configuration validation to ensure certificates and keys are provided for IMAPS.

Signed-off-by: Christian Roessner <[email protected]>
Introduce explicit interface compliance checks for Backend, User, and Session. Refactor SMTP server setup with improved TLS configuration and support for both SMTP and SMTPS modes. Refactor ProxyAndTLSListener for better code consistency and readability.

Signed-off-by: Christian Roessner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant