Configuring Mailcatcher with SMTP modules. If you are using a custom SMTP module, there are a few extract steps you will need to carry out.
The easiest way to do this is to add the following into the "FINAL" part of your post roll up actions
php bin/magento config:set -- smtp/configuration_option/host ${MDOQ_INSTANCE_ID}-mailcatcher
php bin/magento config:set -- smtp/configuration_option/port 1025
php bin/magento config:set -- smtp/configuration_option/protocol ''
php bin/magento config:set -- smtp/configuration_option/authentication smtp
(These paths are for Mageplaza SMTP, other modules may have different paths)