mpopd_test - a script to test an mpopd POP3 server
mpopd_test [-h host] [-n port] [-u user] [-p password] [-i interval]
Ctrl-C exits the test and prints a summary.
Test a POP3 server by connecting, authenticating and quiting repeatedly at (short) intervals. Prints a running count of successfull connections, so do not run in the backround :)
The configuration can be hard-code in the CONFIG section at the top of the mpopd_test script.
Any command line arguments will override those set in the scripts hard-coded configuration.
-h host
Connect to the POP3 server on <host>
-n port
Start the server on port <port>
-u user
Use the mailbox belonging to <user>
-p password
The password for the user mailbox
-i
Set the interval between connects
To install Mail::POP3Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::POP3Server
CPAN shell
perl -MCPAN -e shell install Mail::POP3Server
For more information on module installation, please visit the detailed CPAN module installation guide.