This is the mail archive of the
cygwin-talk@cygwin.com
mailing list for the cygwin project.
RE: how does mailx work
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'veering dangerously close to on-topic'" <cygwin-talk at cygwin dot com>
- Date: Thu, 28 Apr 2005 10:12:51 +0100
- Subject: RE: how does mailx work
- Reply-to: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
----Original Message----
>From: Carlo Florendo
>Sent: 28 April 2005 06:45
> Hello,
>
> I've searched the net for mailing lists regarding mailx but there seems
> to be none. Then why ask about it in cygwin-talk? Well, since it is
> off-topic on the cygwin list and I might as well try my luck here, where
> all of you are intelligent.
>
> Here's the question: How does mailx know which MX to use? I've got a
> linux box with the hostname test.mybox.org. Now, whenever I invoke
> "mail <user>@mybox.org", it delivers the mail to <user>'s mailbox in the
> local machine. How come it thinks that mybox.com is the local machine?
> The local machine is test.mybox.org but *not* mybox.org.
>
> Any ideas?
>
MX records tend to be per-domain rather than per-host anyway. Your local
dns server will presumably be returning a suitable record. Show us the
output from
dig @localhost mybox.org in mx
cheers,
DaveK
--
Can't think of a witty .sigline today....