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

NAME

poptart

DESCRIPTION

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.

PREREQUISITES

This script requires the following modules: strict, Mail::POP3Client

README

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:

Around line 43:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content

Around line 46:

=pod directives shouldn't be over one line long! Ignoring all 2 lines of content