[GH-ISSUE #918] E-mail publishing, attachment limited to 4ko file size #643

Closed
opened 2026-05-07 00:26:13 +02:00 by BreizhHardware · 1 comment

Originally created by @adamaen87 on GitHub (Oct 17, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/918

🐞 Describe the bug

I'm using E-mail publishing (local only email) to send notifications from differents docker services in OpenMediaVault. The smtp server is configured with ntfy. Everything works with no problem except one bug. I have a snapraid script (snapraid-aio-script on github) configured as a scheduled task (cron) and send the output via email to ntfy. The message is more than 4k so the notification is send with an attachment as intended. But for some reason the file is always limited to 4ko size and is truncated.
💻 Components impacted

ntfy server, Android app
💡 Screenshots and/or logs

🔮 Additional context

Originally created by @adamaen87 on GitHub (Oct 17, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/918 :lady_beetle: **Describe the bug** <!-- A clear and concise description of the problem. --> I'm using E-mail publishing (local only email) to send notifications from differents docker services in OpenMediaVault. The smtp server is configured with ntfy. Everything works with no problem except one bug. I have a snapraid script (snapraid-aio-script on github) configured as a scheduled task (cron) and send the output via email to ntfy. The message is more than 4k so the notification is send with an attachment as intended. But for some reason the file is always limited to 4ko size and is truncated. :computer: **Components impacted** <!-- ntfy server, Android app, iOS app, web app --> ntfy server, Android app :bulb: **Screenshots and/or logs** <!-- If applicable, add screenshots or share logs help explain your problem. To get logs from the ... - ntfy server: Enable "log-level: trace" in your server.yml file - Android app: Go to "Settings" -> "Record logs", then eventually "Copy/upload logs" - web app: Press "F12" and find the "Console" window --> :crystal_ball: **Additional context** <!-- Add any other context about the problem here. -->
BreizhHardware 2026-05-07 00:26:13 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Author
Owner

@binwiederhier commented on GitHub (Nov 20, 2023):

The ntfy message limit is 4k for various reasons. There is a ticket around increasing it (https://github.com/binwiederhier/ntfy/pull/836), but the consequences of doing that is not known. I'll likely merge this soon, but expose the option at your own risk.

So for all intents and purposes, this is a dup of #836

<!-- gh-comment-id:1818808184 --> @binwiederhier commented on GitHub (Nov 20, 2023): The ntfy message limit is 4k for various reasons. There is a ticket around increasing it (https://github.com/binwiederhier/ntfy/pull/836), but the consequences of doing that is not known. I'll likely merge this soon, but expose the option at your own risk. So for all intents and purposes, this is a dup of #836
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#643
No description provided.