You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After writing the lua code i can see the text is correctly modified with task:get_message()https://rspamd.com/doc/lua/rspamd_task.html#mcea29, however OpenSMTPD delivers the original message without the signature appended to text/html part.
Message rewrite is not supported but that's mostly because I didn't know about the feature and didn't need it, not because of an opposition to bring it in filter-rspamd.
I won't have time to work on that before a while so I'll leave this issue opened in case someone works on it or has me work on it.
Hi,
I'm using OpenSMTPD (6.8.0p2-3) and Rspamd (2.7-1) with filter-rspamd (0.1.7-1+b5) on Debian 11.
I want to add a text/html signature (disclaimer) to the end of every outgoing email from my domain. Rspamd has a function for this:
lua_mime.add_text_footer()
https://rspamd.com/doc/lua/lua_mime.html#fa3d82. An example implementation can be found at https://gist.github.com/vstakhov/3dda60a5638a6aefd454973bd687fc21.After writing the lua code i can see the text is correctly modified with
task:get_message()
https://rspamd.com/doc/lua/rspamd_task.html#mcea29, however OpenSMTPD delivers the original message without the signature appended to text/html part.The
README.md
https://github.com/poolpOrg/filter-rspamd#features of this project does not say anything about full message rewrite. The lua script changes both headers and content.Is this feature supported? If no, is there a workaround to implement this functionality?
Thanks
The text was updated successfully, but these errors were encountered: