On Thursday, Dec 2, 2004, at 05:43 US/Central, Eric Wilson wrote:
Is foo a static IP or a DHCP from Charter?
As you could probably deduce, What I mean here is; is foo's connection
to the Internet DHCP? i.e. when mail.charter.net does the reverse lookup,
is the IP returned a DHCP address.
It's dynamic via DHCP and I don't control the reverse DNS. But I figured there must be a way to send mail from this machine, after all I can send mail from other client machines that are running Thunderbird or Apple Mail. The process for those machines probably looks like so:
mail.app on Mac -- {NAT/FW} --> mail.charter.net --> final destinationI just want to introduce one extra step:
mail on foo.foo --> foo.foo -- {NAT/FW} --> mail.charter.net --> final destination
In theory, foo.foo should act just like any other client machine behind the NAT/FW. Thus far, I've achieved limited success using sendmail's Domain Masquerading. Basically, I added these items to the /etc/mail/sendmail.mc :
MASQUERADE_AS(`charter.net') FEATURE(masquerade_envelope) FEATURE(masquerade_entire_domain) MASQUERADE_DOMAIN(localhost) MASQUERADE_DOMAIN(localhost.localdomain) MASQUERADE_DOMAIN(foo.foo)
The mail does seem to get through, but the Received headers still show lots of "localhost" and "foo.foo" entries. For example, here are the Received headers just before charter.net gets the message:
Received: from cc3-24.217.196.82.charter-stl.com (HELO foo.foo) (24.217.196.82) by mxip06.cluster1.charter.net with ESMTP; 02 Dec 2004 04:25:22 -0500
Received: from foo.foo (localhost.localdomain [127.0.0.1]) by foo.foo (8.12.11/8.12.11) with ESMTP id iB29OD1A024905 for <[EMAIL PROTECTED]>; Thu, 2 Dec 2004 03:24:13 -0600
Received: (from [EMAIL PROTECTED]) by foo.foo (8.12.11/8.12.11/Submit) id iB29OCvA024904 for [EMAIL PROTECTED]; Thu, 2 Dec 2004 03:24:12 -0600
Notice that charter sees the foo.foo name. Here are the received headers from a message I sent from the Mac:
Received: from cc3-24.217.196.82.charter-stl.com (HELO alum.calberkeley.org) (24.217.196.82) by mxip19.cluster1.charter.net with ESMTP; 02 Dec 2004 04:41:53 -0500
Notice that charter thinks I'm sending from the domain of my From: address.
Regards, - Robert http://www.cwelug.org/downloads Help others get OpenSource. Distribute FLOSS for Windows, Linux, *BSD, and MacOS X with BitTorrent
_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/ [EMAIL PROTECTED]
http://lists.firepipe.net/listinfo/cwe-lug
