poptart
Poptart connects to a POP3 mail account and selectively deletes mail(s) that match the specified pattern(s). Useful mostly for clearing out spam from hosted mailboxes.
This script requires the following modules: strict, Mail::POP3Client
strict
Mail::POP3Client
Copyright (c) 2007 John Sargent. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
usage: poptart [--test] [-v] host[:port] user password delete-option [...]
where delete-option is one of the following (all can appear multiple times) -R:<zone> use <zone> for RBL lookups -t:<regex> delete mails with a To: header matching <regex> -f:<regex> delete mails with a From: header matching <regex> -s:<regex> delete mails with a Subject: header matching <regex> -r:<regex> delete mails with a Received: header matching <regex> -V print version info -<header>:<regex>
2 POD Errors
The following errors were encountered while parsing the POD:
=pod directives shouldn't be over one line long! Ignoring all 2 lines of content
To install poptart, copy and paste the appropriate command in to your terminal.
cpanm
cpanm poptart
CPAN shell
perl -MCPAN -e shell install poptart
For more information on module installation, please visit the detailed CPAN module installation guide.