System variables in MailScanner.conf
Lars Kristiansen
lars+lister.mailscanner at ADVENTURAS.NO
Wed Jul 13 01:41:54 IST 2005
> Looks like it's a FreeBSD thing as my FreeBSD boxes (5.3 & 5.4) all like
> $HOST and 'Undefined Variable' $HOSTNAME
Maybe HOSTNAME is set by the shell, works in bash.
A grep for HOSTNAME returns among others these:
/etc/profile:
HOSTNAME=`/bin/hostname`; export HOSTNAME
So you I guess you would have to put in
/etc/csh.login or in ~/.cshrc
setenv HOSTNAME `/bin/hostname`
--
Med vennlig hilsen
Lars Kristiansen
A D V E N T U R A S
Tlf: 22 20 59 90
Fax: 22 20 59 91
lars at adventuras.no
http://www.adventuras.no
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list