From owner-freebsd-questions Fri Feb 4 20:41:34 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 CA80944ED for ; Fri, 4 Feb 2000 20:41:27 -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:48:37 +1000 Message-ID: <021301bf6f8c$85f51800$827e03cb@ORACLE> From: "Doug Young" To: Subject: Sendmail Configuration Date: Sat, 5 Feb 2000 13:53:10 +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 and would appreciate advice on a number of issues Firstly, "sendmail.cw" & "relay-domains" To quote from one of your earlier messages "sendmail.cw is where you list domain name that you want sendmail to accept mail for (as being for that local machine)." so since I want bryden 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 +++++++++++++++++++++ I'm a bit confused by "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 as per your suggestions a while back 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 just what is the question ?? 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 What haven't I done right ??? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message