From owner-freebsd-questions Fri Feb 4 22:35: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from richardson.apana.org.au (richardson.apana.org.au [203.3.126.216]) by builder.freebsd.org (Postfix) with SMTP id 8F4854538 for ; Fri, 4 Feb 2000 22:34:56 -0800 (PST) Received: from ORACLE [203.3.126.130] by richardson.apana.org.au [203.3.126.216] with SMTP (MDaemon.v2.7.SP4.R) for ; Sat, 05 Feb 2000 13:56:05 +1000 Message-ID: <021801bf6f8d$909096d0$827e03cb@ORACLE> From: "Doug Young" To: References: <01cc01bf55f3$a11cdb20$3a7e03cb@dog.gate.net.au> Subject: SENDMAIL Configuration Date: Sat, 5 Feb 2000 14:00:36 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.5600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600 X-MDaemon-Deliver-To: freebsd-questions@freebsd.org X-Return-Path: young@richardson.apana.org.au Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to configure "sendmail 8.9.3" in FreeBSD3.2, and I'm a bit confused about just how to do a few things. The FreeBSD box is a gateway for a LAN ... permanent dialup modem connection to the net Firstly, "sendmail.cw" & "relay-domains" I understand that sendmail.cw is where you are supposed to list domain names that you want sendmail to accept mail for, so since I want bryden.apana.org.au to accept mail for all my LAN machines I made up a "sendmail.gw" file as follows +++++++++++++++++++++ bryden.apana.org.au oracle.apana.org.au dougy.apana.org.au roadrunner.apana.org.au jdy.apana.org.au matey.apana.org.au +++++++++++++++++++++ Furthermore I've been told that "relay-domains contains domain names of all machines you want to allow relaying for. You would probably list all your other machines here." I read that as meaning I should just list all local machines, so I made up a "relay-domains" file by copying the "sendmail.cw" file to "relay-domains" Secondly, I tried running the following makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable makemap hash /etc/mail/access < /etc/mail/access Got "No such file or directory", so I created a new empty file "/etc/mail/virtusertable" ... and ran that first thing again ..... this time I got a different response "/etc/mail/virtusertable.db: line 1: syntax error (leading space)" Looks like I've gotta put something in that "virtusertable" file but what ?? I ran "man virtusertable" but that just said "No manual entry for virtusertable" Looked back in "/etc/mail" and now there is a new file, "virtusertable.db", but it only contains a line of garbage OK .... would someone please tell me just what I haven't done correctly ?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message