---
title: 'ExtractText Settings'
url: 'https://docs.danami.com/warden/settings/antispam/plugin-settings/extracttext'
markdown: 'https://docs.danami.com/warden/settings/antispam/plugin-settings/extracttext.md'
date: '2026-09-22'
description: 'ExtractText max parts - extracttext_maxparts The maximum mime parts number to analyze, a value of 0 means all mime parts will be analyzed. Default: 10 ExtractText timeout - extracttext_timeout The timeout in seconds of external tool checks, per attachment. The second number speficies maximum total …'
taxonomy:
  category:
    - docs
  tag:
    - extracttext
---

[](#)  [ Basics ](https://docs.danami.com/warden/)     [ Settings ](https://docs.danami.com/warden/settings)     [ Antispam ](https://docs.danami.com/warden/settings/antispam)     [ Plugin Settings ](https://docs.danami.com/warden/settings/antispam/plugin-settings)      ExtractText Settings    

# ExtractText Settings

**ExtractText max parts** - `extracttext_maxparts`
The maximum mime parts number to analyze, a value of 0 means all mime parts will be analyzed.
Default: 10

**ExtractText timeout** - `extracttext_timeout`
The timeout in seconds of external tool checks, per attachment. The second number speficies maximum total time for all checks.
Default: 5 10

**ExtractText use** - `extracttext_use`
Specifies what tool to use for what message parts. The general syntax is `name specifiers`.

1. name - the internal name of a tool.
2. specifiers - File extension and regular expressions for file names and MIME types. The regular expressions are anchored to beginning and end.
    Default: empty

**ExtractText external** - `extracttext_external`
The external tool. The tool must read a document on standard input or from a file and write text to standard output. The special keyword `{}` will be substituted at runtime with the temporary filename to be scanned by the external tool. Environment variables can be defined with `{KEY=VALUE}`, these strings will be removed from commandline. It is required that commandline used outputs result directly to STDOUT. The general syntax is `name command parameters`.

1. name - The internal name of this tool.
2. command - The full path to the external command to run.
3. parameters - Parameters for the external command. The temporary file name containing the document will be automatically added as last parameter.
    Default: empty

 [ ](https://docs.danami.com/warden/command-line-interface/antispam/antispam-plugin-extracttext)

---

## Navigation

- Parent: [Plugin Settings](https://docs.danami.com/warden/settings/antispam/plugin-settings.md)
- Previous: [DKIM Settings](https://docs.danami.com/warden/settings/antispam/plugin-settings/dkim.md)
- Next: [FreeMail Settings](https://docs.danami.com/warden/settings/antispam/plugin-settings/freemail.md)
