Background
Currently, ns8-piler lacks a way for users to access their own archived emails. @pagaille PR #77 enables persistent custom configuration for config-site.php, allowing administrators to configure IMAP or LDAP authentication for user self-service access.
According to Piler documentation, regular users should authenticate via external sources (IMAP, LDAP, AD) rather than the local database, which is reserved for special accounts like admin@local.
The Need
Enable users to:
-
Log into Piler with their email credentials
-
View their own archived emails without administrator intervention
Known Limitation
IMAP authentication only shows emails for the exact login address, not aliases.
Example: User john@example.com with alias support@example.com wonât see emails sent to the alias, even though he receives them.
Proposed Solution
-
Short term: Accept PR #77 to enable IMAP authentication (easier to implement)
-
Document the alias limitation clearly
-
Long term: Consider a Mailcow-style integration (like this Piler fork) that queries the mail server API to include aliases
References
This would enable user self-service access to email archives while being transparent about the current limitations. we could also implement a toggle in the UI
cc @davidep