Mail::Decency::ContentFilter::Archive
Archive module. Write a copy of the passing mail to archive directory on disk.
--- disable: 0 # possible variables are: # * recipient_domain .. eg recipient.tld # * recipient_prefix .. eg username # * recipient_address .. eg username@recipient.tld # * sender_domain .. eg username@recipient.tld # * sender_prefix .. eg username@domain.tld # * sender_adress .. eg username@domain.tld # * ymd .. eg 2010-05-24 # * hm .. eg 21-26 (= 21:26h) archive_dir: '/var/archive/%recipient_domain%/%recipient_prefix%/%ymd%/%hm%/' #archive_dir: '/var/archive/%ymd%/%recipient_domain%/%recipient_prefix%' # wheter to drop the mail after archiving .. means: will not be # reinjected for delivery. drop: 0
Archive directory where the mails are stored in.
If true, drop mails after archiving (do not forward them)
Archive file into archive folder
Write mail to archive directory.
Builds dir based on variables.
Replace not allowed characters ..
Ulrich Kautz <uk@fortrabbit.de>
Copyright (c) 2010 the "AUTHOR" as listed above
This library is free software and may be distributed under the same terms as perl itself.
To install Mail::Decency, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Decency
CPAN shell
perl -MCPAN -e shell install Mail::Decency
For more information on module installation, please visit the detailed CPAN module installation guide.