Start Mailcatcher on a virtual machine

Stop mailcatcher if it’s running:

sudo lsof -nP -iTCP:1025 -sTCP:LISTEN
sudo kill [PID]

Start mailcatcher:

mailcatcher --ip=0.0.0.0