I have sendmail working on my linux server, and it is now able to relay emails to my Exchange server.
On the Linux server, users are pulled from LDAP. They have a coresponding external email address that is setup in LDAP. I would like it so that if a user is refered to with sendmail:
ie. echo test | mailx -s "this is a test" jsmith
That instead of the email being delivered locally to the server, it will instead go to firstname.lastname@example.org and will be relayed through the mail server that is already configured through sendmail.