Hostname

RedRed!com IT Department itdept at REDRED.COM
Mon Mar 7 19:53:15 GMT 2005


    [ The following text is in the "windows-1252" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Julian,

    I think he's looking more for something like:

    %hostname% = gethostbyname()

    But I'm not sure that would work.

Sean

Julian Field wrote:

> You can define whatever %variables% you want.
> %hostname% = your-host-here
>
> and then use it as
> Hostname = the %org-name% (%hostname%) MailScanner
> later in MailScanner.conf.
>
> Jason Huddleston wrote:
>
>> I am trying to change the Hostname variable to include the server 
>> name with out hard coding the name in the string. I have tried 
>> ^ÓHostname = the %org-name% (%HOSTNAME%) MailScanner^Ô and ^ÓHostname = 
>> the %org-name% ($HOSTNAME) MailScanner^Ô with no luck. Is their a 
>> variable that I am overlooking that will pick up the server name????
>>
>> Thanks,
>>
>> -- 
>>
>> Jason Huddleston, CCSA
>>
>> Assistant Coordinator Internet Services and Security
>>
>> Ozarks Technical Community College
>>
>> huddlesj at otc.edu
>>
>> 417-447-7532
>>
>> ------------------------ 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 MAQ (http://www.mailscanner.biz/maq/)
>> and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>
>> *Support MailScanner development - buy the book off the website!* 
>
>
>

------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) 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