I have a scenario where I'm using a primary SMTP server from cPanel, however I'm running a Dockerized web app on a second server that is having trouble delivering to the main smtp server due to a bug in a Ruby library that's being used.
Would there be any problems caused by setting up Postfix or Exim as a local SMPT server on the Docker app server for the system to use to deliver emails when there's already an existing primary STMP server for the domain? Are there some additional steps that are necessary in order to eliminate any problems in such a configuration?