I am just configuring a Linux Server Fedora 22 and have got sendmail to work: This was easy, just
sudo apt-get install sendmail (followed by)sudo sendmailconfig
then something like echo "My test email being sent from sendmail" | /usr/sbin/sendmail
myemail@domain.com
I did a test email and this came back to my corporate email account, however I noticed that it went outside first (12+ hops) and then must have been sent back (another 12 hops) to my corporate exchange server.
The requirement of the Linux box is just to send emails internally when a process is complete (basically tracking activity). Thus the question is how and what do I configure to send the emails directly to our internal exchange server using sendmail