NAME
popfetch - Extract messages from POP3 server in batch
SYNOPSIS
popfetch [-h] [-v] [-d] [-s server] [-u user] [-p password] [-x exclude] [-S separator]
DESCRIPTION
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:
- -h
-
Outputs this documentation.
- -v
-
Be verbose about progress.
- -d
-
Delete messages after fetching them.
- -s server
-
The name of the server to use. This argument is mandatory.
- -u user
-
The username to use in the connection to the POP server.
- -p password
-
The password to authenticate the POP session.
- -x exclude
-
A regular expression that, upon matching the message, causes it to be discarded.
- -S separator
-
The separator to use. Defaults to ___END_OF_REPORT___ to be consistent with other components of the distribution.
HISTORY
$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
LICENSE AND WARRANTY
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.
AUTHOR
Luis E. Muñoz <luismunoz@cpan.org>
SEE ALSO
perl(1), acat(1)
, Mail::Abuse
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 161:
Non-ASCII character seen before =encoding in 'Muñoz'. Assuming CP1252