For testing the web UI you need to have php installed. From within the `web/` directory run `php -S localhost:8080 index.php` then you will be able to access the UI via http://localhost:8080
Since OpenTrashmail does not use a database, it will work right away but you won't be able to receive emails without running the python SMTP server.
## Mailserver
In combination with the PHP command from above you can use docker to run the mail server (since you probably don't have python2 installed on your machine).
This binds the mailserver on port 2525 and also mounts the local data directory and your `config.ini` to the container. So emails you receive will show up in your `data` folder.
Using the text file `tools/testmail.txt` and the following line of bash you can send emails to your python mailserver and test if it's acceping emails like you want.