Syntax inside main.cf

Kurt Wall kwall
Thu Jan 20 06:28:57 PST 2005


On Thu, Jan 20, 2005 at 11:08:51AM +0200, Dirk Moolman took 30 lines to write:
> Another question - In the main.cf file, I see lines like:
> 
> mydestination = $myhostname, localhost.$mydomain
> 
> 
> When I replace $myhostname with the real hostname, must I specify it
> with the $ sign, eg.   $mxgroup.co.za ,  or without ?   (IE, is

Without.

> $myhostname just representing a normal variable, or is this actually
> part of the syntax of the main.cf file ?)

$myhostname is just a variable. Thus:


mydomain = mxgroup.ca.za
myhostname = mailbeast.$mydomain
mydestination = $myhostname, localhost.$mydomain

Kurt
-- 
"Now this is a totally brain damaged algorithm.  Gag me with a
smurfette."
		-- P. Buhr, Computer Science 354


More information about the Linux-users mailing list