View previous topic :: View next topic |
Author |
Message |
ca_grover Apprentice
Joined: 08 Jun 2003 Posts: 150 Location: Canada, Eh?
|
Posted: Tue Jun 10, 2003 4:06 am Post subject: Questions on Postfix config |
|
|
I'm working through the Virtual Mailhosting System Guide (http://www.gentoo.org/doc/en/virt-mail-howto.xml), and have a few questions regarding the configuration of the main.cf file.
In the guide, it mentions to change your main.cf to match this code: Code: |
myhostname = $host.domain.name
mydomain = $domain.name
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain $mydomain
mynetworks = my.ip.net.work/24, 127.0.0.0/8
|
Do I enter these changes exactly as thy are shown? or do I change the $host.domain.name and $domain.name to bob.mydomain.com and mydomain.com repsectively? (i.e. using my acutal domain values). Or are these linked to the environment variables and will be picked up correctly?
Also, the mynetworks line states "my.ip.net.work/24" am I correct in assuming this should be replaced with 192.168.0.0/24 (the subnet my server is on)?
I've had a running postfix server in the past, but can't recall how I configured these values.
Thanks for any tips!!! |
|
Back to top |
|
|
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Tue Jun 10, 2003 6:46 am Post subject: |
|
|
usually postfix replaces the $variable names with the definitions above. I think $host.domain.name should read $host (which is hopefully set above).your domain.com |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Tue Jun 10, 2003 7:18 am Post subject: |
|
|
Code: | myhostname = pugscomp.somedomain.ath.cx |
I didn't use a host variable. I'm not sure that's what its asking for. Seems to work, but then again, I only got it working yesterday so I'm no expert. Some clarification on this would be good.
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
|