mhp2007
asked on
Received from www.mydomain.com[127.0.0.1] change to www.mydomain.com[my rdns address]
In all the emails my site is sending in its header a 127.0.0.1 address as its first hop! This is a problem because some spam blockers will block on this. denying anything that orginates from a 127.0.0.1 address. Any ideas on how to change this to my dns address?
Return-Path: <service@mydomain.com>
Received: from www.mydomain.com ([216.x.x.x])
by uni02mr.unity.ncsu.edu (8.13.7/8.13.8/Nv5.2008.06 10.1) with ESMTP id mA7J8J0D014820
for <me@someotherdomain.edu>; Fri, 7 Nov 2008 14:08:19 -0500 (EST)
Received: from www.mydomain.com (www.mydomain.com [127.0.0.1])
by www.mydomain.com (8.13.1/8.13.1) with ESMTP id mA7J7YVi027954
for <me@someotherdomain.edu>; Fri, 7 Nov 2008 14:07:34 -0500
Date: Fri, 7 Nov 2008 14:07:34 -0500
Message-ID: <27312399.1226084854114.Ja vaMail.roo t@www.mydomain.com>
host file:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 mydomain.com
Return-Path: <service@mydomain.com>
Received: from www.mydomain.com ([216.x.x.x])
by uni02mr.unity.ncsu.edu (8.13.7/8.13.8/Nv5.2008.06
for <me@someotherdomain.edu>; Fri, 7 Nov 2008 14:08:19 -0500 (EST)
Received: from www.mydomain.com (www.mydomain.com [127.0.0.1])
by www.mydomain.com (8.13.1/8.13.1) with ESMTP id mA7J7YVi027954
for <me@someotherdomain.edu>; Fri, 7 Nov 2008 14:07:34 -0500
Date: Fri, 7 Nov 2008 14:07:34 -0500
Message-ID: <27312399.1226084854114.Ja
host file:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 mydomain.com
ASKER
Yes, but that's not the message for the original hop, I'd like that one to use the public address.
I'm guessing that you're using JavaMail to send on the first hop. Is that the case?
ASKER
Yes, you guess right : <27312399.1226084854114.Ja vaMail.roo t@www.mydomain.com>... can i set a from IP address in java?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Is what it's saying isn't it? That's a public address