[GH-ISSUE #1169] Allow publishing via local emails without the need for an authentication token #826

Open
opened 2026-05-07 00:27:49 +02:00 by BreizhHardware · 0 comments

Originally created by @BennoLossin on GitHub (Aug 21, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1169

💡 Idea

I am planning on running ntfy on my server. Since I don't want anyone except me and my friends to use it, I will set auth-default-access = deny-all and all users will have passwords. Additionally I have configured local emails and would like to send emails without requiring an authentication token, since all emails are coming from the server itself and it requires me to manually reconfigure the emails for all services.

I would be willing to try creating an implementation. I think it would suffice to add an option accept-unauthorized-emails that selects this behavior. I am not sure, but it might be a good idea to only allow activating this when smtp-server-listen = :25.

💻 Target components

  • ntfy server
Originally created by @BennoLossin on GitHub (Aug 21, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1169 <!-- Before you submit, consider asking on Discord/Matrix instead. You'll usually get an answer sooner, and there are more people there to help! - Discord: https://discord.gg/cT7ECsZj9w - Matrix: https://matrix.to/#/#ntfy:matrix.org / https://matrix.to/#/#ntfy-space:matrix.org --> :bulb: **Idea** I am planning on running `ntfy` on my server. Since I don't want anyone except me and my friends to use it, I will set `auth-default-access = deny-all` and all users will have passwords. Additionally I have configured local emails and would like to send emails without requiring an authentication token, since all emails are coming from the server itself and it requires me to manually reconfigure the emails for all services. I would be willing to try creating an implementation. I think it would suffice to add an option `accept-unauthorized-emails` that selects this behavior. I am not sure, but it might be a good idea to only allow activating this when `smtp-server-listen = :25`. <!-- Share your thoughts; try to be detailed if you can --> :computer: **Target components** - ntfy server <!-- Where should this feature/enhancement be added? --> <!-- e.g. ntfy server, Android app, iOS app, web app -->
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/ntfy#826
No description provided.