Postfix: phantom hostname.
Bill Mullen
moon at lunarhub.com
Tue Jun 21 15:56:01 EDT 2005
On Tue, 2005-06-21 at 13:42, Ken D'Ambrosio wrote:
> Okay, this is pissing me off.
>
> I've got a machine, currently "reddwarf", that used to be "nebula".
> I've -- obviously -- changed its name. "nebula" isn't mentioned in
> /etc/hosts, and the IP resolves (both reverse and forward) to reddwarf.
> /etc/hostname is reddwarf. The "live" hostname (eg. the output of
> "hostname") is reddwarf. /etc/mailname is reddwarf. A "strace -f
> postfix" doesn't show the word "nebula" anywhere. "nebula" isn't
> mentioned in any of the postfix config files; reddwarf is. I've made
> sure that the postfix processes have restarted. Hell: I've dpkg
> --purge'd postfix (after installing exim), and then installed postfix
> again from scratch.
>
> THEN WHY THE FLOCK, WHEN I TELNET TO PORT 25, DOES IT THINK IT'S NEBULA?!
>
> Suggestions as to why this might be would go a long way toward saving
> the small amount of sanity I have left.
If Postfix runs chrooted, some portions of it will be using the copies
of certain /etc files located under the chroot dir (on my system, the
"/var/spool/postfix/etc" dir holds these files); if these files differ
from the ones in /etc, I get warnings in my mail logs to that effect.
moon at mail:~$ ls /var/spool/postfix/etc/
host.conf hosts localtime nsswitch.conf resolv.conf services
That's the only factor that I can think of, but it's a longshot ... :-/
--
Bill Mullen
RLU# 270075
More information about the gnhlug-discuss
mailing list