Need to test this:
my $config = { 'DShield' => 'tmp/DShield.cache', # path/to/file 'UserID' => '0', # DShield UserID 'To' => 'test@dshield.org', # or report@dshield.org 'From' => 'john.doe@foo.com', 'Reply-To' => 'john.doe@foo.com', # optional # optional 'Obfuscate' => 'complete or partial', # either one or more working SMTP server's 'smtp' => 'iceman.dshield.org,mail.euclidian.com', # or a sendmail compatible mail transport command 'sendmail' => '/usr/lib/sendmail -t -oi', }; order is: UserID DShield To From Reply-To smtp sendmail Obfuscate
To install LaBrea::Tarpit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LaBrea::Tarpit
CPAN shell
perl -MCPAN -e shell install LaBrea::Tarpit
For more information on module installation, please visit the detailed CPAN module installation guide.