LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix definition question. (https://www.linuxquestions.org/questions/linux-software-2/postfix-definition-question-641142/)

swamprat 05-09-2008 03:27 PM

Postfix definition question.
 
Hello.

In the following command where it says .$mydomain what does this literally mean?

Does it mean to use this spelling exactly as is or does this mean to insert your own domain name such as XYZ.

postconf -e 'myhostname = server1.$mydomain'

Thanks

dkm999 05-10-2008 02:54 PM

It means type that exactly. The variable $mydomain should be defined correctly in your /etc/postfix/master.cf file; when you tell postconf to execute the line 'myhostname = server1.$mydomain', it will set the variable $myhostname to the DNS name server1.{whatever is in $mydomain}.

swamprat 05-10-2008 11:49 PM

Thanks all this now makes sense.


All times are GMT -5. The time now is 12:59 PM.