hostname variable in attachment replacement

Alex Neuman van der Hans alex at rtpty.com
Thu Aug 6 16:28:28 IST 2009


Wisest solution so far. Knowing Jules... Cue the new beta in 5... 4...  
3... - just kidding! :D

On Aug 6, 2009, at 10:21 AM, David Lee wrote:

> But I suspect that, on a reasonably "out of the box" Fedora/CentOS/ 
> Redhat installation, by the time "/etc/init.d" is starting MS,  
> neither is HOSTNAME yet set, nor is MS getting it from executing  
> "uname -n" (or similar).
>
> Shouldn't the startup algorithm be something like (pseudo-perl):
>
>   $HOSTNAME = if $ENV{'HOSTNAME'} was set
>               then $ENV{'HOSTNAME'}
>               else `uname -n`;
>               # i.e. inherit env.var. HOSTNAME
>               # else fall back to using system hostname
>
> Sorry that's so vague.  But I hope it helps.
>



-- 
Alex Neuman van der Hans
Reliant Technologies
+507 6781-9505
+507 202-1525
alex at rtpty.com
Skype: alexneuman





More information about the MailScanner mailing list