-
-
24 Aug 2020 14:36:28 UTC
- Distribution: Mail-MtPolicyd
- Module version: 2.05
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (0)
- Testers
- Kwalitee
Bus factor: 1- % Coverage
- License: gpl_2
- Perl: v5.8.5
- Activity
24 month- Tools
- Download (94.86KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Markus Benning
- Dependencies
- BerkeleyDB
- BerkeleyDB::Hash
- Cache::Memcached
- Config::General
- DBI
- Data::Dumper
- File::Slurp
- Geo::IP
- Getopt::Long
- HTTP::Request::Common
- IO::Handle
- IO::Socket::INET
- IO::Socket::UNIX
- JSON
- LWP::UserAgent
- Mail::RBL
- Mail::SPF
- Moose
- Moose::Role
- Moose::Util::TypeConstraints
- MooseX::Getopt
- MooseX::Role::Parameterized
- MooseX::Singleton
- Net::DNS::Resolver
- Net::LDAP
- Net::LDAP::Util
- Net::SMTP::Verify
- Net::Server::PreFork
- NetAddr::IP
- Redis
- Storable
- Tie::IxHash
- Time::HiRes
- Time::Piece
- Time::Seconds
- namespace::autoclean
- strict
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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
Module Install Instructions
To install Mail::MtPolicyd, copy and paste the appropriate command in to your terminal.
cpanm Mail::MtPolicyd
perl -MCPAN -e shell install Mail::MtPolicyd
For more information on module installation, please visit the detailed CPAN module installation guide.