Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modifying the main.cf file

Status
Not open for further replies.

LostinIT

IS-IT--Management
Jun 6, 2006
10
US
O.K. I believe this is about as basic a question as they get...

I am brand spanking new to Linux and have set up a test server to mave all my mail hosting services from Exchange 2000 to a Linux based network.
I downloaded and installed Postfix (current stable release) via yum with no problems. Now I get into configuring basic parameters.

My Question:

When modifying the main.cf file to my parameters, do I remove the pound '#' sign before that parameter?
Example:

The main.cf default values for the 'Sending Mail' parameter are as follows:

#myorigin = $myhostname
#myorigin = $mydomainname

Since only 1 can be set, would I use the following and remove the '#' sign from the beginning:

#myorigin = $myhostname
myorigin = $mydomainname

My gratitude ahead of time...
 
The # is a comment sign; if you remove it you change the line from an ignored comment to a live parameter.

You can of course edit the file to suit your installation - add and delete lines, change values, reorder lines, etc. The parameters are described in the Postfix manual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top