From owner-freebsd-questions Sun Mar 24 8:49:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pc-62-31-80-192-ll.blueyonder.co.uk (pc-62-31-80-192-ll.blueyonder.co.uk [62.31.80.192]) by hub.freebsd.org (Postfix) with SMTP id 21E8737B404 for ; Sun, 24 Mar 2002 08:49:06 -0800 (PST) Received: (qmail 177 invoked from network); 24 Mar 2002 15:49:04 -0000 Received: from spatula.home (HELO cream.org) (192.168.0.4) by myriad.home with SMTP; 24 Mar 2002 15:49:04 -0000 Message-ID: <3C9DF5B1.8010808@cream.org> Date: Sun, 24 Mar 2002 15:50:09 +0000 From: Andrew Boothman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-gb, en-us MIME-Version: 1.0 To: Gerard Cc: freebsd-questions@freebsd.org Subject: Re: qmail maybe ?? References: <20020323235713.28926.qmail@web13106.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gerard wrote: >Ok, I was running it off inetd. >I guess its time to grow up to tcpserver. >Wish me luck > >--- Mike Roest wrote: > >>If you're using tcpserver to run the smtp daemon you need to ensure >>that >>the IP of the workstation is in your tcpserver rules set >>Ie you should have a file like tcp.smtp and you need to add a line >>like >>:allow,RELAYCLIENT="" >> >>Then run the command >>tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp >> >>This will rebuild the data base. This should allow your workstation >>to >>send to any domain without them being in the rcpthosts file >> You don't need to use tcpserver in order to do this. I'm running qmail off inetd as a mail relay with no problems. Now that our inetd uses tcpwrappers it offers identical functionality. All you need to do is put a line like : tcp-env: 127.0.0.1, 192.168.: setenv = RELAYCLIENT where 127.0.0.1 and 192.168. are the IPs of machines (or networks) that you want to be able to relay through you, into /etc/hosts.allow. Then HUP inetd and you'll find it all works swimmingly! :-) Andrew. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message