Yes. This project now supports DB2 only. See BLOCKER_DB_URL examples in
docker-compose.yml and INSTALL.
DB2 can be slow to initialize. Ensure the DB2 container is healthy before running tests.
See tests/utils_wait.py and run with E2E_DEBUG=1 for more info.
Use the backend smoke tests or connect with a SQL client and truncate
blocked_addresses. The e2e script seeds data on each run.
curl -X POST http://localhost:5002/addresses \
-H 'Content-Type: application/json' \
-d '{"pattern":"user@example.com","is_regex":false}'Use the postfix service (DB2-only).
It returns {"error":"database not ready"} until the database is reachable
and the schema is created.
Inside the container at /etc/postfix/blocked_recipients and
/etc/postfix/blocked_recipients.pcre.
cd frontend
npm install
npm testcd frontend
npm run e2eSee SUPPORT and {{DISCUSS_URL}}.
- Username:
adminby default (configurable viaADMIN_USERNAME). - Initial password:
postfixblocker.
On first successful login with the default password, the API will return mustChangePassword: true and the UI will prompt you to set a new password before you can continue. This applies when authentication is enforced (set API_AUTH_REQUIRED=1 for the API process).