MyNixOS website logo
option

accounts.email.accounts.<name>.thunderbird.messageFilters

List of message filters to add to this Thunderbird account configuration.

Home Manager writes these to Thunderbird's per-account msgFilterRules.dat file under the profile mail server directory, for example ImapMail/<server>/msgFilterRules.dat.

Thunderbird does not publish a stable reference for all fields in this file. To migrate existing filters, inspect an existing msgFilterRules.dat file and translate each filter block into this option.

Declarations
Type
list of (submodule)
Default
[ ]
Example
[
  {
    action = "Mark read";
    condition = "ALL";
    enabled = true;
    name = "Mark as Read on Archive";
    type = "128";
  }
]