Rule to alter mesage subject

Use this forum if you want to suggest a new feature to hMailServer. Before posting, please search the forum to confirm that it has not already been suggested.
Post Reply
Pedja
Normal user
Normal user
Posts: 37
Joined: 2010-10-30 05:39
Location: Serbia

Rule to alter mesage subject

Post by Pedja » 2019-07-28 10:54

I need to set rule that, if matches, alters Subject of message, nothing else.
The only way to do it that I could find involves scripting.

So here is feature request.

I need simple way to insert custom text before original Subject of message.

For general use, rule might use macro as something like "custom text %s" where %s would be replaced with original message subject.

It could be used for debugging purposes or notifying user about something else specific about message.

It is better than using scripting as it would be simpler to set and universal. Scripting requires to set new script function for each new rule.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8132
Joined: 2011-09-08 17:48

Re: Rule to alter mesage subject

Post by jimimaseye » 2019-07-28 11:05

This will not happen.

Feature requests are generally considered as for something to be achieved that is currently not possible.

As you have already identified this is perfectly currently achievable with the versatile scripting engine that is deliberately designed to allow you to do this kind of thing. And in this case it works be doable in about 2 lines. (Not willing to learn how to use the product is not a real reason for asking to change the product).

Still, what do I know. :roll:

[Entered by mobile. Excuse my spelling.]
HMS 5.6.6 B2383 on Win Server 2008 R2 Foundation, + 5.6.7-B2415 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

User avatar
mattg
Moderator
Moderator
Posts: 20143
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Rule to alter mesage subject

Post by mattg » 2019-07-29 02:46

ALSO, Do you have a question that can be voted on

All feature requests must have a question, and under normal circumstances higher votes means higher priorities.
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Post Reply