Re: [gentoo-user] Use of gethostname() and getdomainname()

2007-12-02 Thread Mick
On Saturday 01 December 2007, Etaoin Shrdlu wrote: On Saturday 1 December 2007, Kevin O'Gorman wrote: I've got my own domain and domain server. I've just run into a problem about the appropriate settings for hosts and domains, and it's messing up a few things in my postfix setup. The

Re: [gentoo-user] Use of gethostname() and getdomainname()

2007-12-02 Thread Etaoin Shrdlu
On Sunday 2 December 2007, Mick wrote: Try adding the following line to /etc/hosts: a.b.c.d hostname.your.domain hostname of course, replacing a.b.c.d with your correct ip address. I don't know whether this is related to your problem, but it usually solves the domainname: (none)

Re: [gentoo-user] Use of gethostname() and getdomainname()

2007-12-02 Thread Kevin O'Gorman
I like keeping it to stuff that makes sense. I don't put in private network addresses unless I actually use them, which would just be the 192.168.x.x addresses provided by my DSL router, behind which I hide most of my systems. But for the present thread, I'm talking about the routable IP number

Re: [gentoo-user] Use of gethostname() and getdomainname()

2007-12-01 Thread Stroller
On 1 Dec 2007, at 06:26, Kevin O'Gorman wrote: ... my postfix setup. ... My mailx mailer seems to put localdomain on the sender address when my crontab entries call it. Maybe because it sees that getdomainname(2) comes up empty. Hi there, I have encountered similar problems. I don't

Re: [gentoo-user] Use of gethostname() and getdomainname()

2007-12-01 Thread Etaoin Shrdlu
On Saturday 1 December 2007, Kevin O'Gorman wrote: I've got my own domain and domain server. I've just run into a problem about the appropriate settings for hosts and domains, and it's messing up a few things in my postfix setup. The gentoo instructions say to set /etc/conf.d/hostname to

[gentoo-user] Use of gethostname() and getdomainname()

2007-11-30 Thread Kevin O'Gorman
I've got my own domain and domain server. I've just run into a problem about the appropriate settings for hosts and domains, and it's messing up a few things in my postfix setup. The gentoo instructions say to set /etc/conf.d/hostname to the host name only. It gets passed to sethostname(2)