Thanks a lot. The command line to print out the variable was the piece I
needed to find the problem. I traced it back through the code to the
structure that the uname call fills when it is looking for an address - on
FreeBSD systems (or I should say, at least my FreeBSD system) the structure
is defined like this:
#define SYS_NMLN 32
struct utsname {
char sysname[SYS_NMLN]; /* Name of this OS. */
char nodename[SYS_NMLN]; /* Name of this network node. */
char release[SYS_NMLN]; /* Release level. */
char version[SYS_NMLN]; /* Version level. */
char machine[SYS_NMLN]; /* Hardware type. */
};
so that a long hostname like mail2.cornerstonecapitalpartners.com quietly
becomes mail2.cornerstonecapitalpartner
-David
----- Original Message -----
From: "Steve Haslam" <araqnid@???>
To: "David Powers" <david@???>
Cc: <exim-users@???>
Sent: Sunday, August 11, 2002 7:54 AM
Subject: Re: [Exim] local_domains @ not expending correctly
> On Fri, Aug 09, 2002 at 12:50:45PM -0400, David Powers wrote:
> > uname -a:
> > FreeBSD mail1.cornerstonecapitalpartners.com 4.6.1-RELEASE-p10 FreeBSD
> > 4.6.1-RELEASE-p10 #5: Tue Aug 6 08:18:45 EDT 2002
> > dpowers@???:/usr/obj/usr/src/sys/MAIL
i386
> >
> > Is there a way for me to see what the @ is actually expanding to (I
tried
> > several debug options and none of them seemed to do the trick) or does
> > anyone have any idea why on these two machines the @ variable wouldn't
> > expand properly?
>
> Hmm, with a config file without primary_hostname explicitly, see what Exim
> has automatically set the config option to (sth like "exim -C
exim.conf.test
> -bP primary_hostname")
>
> I also use "local_domains_include_host" rather than putting "@" in
> local_domains explicitly, but looking at the info file, that shouldn't
make
> a difference.
>
> HTH
>
> SRH
> --
> Steve Haslam Reading, UK
araqnid@???
> Debian GNU/Linux Maintainer
araqnid@???
> maybe the human race deserves to be wiped
out
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at
http://www.exim.org/ ##
>
>
>