Skip to content

Admin tools (Mailpit & Adminer)

Admin tools are useful in development. They are path-routed under your bench URL.

Enable admin tools:

fm update mybench --admin-tools enable

Disable:

fm update mybench --admin-tools disable

Access:

Both are protected with HTTP basic auth. Run fm info mybench to see the credentials.

Set Mailpit as the default mail server for Frappe:

fm update mybench --mailpit-as-default-mail-server

Mailpit SMTP (inside the Docker network): host fm__mybench__mailpit port 1025.

Replace mybench with your bench name (dots become __). For example, bench my.site → host fm__my__site__mailpit.

Note

Mailpit keeps up to 5,000 messages. Older messages are automatically deleted when the limit is reached.

Warning

Admin tools are not enabled by default in production.