mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[GH-ISSUE #3609] SMTP authentication option for the webmail triggers DEV_MODE by default #1865
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1865
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?
Originally created by @mirtouf on GitHub (Jul 25, 2025).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/3609
Impacted versions
Steps to reproduce
In modoboa's admin page got to Settings, then Webmail then SMTP settings then select "Authentication required"
Current behavior
The usage of this mode triggers an error 500 from /api/v2/webmail/compose-sessions with this message:
If I disable the authentication for SMTP, there is no such error but in my set-up, I prefer to keep the need for authentication when connecting through Postfix's ports.
The error is due to theses file I suppose:
/home/modoboa/env/lib/python3.11/site-packages/modoboa/webmail/lib/sendmail.py
/home/modoboa/env/lib/python3.11/site-packages/modoboa/webmail/lib/imaputils.py
Expected behavior
The mail should be sent and shall not trigger such request for dev mode as the variables are normally used only for testing purposes
Video/Screenshot link (optional)