Adding and applying mail Rules

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
ptaylor2022
New user
New user
Posts: 4
Joined: 2022-09-24 04:17

Adding and applying mail Rules

Post by ptaylor2022 » 2022-09-24 04:29

Hello

I have a question and there is two different places in Hmailer to add mail rules one under the domain and in the account settings and the 2nd is under domains and Rules.

I tried adding rules in both rule settings using contain, the word and delete but its not deleting the spam mail before it reach the users inbox. If you placed rules under the domain and not in the users email address should the rules apply to all the email address?

I have attached a snap shot.
HMail Rule Issue.jpg

User avatar
katip
Senior user
Senior user
Posts: 1161
Joined: 2006-12-22 07:58
Location: Istanbul

Re: Adding and applying mail Rules

Post by katip » 2022-09-24 06:10

ptaylor2022 wrote:
2022-09-24 04:29
If you placed rules under the domain and not in the users email address should the rules apply to all the email address?
Global rule applies server wide to all incoming and outgoing mails. Account rule applies to incoming messages to that account. But in any case it should be enabled to work :)
Katip
--
HMS 5.7, MariaDB 10.4.10, SA 4.0.0, ClamAV 0.103.8

ptaylor2022
New user
New user
Posts: 4
Joined: 2022-09-24 04:17

Re: Adding and applying mail Rules

Post by ptaylor2022 » 2022-09-24 06:36

I tried that and the rule did not work.

See the attachment please.
HMail Rule Issue.jpg

palinka
Senior user
Senior user
Posts: 4461
Joined: 2017-09-12 17:57

Re: Adding and applying mail Rules

Post by palinka » 2022-09-24 06:57

Your rule criteria uses AND, which means all criteria must match in order to proceed. If you change that to OR then any criteria can match to proceed.

Post Reply