[GH-ISSUE #285] log in webgui #191

Closed
opened 2026-03-15 13:07:01 +03:00 by kerem · 2 comments
Owner

Originally created by @q16marvin on GitHub (Apr 25, 2024).
Original GitHub issue: https://github.com/axllent/mailpit/issues/285

Hi again,

i think it would be realy helpful to have the full log visible anywhere in gui, because for me its intresting "who" tries to connect to the smpt:

mailpit | time="2024/04/25 12:39:38" level=warning msg="[smtpd] deny LOGIN login:"test" from:113.239.202.119"

but this currently i only see in the shell :)

What do you think about it?

Originally created by @q16marvin on GitHub (Apr 25, 2024). Original GitHub issue: https://github.com/axllent/mailpit/issues/285 Hi again, i think it would be realy helpful to have the full log visible anywhere in gui, because for me its intresting "who" tries to connect to the smpt: mailpit | time="2024/04/25 12:39:38" level=warning msg="[smtpd] deny LOGIN login:\"test\" from:113.239.202.119" but this currently i only see in the shell :) What do you think about it?
kerem closed this issue 2026-03-15 13:07:06 +03:00
Author
Owner

@axllent commented on GitHub (Apr 25, 2024):

Whilst I can understand you for wanting an easy-to-see overview of logs in the web UI, there are some reasons this is also a bad idea. Mailpit is used in many different environments, and exposing the log files via the API (what the web UI uses) can be seen as a security flaw as it exposes those logs to the network too (and more than just who failed to connect to SMTP, but if you set to verbose you'll see a lot more and maybe understand what I mean).

Mailpit is not a monitoring system, those logs (via the shell) are meant as an audit-log to try debug Mailpit issues. Failed SMTP attempts should be handled/reported properly via the application trying to send, not the application receiving :-)

Does this make sense to you?

<!-- gh-comment-id:2078173188 --> @axllent commented on GitHub (Apr 25, 2024): Whilst I can understand you for wanting an easy-to-see overview of logs in the web UI, there are some reasons this is also a bad idea. Mailpit is used in many different environments, and exposing the log files via the API (what the web UI uses) can be seen as a security flaw as it exposes those logs to the network too (and more than just who failed to connect to SMTP, but if you set to verbose you'll see a lot more and maybe understand what I mean). Mailpit is not a monitoring system, those logs (via the shell) are meant as an audit-log to try debug Mailpit issues. Failed SMTP attempts should be handled/reported properly via the application trying to send, not the application receiving :-) Does this make sense to you?
Author
Owner

@q16marvin commented on GitHub (Apr 26, 2024):

yes you are right, so forgot please my idea :)

<!-- gh-comment-id:2078671013 --> @q16marvin commented on GitHub (Apr 26, 2024): yes you are right, so forgot please my idea :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#191
No description provided.