I have a small home network with 5 or so machines. These all have IP
addresses in the range 192.168.13.xxx and I have christened them
xxxx.isbd.mynet.

The Linux machine where I am running qmail is server2.isbd.mynet and
its IP address is 192.168.13.25, so far so good.

The above Linux machine is also the one that connects to my ISP to
send and receive mail.  For this connection the machine's name is
isbd.demon.co.uk with a static IP address of 158.152.25.160.

Which domain name(s) should I put in which files in the qmail
configuration?  In particular should /var/qmail/control/me be
isbd.demon.co.uk or server2.isbd.mynet, or doesn't it matter too much?

Currently I have:-

defaultdomain   contains isbd.mynet
defaulthost     contains isbd.demon.co.uk
locals          contains isbd.demon.co.uk and server2.isbd.mynet
me              contains isbd.demon.co.uk
plusdomain      contains isbd.mynet
rcpthosts       contains isbd.demon.co.uk and server2.isbd.mynet

Does this seem reasonable, or should defaultdomain and plusdomain be
changed to demon.co.uk?  isbd.mynet is just a fiction for my own
convenience really and shouldn't appear anywhere in mail, it just
needs to be in locals and rcpthosts so qmail will handle mail to/from
the local network.  In fact do I need plusdomain at all?

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]           Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/

Reply via email to