I have setup an SMTP server on port 10025. I wanted to test sending emails to it via the command line.
Is there a parameter I can give the mail command to use the smtp server on 10025?
echo hello | mail -s'testing' firstname.lastname@example.org ???
I do have a seperate smtp server running on port 25 as well but I don't want to be communicating with that one or switch it off.
Thanks for you time,