sendmail: redirecting incoming emails to related users
I have one server machine, 2 live ip's mapped to it, 2 domains mapped to 2 ip's
two users xyz1, xyz2,
two info email address , firstname.lastname@example.org, email@example.com
now what I want is this
when anyone sends email to firstname.lastname@example.org sendmail should direct it to user xyz1, and same for email@example.com to user xyz2.
and when email is sent from domain www.xyz1.com it's from should be firstname.lastname@example.org and same for 2
any help will be much appreciated.
newbie on MTA's