I am having trouble getting sendmail to send from the correct domain on my server. I have 4 domains right now and whenever I try to send from sendmail it appends to the header the server's default IP and domain name, where I would like to have it send with the domain name and IP of the domain actually sending the e-mail. Also, the default domain is on a different Nic card than the other domains, I don't know if that makes a difference. Here is the base configuration of my box:

Redhat linux Fedora 6
Sendmail 8.13.8

Eth 0 - Server_name.com 12.12.12.12
Eth 1 - domain1 23.23.23.23
Eth 1 - domain2 34.34.34.34
Eth 2 - domain3 45.45.45.45
Eth 2 - domain4 56.56.56.56

When sending from domain2 the header looks like:

Return-Path: <webmaster@domain2.com>
Received: from my_domain.com (root@localhost)
by my_domain.com (8.13.6/8.13.7) with ESMTP id l69G04QR000978
for <anthony@my_domain.com>; Mon, 9 Jul 2007 12:00:04 -0400
X-ClientAddr: 12.12.12.12
Received: from send_domain.com ([12.12.12.12])
by my_domain (8.13.7/8.13.6) with ESMTP id l69G03CD000972
for <anthony@my_domain.com>; Mon, 9 Jul 2007 12:00:04 -0400
Received: from server_name.com (localhost [127.0.0.1] (may be forged))
by server_name.com (8.13.8/8.13. with ESMTP id l69G1b7x010862
for <anthony@my_domain>; Mon, 9 Jul 2007 12:01:37 -0400
Received: (from root@localhost)
by server_name.com (8.13.8/8.13.8/Submit) id l69G1bUN010861;
Mon, 9 Jul 2007 12:01:37 -0400
Date: Mon, 9 Jul 2007 12:01:37 -0400
Message-Id: <200707091601.l69G1bUN010861@server_name.com>
To: anthony@my_domain.com
Subject: php test mailing
From: webmaster@domain2.com
Status:


And what I would like is all the bolded areas that say "server_name.com" to actually have the domain name instead of the server name.

Can anyone help? So far nothing I have tried from post here have helped.