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 , email@example.com, firstname.lastname@example.org
now what I want is this
when anyone sends email to email@example.com sendmail should direct it to user xyz1, and same for firstname.lastname@example.org to user xyz2.
and when email is sent from domain www.xyz1.com it's from should be email@example.com and same for 2
any help will be much appreciated.
newbie on MTA's