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
Linux haraka-mail-relay 5.4.0-1049-azure #51~18.04.1-Ubuntu SMP Fri Jun 4 15:21:28 UTC 2021 x86_64 Linux
openssl
OpenSSL 1.1.1k 25 Mar 2021
Expected behavior
I'm writing a plugin to bounce or block outbound messages based on certain conditions. I am able to receive the message content in the hook_queue and block the message using the following snippet. next(DENY, 'blocking the message');
What I want to do more is customize the bounce message that gets sent to the sender on the DENY return code or add a customized banner to the original message so that it shows up as part of the bounce message.
Is there support in haraka to achieve any of the above two options?
This discussion was converted from issue #2959 on May 14, 2024 22:06.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
system info
Expected behavior
I'm writing a plugin to bounce or block outbound messages based on certain conditions. I am able to receive the message content in the hook_queue and block the message using the following snippet.
next(DENY, 'blocking the message');
What I want to do more is customize the bounce message that gets sent to the sender on the DENY return code or add a customized banner to the original message so that it shows up as part of the bounce message.
Is there support in haraka to achieve any of the above two options?
Beta Was this translation helpful? Give feedback.
All reactions