Changeing helo sent from sendmail

I'm trying to change the helo sent from one of my sendmail servers. It is sending out localhost.localdomain and i need it to send [myip], Every time i change it, my sendmail blows up. It wont send new mail and it gives me the error of


Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F2012758: from=root, size=215, class=0, nrcpts=1, msgid=<201004140019.o3E0J3F2012758@localhost.localdomain>, relay=root@localhost
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F2012758: to=jfarmer@enfotarce.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30215, relay=[127.0.0.1] [127.0.0.1], dsn=5.6.0, stat=Data format error
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F2012758: o3E0J3F3012758: DSN: Data format error
Apr 13 17:19:03 localhost sendmail[12759]: o3E0J30Q012759: <root@localhost.localdomain>... Invalid address
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F3012758: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31239, relay=[127.0.0.1], dsn=5.1.2, stat=User unknown
Apr 13 17:19:03 localhost sendmail[12759]: o3E0J30Q012759: from=<>, size=1239, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F3012758: o3E0J3F4012758: return to sender: User unknown
Apr 13 17:19:03 localhost sendmail[12759]: o3E0J30S012759: <postmaster@localhost.localdomain>... Invalid address
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F4012758: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32263, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.2, stat=User unknown
Apr 13 17:19:03 localhost sendmail[12759]: o3E0J30S012759: from=<>, size=2263, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F3012758: Losing ./qfo3E0J3F3012758: savemail panic
Apr 13 17:19:03 localhost sendmail[12758]: o3E0J3F3012758: SYSERR(root): savemail: cannot save rejected email anywhere

but onces i comment out the Dj[myip] line in the sendmail.cf and reload it will start sending mail again.

I have this config on another server and it works just fine.

---------- Post updated at 01:41 PM ---------- Previous update was at 10:15 AM ----------

this is a output from mail -v

mail -v jfarmer@enfotrace.com
Subject: test
test
.
EOT
jfarmer@enfotrace.com... Connecting to [127.0.0.1] via relay...
220 [70.182.140.104] ESMTP Sendmail 8.14.3/8.14.3; Wed, 14 Apr 2010 20:37:27 GMT
>>> EHLO localhost.localdomain
250-[70.182.140.104] Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> MAIL From:<root@localhost.localdomain> SIZE=217 AUTH=root@localhost.localdomain
553 5.1.2 <root@localhost.localdomain>... Invalid address
root... Using cached ESMTP connection to [127.0.0.1] via relay...
>>> RSET
250 2.0.0 Reset state
>>> MAIL From:<> SIZE=1241
250 2.1.0 <>... Sender ok
>>> RCPT To:<root@localhost.localdomain>
>>> DATA
553 5.1.2 <root@localhost.localdomain>... Invalid address
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
>>> RSET
250 2.0.0 Reset state
postmaster... Using cached ESMTP connection to [127.0.0.1] via relay...
>>> MAIL From:<> SIZE=2265
250 2.1.0 <>... Sender ok
>>> RCPT To:<postmaster@localhost.localdomain>
>>> DATA
553 5.1.2 <postmaster@localhost.localdomain>... Invalid address
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 [70.182.140.104] closing connection

I then tryed to telnet in and it worked, it sent the email

# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 [70.182.140.104] ESMTP Sendmail 8.14.3/8.14.3; Wed, 14 Apr 2010 20:30:08 GMT
helo enfotrace.com
250 [70.182.140.104] Hello localhost.localdomain [127.0.0.1], pleased to meet you
mail from: alerts@enfotrace.com
250 2.1.0 alerts@enfotrace.com... Sender ok
rcpt to: jfarmer@enfotrace.com
250 2.1.5 jfarmer@enfotrace.com... Recipient ok
data
354 Enter mail, end with "." on a line by itself

test
.
250 2.0.0 o3EKU8k2004427 Message accepted for delivery
quit
221 2.0.0 [70.182.140.104] closing connection
Connection closed by foreign host.