John Sargent > poptart > poptart

Download:
poptart-0.1.tar.gz

Annotate this POD

View/Report Bugs
Source  

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>
syntax highlighting: