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

Re: How to get mail to local destinations delivered?

On Wed, Nov 14, 2007 at 08:24:34AM +0900, John Summerfield wrote:
> Chris G wrote:
>>> My advice would be something similar:  Configure by the book.  Make sure
>> What book?!  :-)   I think that's much of the problem, there's not
>> much information directly related to setting up a home system as a
>> sub-domain.
> 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.
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 have a workaround at the moment though so as that works there
doesn't seem to be a lot of point in expending a huge amount more
effort on this.

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 isbd net

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'.

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'

Chris Green

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