On Sat, Nov 05, 2005 at 11:55:01PM -0600, Jay Moore wrote:
> You need to do one of the following:
>
> - change the hostname of your machine to something in a real domain
> - configure sendmail to masquerade your hostname/domain AND get rid
> of root as an "exposed user"
> - stop trying to send mail to legitimate Internet hosts from an
> illegitimate Internet host. ;-)
I don't believe you've got it, Derek. At any rate, none of the things
you prescribed seem to make any difference. Here are some facts I should
have provided in my OP:
This host (aria) has a dynamic IP. It is on a private net, currently @
192.168.1.207
This is probably not affecting your sendmail problem. It is more
likely to do with your configuration of sendmail, specifically (but,
see below where I talk about LOCAL_DOMAIN). That said, personally, I
would probably make some changes anyway.
Is the DHCP server under your control? If so, I would configure it to
assign a static IP address to your machine. Usually this involves
telling it the MAC address of your NIC card. The details will
unfortunately be server-dependent (and I suppose may be impossible
with your particular DCHP server, though that would surprise me).
Then, assign your hostname (aria) to THAT IP address in your hosts
file, e.g.:
my /etc/hosts file:
127.0.0.1 localhost
192.168.1.207
aria.cullmail.com aria
I set up masquerading in /etc/mail/sendmail.mc,
"re-compiled", re-
But remember that mail from your local machine (by default on FCx
installs) uses /etc/mail/submit.mc, as I mentioned in my previous
post. What does that look like?
Also, sendmail decides what host it is using the LOCAL_DOMAIN macro.
IIRC if this is not set, it will do some magic depending on how your
system is configured to decide what your hostname is. In that case,
changing the /etc/hosts file as I mentioned above may actually make a
difference.
So, do you have LOCAL_DOMAIN set to something reasonable?
started sendmail, re-booted, jumped up turned around three times
with my left index finger on my nose while chanting "there's no
place like home, there's no place like home". No dice... I even
changed the .mc file so that *no reference* to localhost.localdomain
existed in sendmail.cf (checked this w/ a grep).
Sounds like fun, at least. ;-)
So here's the thing: Evolution is configured to use sendmail on
this
host... it works fine. However 'pine' and 'mail' cannot get anything
except 'localhost.localdomain' when they send mail.
Pine can be configured to use whatever you want; it's a setting in
Pine. /bin/mail just uses your username, and passes your mail on to
sendmail to let it figure out how to address the mail. Pine will do
this too, if you don't tell it not to.
Please clue me in if you can.
If none of this was helpful, I guess I'd have to see what was actually
in both of your .mc files to be able to provide any more help.
Also, check to make sure your host name really is what you think it
is, by typing
$ hostname
(you don't need to be root to use hostname this way, but you do if you
want to set the hostname).
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D