Edit <SMARTIDHOME>/tools/mailhog/docker-compose.yml and change the ports to the left of the colons. Restart the container to apply the changes
Change ports
ports:
- 1025:1025 # smtp server
- 8025:8025 # web ui
Configure your Smart ID component with the following settings if mailhog is deployed to the same host as the component. If mailhog is deployed to another host, replace the SMTP host with the hostname/ip address, and make sure that the Smart ID host can access mailhog on port 1025.