---
name: "Mail::MtPolicyd::Plugin::AddScoreHeader"
section: "3pm"
platform: "linux"
package: "mtpolicyd"
version: "2.05-1.2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Mail::MtPolicyd::Plugin::AddScoreHeader"
---

# Mail::MtPolicyd::Plugin::AddScoreHeader(3pm)

mtpolicyd plugin for adding the score as header to the mail

## NAME

Mail::MtPolicyd::Plugin::AddScoreHeader - mtpolicyd plugin for adding the score as header to the mail

## VERSION

version 2.05

## DESCRIPTION

Adds an header with the current score and score details to the mail.

## PARAMETERS

- (uc\_)spam\_score (default: 5)

  If the score is higher than this value it'll be tagged as 'YES'. Otherwise 'NO'.

- score\_field (default: score)

  Specifies the name of the field the score is stored in. Could be set if you need multiple scores.

- header\_name (default: X-MtScore)

  The name of the header to set.

## EXAMPLE

```
  <Plugin add-score-header>
    module = "AddScoreHeader"
    # score_field = "score"
    # header_name = "X-MtScore"
    spam_score = 5
  </Plugin>
```

Will return an action like:

```
  X-MtScore: YES score=7.5 [CTIPREP_TEMP=2.5, spamhaus-rbl=5]
```

## AUTHOR

Markus Benning \<ich@markusbenning.de\>

## COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by Markus Benning \<ich@markusbenning.de\>.

This is free software, licensed under:

```
  The GNU General Public License, Version 2, June 1991
```
