---
name: "matcherrc2perlfilter"
section: "1"
platform: "linux"
package: "claws-mail-perl-filter"
version: "4.3.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/matcherrc2perlfilter"
---

# matcherrc2perlfilter(1)

convert matcherrc rules to Perl

## NAME

matcherrc2perlfilter - convert matcherrc rules to Perl

## DESCRIPTION

This manual page documents briefly the **matcherrc2perlfilter**.

This manual page was written for the Debian™ distribution because the original program does not have a manual page.

This script converts matcherrc filtering rules (default rules format) into perl\_filter rules for usage with the **claws-mail-perl-filter** plugin of the *Claws Mail* mailer.

## USAGE

matcherrc2perlfilter

No arguments required. Conversion is done for current user only.

## FILES

- *~/.claws-mail/matcherrc*

  Input file where standard filtering rules lie.

- *~/.claws-mail/perl\_filter*

  Output file written by this script. Converted rules are appended if the file already exists, so be careful when running the script more than once.

## CAVEATS

This conversion script doesn't produce nice Perl code and is just intended to get you started. If you choose to use the Perl plugin, consider rewriting your rules.

## SEE ALSO

[**claws-mail**(1)](/claws-mail/1.md), [**claws-mail-perl-filter**(7)](/claws-mail-perl-filter/7.md).

## AUTHORS

- Holger Berndt \<berndth@gmx.de\>

  Wrote the **matcherrc2perlfilter** script.

- Ricardo Mones \<mones@debian.org\>

  Wrote this manpage for the Debian system.

## COPYRIGHT

Copyright © 2006-2020 Ricardo Mones

This manual page was written for the Debian system (but may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in */usr/share/common-licenses/GPL*.
