0.0.4 • Published 8 years ago

dovecot-testing v0.0.4

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

dovecot-testing

This is a port of tedious/DovecotTesting with a node interface and support for usage inside a vagrant

Install

git clone https://github.com/cozy/dovecot-testing
cd dovecot-testing
npm link

Use in JS

    DovecotTesting = require('dovecot-testing');
    DovecotTesting.setupEnvironment(function(err){})

    imapOptions = {
        user: "testuser",
        password: "applesauce",
        host: DovecotTesting.serverIP(),
        port: 993,
        tls: true,
        tlsOptions: {rejectUnauthorized: false}
    }

    DovecotTesting.changeSentUIDValidity(function(err){})

Use the CLI

Start a dovecot

dovecot-testing setup

Import a buggy email into the test suite (buggy emails PR very welcome) Example : import email UID#356 from Gmail/All messages into INBOX

dovecot-testing import imaps://aenario_at_gmail.com:password@imap.gmail.com:993 '[Gmail]/All messages' 356 INBOX
git add /resources/Maildir
git diff #review changes
git commit

Tests

PR Welcomes

License

MIT

0.0.4

8 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago