On my development machine, I have a special kind of SMTP server running on non-standard port which is used for testing purposes.
On my virtual machine I'm trying to push a message to that SMTP server by using Exim4's sendmail app:
selenium-node$ sendmail -t To: firstname.lastname@example.org:2525 From: email@example.com Subject: Test message Quick brown fox jumps over the lazy dog selenium-node$
However, it looks that default SMTP server on my-development-machine.testingnetwork.local:25 receives my message instead.
Is there a clean and natural way to do what I'm trying for? Modifying some configs on my-selenium-node.testingnetwork.local is no problem.