Comment 1 for bug 1677818

Revision history for this message
Bryce Harrington (bryce) wrote :

As fetchmail is a service, it should have (at least) three types of tests:

1. Check that primary bits are installed, and that fetchmail --version / --help aren't erroring.

2. Check that the service is up

3. Check operation by setting up a local POP3 mail service, sending an email to it, and verifying fetchmail fetches the email. Dovecot includes some dep8 tests that could be repurposed for setting up the mail service here.

Extra credit would repeat #3 but with IMAP and/or SSL.

I don't think fetchmailconf is worth testing; it appears to be an X11 utility without command line operational functionality.