The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mail::Decency::ContentFilter::DKIM

DESCRIPTION

This module can be used for signing OR verifying mails. DONT USE BOTH IN THE SAME INSTANCE!!

CONFIG FOR SIGN

    ---
    
    disable: 0
    #max_size: 0
    #timeout: 30
    
    enable_sign: 1
    
    # the default key. can be used only or as fallback
    sign_key: /etc/decency/dkim/default.key
    
    # a directory where the keys per (sender) domain are. 
    #   /etc/dkim/some-domain.co.uk.key
    #   /etc/dkim/other-domain.com.key
    sign_key_dir: /etc/decency/dkim/domains
    
    # the algorithmus and method .. change if you know what you are doing
    #sign_algo: rsa-sha1
    #sign_method: relaxed

CONFIG FOR VERIFY

    ---
    DKIM:
        enable_verify: 1
        
        # signature present and fitting
        #weight_pass: 50
        
        # signature present, but incorrect
        #weight_fail: -100
        
        # signature malformed .. cannot be processed
        #weight_invalid: -50
        
        # some temporary error occured. Probably nothing bad
        #weight_temperror: -10
        
        # no key whats-o-ever found in mail, cannot verify
        #weight_none: 0

CLASS ATTRIBUTES

METHODS

init

handle

Default handling for any content filter is getting info about the to be filterd file

AUTHOR

Ulrich Kautz <uk@fortrabbit.de>

COPYRIGHT

Copyright (c) 2010 the "AUTHOR" as listed above

LICENCSE

This library is free software and may be distributed under the same terms as perl itself.