popfetch - Extract messages from POP3 server in batch
popfetch [-h] [-v] [-d] [-s server] [-u user] [-p password] [-x exclude] [-S separator]
This is an alternative to
Mail::Abuse::Reader::POP3 which might allow for batch fetching of messages from a POP3 account. Tipically this can be used as part of a pipeline.
The pipeline I use looks like:
popfetch -d -u user -p pass -s server | abuso -R Stdin -c my.config
The following options are recognized:
Outputs this documentation.
Be verbose about progress.
Delete messages after fetching them.
The name of the server to use. This argument is mandatory.
The username to use in the connection to the POP server.
The password to authenticate the POP session.
A regular expression that, upon matching the message, causes it to be discarded.
The separator to use. Defaults to ___END_OF_REPORT___ to be consistent with other components of the distribution.
$Log: popfetch,v $ Revision 1.2 2004/03/01 15:31:08 lem Fixed getopts(d)
Revision 1.1 2004/03/01 15:25:41 lem Added bin/popfetch, which is a nice alternative to Mail::Abuse::Reader::POP3
This code and all accompanying software comes with NO WARRANTY. You use it at your own risk.
This code and all accompanying software can be used freely under the same terms as Perl itself.
Luis E. Muñoz <firstname.lastname@example.org>