When replying to a message, the default behavior is to assign to the reply
the same tags as the incoming message. This can be turned off with
the reply_copy_tags config entry.
3.2. By filter rules
Incoming mail is checked against rules when defined. One of the most
common use of actions connected to rules is to automatically apply
tags to the incoming messages, by matching particular
headers against predefined values.