8000 GitHub - spezifisch/docker-test-dovecot: Docker container with Dovecot that generates random mails in different accounts for testing purposes
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Docker container with Dovecot that generates random mails in different accounts for testing purposes

License

Notifications You must be signed in to change notification settings

spezifisch/docker-test-dovecot

Repository files navigation

docker-test-dovecot

Docker container with Dovecot that generates random mails in different accounts for testing purposes

Usage

Start the container using the included docker-compose file.

The following users are created who get a newly generated mail if their \Recent mails are empty:

  • a
  • b
  • c
  • d

The following users are created but get no mails automatically:

  • rxa
  • rxb
  • rxc
  • rxd

The password of each user is pass. You can login using IMAP(S) or POP3(S).

Important: Don't bind mount your normal /home directory into this container because the Maildirs are wiped clean on startup. Use a dedicated volume for /home instead, like in the included docker-compose file.

Why?

I needed a reference to test mettmail against.

Development

This project uses pre-commit. You need working Docker to run the hadolint-docker hook.

# install it if needed
pip install pre-commit
# install git hook so checks are run before any commit
pre-commit install
# run manually if you want to
pre-commit run --all-files

About

Docker container with Dovecot that generates random mails in different accounts for testing purposes

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 
0