hostname variable in attachment replacement
David Lee
t.d.lee at durham.ac.uk
Fri Aug 7 15:42:38 IST 2009
On Fri, 7 Aug 2009, Glenn Steen wrote:
> [...]
> Could you please just take a look at the standard MailScanner init
> script? The second file that get sourced is /etc/sysconfig/network.
>
> So the setting of the HOSTNAME variable derives solely from this
> (taking precedence over any setting in the rc scripts). Sorry for not
> checking this earlier.
> Can someone who has this problem corroborate that they have either an
> empty setting, or no setting at all, for HOSTNAME in that file, or
> that the setting is just plain wrong?
Ah! Might the "init.d" script be lacking an "export HOSTNAME"?
--
: David Lee I.T. Service :
: Senior Systems Programmer Computer Centre :
: UNIX Team Leader Durham University :
: South Road :
: http://www.dur.ac.uk/t.d.lee/ Durham DH1 3LE :
: Phone: +44 191 334 2752 U.K. :
More information about the MailScanner
mailing list