From owner-freebsd-questions Sun Feb 6 7:16:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gargoyle.apana.org.au (brisba6.lnk.telstra.net [139.130.66.200]) by builder.freebsd.org (Postfix) with ESMTP id F02C23D76 for ; Sun, 6 Feb 2000 07:16:26 -0800 (PST) Received: (from uucp@localhost) by gargoyle.apana.org.au (8.8.8/8.8.8) id BAA05208; Mon, 7 Feb 2000 01:16:47 +1000 (EST) (envelope-from dougy@gargoyle.apana.org.au) Received: from oracle.apana.org.au(203.3.126.130), claiming to be "ORACLE" via SMTP by gargoyle.apana.org.au, id smtpdJj5204; Mon Feb 7 01:16:36 2000 Message-ID: <022e01bf70b5$d1ebdb70$827e03cb@ORACLE> From: "Doug Young" To: Cc: References: <01cc01bf55f3$a11cdb20$3a7e03cb@dog.gate.net.au> <021801bf6f8d$909096d0$827e03cb@ORACLE> <20000206151635.A6058@hades.hell.gr> Subject: Re: SENDMAIL Configuration Date: Mon, 7 Feb 2000 01:20:56 +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 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the response Giorgos I think I'm gradually getting this sendmail thing under control now thanks to all the assistance from the -questions list folk ----- Original Message ----- From: "Giorgos Keramidas" To: "Doug Young" Cc: Sent: Sunday, February 06, 2000 11:16 PM Subject: Re: SENDMAIL Configuration > On Sat, Feb 05, 2000 at 02:00:36PM +1000, Doug Young wrote: > > > > 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 > [snip] > > > > Secondly, I tried running the following > > > > makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable access > > makemap hash /etc/mail/< /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)" > > If you have no virtual domains on your machine, yet, you do not need to > run the first of those commands. In the second command line I can see > a small error, since it should be: > > # makemap hash /etc/mail/access < /etc/mail/access > > > I ran "man virtusertable" but that just said "No manual entry for > > virtusertable" > > You won't find a manpage. for virtusertable. You can find a lot of the > sendmail features documented in /usr/src/contrib/sendmail/cf/README. > > > Looked back in "/etc/mail" and now there is a new file, > > "virtusertable.db", but it only contains a line of garbage > > The .db files are hashes, that are created by makemap. You don't need > to read anything from them, or write anything to them for that matter. > They are read by sendmail, and created by makemap. > > I suppose that you don't have any virtual domains, so virtusertable is > not necessary for your sendmail to work. The access file is documented > in the .../sendmail/cf/README file mentioned above. Look around line > 1300 for some examples of how it's used. > > -- > Giorgos Keramidas, < keramida @ ceid . upatras . gr > > For my public PGP key: finger keramida@diogenis.ceid.upatras.gr > PGP fingerprint, phone and address in the headers of this message. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message