Re: How to get mail to local destinations delivered?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Summerfield:
>> There is nothing special about that, I've done it, Tim's done it. We both 
>> use our own DNS. You don't, and that _might_ be the significant difference.

Chris G:
> Yes, I guess it could be.  Reading the O'Reilly sendmail book it does
> appear to be saying that sendmail uses DNS for *everything*.

I seem to recall that, too, as being one of the reasons I got DNS
working.  The hosts file is really inadequate for a number of things.
My ISP had a crappy DNS server, so I had even more motivation.

> The workaround (well, discovery of what sendmail thinks 'here' is) is
> that mail sent to  <user>@isbd.net from my home system gets delivered
> locally.  Thus if I put:-
> 
>     root:       chris@xxxxxxxx
> 
> at the end of /etc/aliases I get root's mail.  I'd dearly love to know
> *why* sendmail thinks my home system is called isbd.net but I think
> that's lost in the guts of sendmail somewhere.  There is no 'isbd.net'
> anywhere in my system, the only way that sendmail can be obtaining it
> is by removing the 'home' from 'home.isbd.net'.

As I said earlier, it's something like:  Find the local IP address for
the hostname, do a reverse lookup, it gets the hostname & domain name
from that.

If your hosts file had the 127.0.0.1 line with *nothing* other than
localhost.localdomain and localhost in it, then it ought to think that
it's localhost.localdomain.

If it thinks its anything else, you'll probably have to modify some
sendmail parameters to ensure that your local domain name is treated as
local.

> Out of interest a little 'C' test program from the O'Reilly Sendmail
> book which purports to get names in the way that Sendmail does
> produces the following output on my system:-
> 
>     hostname = 'home'
>     canonical = 'home.isbd.net'
>     alias: 'home'


-- 
(This box runs FC5, my others run FC4 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux