Jeff Abrahamson on 26 Jul 2005 22:22:59 -0000


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

Re: [PLUG] exim4 and local delivery


On Tue, Jul 26, 2005 at 06:00:33PM -0400, Stephen Gran wrote:
> You are saying 'EHLO localhost' when you should be saying 'EHLO
> purple.com'.  I think your hostname stuff is not set up correctly.
> What does `hostname; hostname -f` return - it should return your
> short hostname followed by an internet addressable fqdn.  If not,
> fix that first.  --

Thanks.  That appears to be correct:

    jeff@astra:~ $ hostname; hostname -f
    astra
    localhost
    jeff@astra:~ $

According to the man page for hostname, I need to make sure /etc/hosts
is in order, and, indeed, I find that it looks like this (with IPv6
and comments stripped):

    127.0.0.1       localhost       astra

So I added a line:

    127.0.0.1       localhost       astra
    192.168.0.7     astra astra.purple.com

This doesn't work.  On a hunch, I reorder the lines:

    192.168.0.7	astra.purple.com astra
    127.0.0.1	localhost.localdomain astra

This works, but I don't understand why the order should matter or even
why it can't find out its name from bind.  (The dig program works.)
I'm a bit concerned I may have messed something else up and that this
is but a bandaid over the root cause.

Any thoughts?

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>    +1 215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug