Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Questions on Postfix config
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ca_grover
Apprentice
Apprentice


Joined: 08 Jun 2003
Posts: 150
Location: Canada, Eh?

PostPosted: Tue Jun 10, 2003 4:06 am    Post subject: Questions on Postfix config Reply with quote

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
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Tue Jun 10, 2003 6:46 am    Post subject: Reply with quote

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
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Tue Jun 10, 2003 7:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum