Chuck,
Remember this old subject? :-)
Thanks to you and others, I've read parts of the 'DNS & BIND' book and
after some figuring added MX records in my DNS file for all hosts in my
LAN.
Now the situation is that I can send mail between all computers in my
network, with one single exception. That is my 'main PC', where I do my
day to day work...
I can send mail *to* this PC from any PC in the LAN. I can send mail
between any of the other PCs.
But I cannot send mail *from* the main PC to any of the other computers.
So, what's special about the 'main PC'?
- It does run named (now with MX records :-)
- It connects to the 'net through PPP
- It uses fetchmail to collect mail from an external POP3 server and
deliver it locally
- I have once used a package called 'install-sendmail' to configure
sendmail in this PC for me
I used install-sendmail because I'm 100% sendmail illiterate. I'd love
to learn sendmail, but I have no time for it yet.
Anyway, I guess that it's something in the sendmail configuration making
my 'main PC' try to send mail destined for my LAN to my ISP's smtp
server. That smtp server will refuse any mail from my local LAN on
domain yggdrasil.home. (Of course, since yggdrasil.home is not known to
the DNS servers on the 'net.)
So my final problem is to tell this sendmail configuration to send mail
destined to yggdrasil.home to a local host, using the MX records in my
local DNS, and *not* try to send this email to the Internet via my ISPs
smtp server.
Is there any specific part in the sendmail configuration files
(actually, which file?) that I could quote to make it easier for any
sendmail guru to pin down this problem for me?
Observations:
I have found that the file /etc/sendmail.cw contains the fully qualified
name of the local host but it is *wrong*. (I have once changed name of
the host.)
I have also found that the file /etc/mail/sendmail.cw contains the
correct fully qualified name of the local host.
Which file is used?
Which file should be deleted?
Any other tips?
Regards
Gustav
Chuck Mead wrote:
>
> The brackets [] tell MTA's (e.g. sendmail, postfix etc.) not to query DNS
> but to send directly via IP.
--
pgp = Pretty Good Privacy.
To get my public pgp key, send an e-mail to: [EMAIL PROTECTED]
Visit my web site at http://www.schaffter.com
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list