List of variables for substitution in reports?

Julian Field MailScanner at ecs.soton.ac.uk
Wed Aug 30 12:06:16 IST 2006


The "$UPPERCASE" is so that you can put in environment variables into 
the reports. With your $HOSTNAME problems I would suspect that your 
default shell setup doesn't set the shell HOSTNAME environment variable.

David Lee wrote:
> On Sat, 26 Aug 2006, Julian Field wrote:
>
>   
>> My sample report files each use all the available variables in each one.
>> If you need something else somewhere, let me know and I will see about
>> adding it for you.
>>
>> Sorry it's no more consistent than that.
>>     
>
> I wonder also if there is a particular consistency issue with "hostname"?
>
> The report files refer to lower-case '$hostname'.  But MailScanner.conf
> seems to contain a definition:
>    Hostname = the %org-name% ($HOSTNAME) MailScanner
>
> whose RHS has this as upper-case.  (I understand that the case of its LHS
> is irrelevant).
>
> The reports we (org-name: DurhamAcUk) have been getting over the years
> contain an empty string:
>    the DurhamAcUk () MailScanner
>
> This email thread has prompted me to check deeper.
>
> I wonder whether that peculiar "()" might be because the upper-case
> (default, I think) "$HOSTNAME" in MS.conf is not recognised.
>
> Julian: Could you check and comment upon this, please?
>
> (MS versions various over the years, but include up to 4.55.10 .)
>
>   

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list