mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 14:53:00 +03:00
[PR #337] [MERGED] fix: pocket-id notify emails are considered as medium spam by rspamd #872
Reference in New Issue
Block a user
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?
📋 Pull Request Information
Original PR: https://github.com/pocket-id/pocket-id/pull/337
Author: @alexlehm
Created: 3/14/2025
Status: ✅ Merged
Merged: 3/16/2025
Merged by: @stonith404
Base:
main← Head:email-headers-missing📝 Commits (3)
0512303fixes #330 pocket-id notify emails are considered as medium spam by rspamd4eb05d5fix assigned, sorry forgot to commit my last changes90be99cwhen the sender email does not have an @, use os.Hostname as fallback📊 Changes
2 files changed (+30 additions, -1 deletions)
View changed files
📝
backend/internal/service/email_service.go(+25 -0)📝
backend/internal/utils/email/composer.go(+5 -1)📄 Description
add additional mail headers and do not encode realnames when they are only 7bit ascii chars
Fixes: #330
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.