From owner-freebsd-questions Tue Jul 18 20:51:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail4.one.net (mail4.one.net [206.112.192.132]) by hub.freebsd.org (Postfix) with ESMTP id 9793837BADA for ; Tue, 18 Jul 2000 20:51:24 -0700 (PDT) (envelope-from carleton@one.net) Received: from ztown2-2-228.adsl.one.net ([216.23.15.228] EHLO miltonstreet.com ident: IDENT-NOT-QUERIED [port 15099]) by mail2.one.net with ESMTP id <305974-6780>; Tue, 18 Jul 2000 23:51:31 -0400 Message-ID: <39752800.2448707C@miltonstreet.com> From: Sam Carleton X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Questions Subject: help understanding Alias/Generics/Virtual user table Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 18 Jul 2000 23:51:29 -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the process of trying to map a username into something else as the email comes and goes from sendmail, I have locked up sendmail. Right now when I try to send mail through pine, pine freezes at the send. This is what I have done: Ok, I have the following lines in my sendmail.cf: # Generics table (mapping outgoing addresses) Kgenerics hash -o /etc/mail/genericstable # Virtual user table (maps incoming users) Kvirtuser hash -o /etc/mail/virtusertable and I created one source file for Generics table that will convert email from sam to scarleton, it looks like this: sam scarleton@domain.com and then a source file for Virtual user table as to map scarleton@domain.com back to sam: scarleton@domain.com sam I have also modified the alias file. Then I used makemap in this fashion to create /etc/mail/genericstable.db, /etc/mail/virtusertable.db, and /etc/alias.db makemap hash genericstable < gsourcefile makemap hash virtusertable < vsourcefile makemap hash alias < alias I first had done only the genericstable and virtusertable. The outgoing email name was NOT being traslated for me:( After changing alias and running makemap on it, that is when pine started freezing when trying to send mail. Should I be using makemap to create the files or is there another program I should be using for the default config on FreeBSD 4.0-STABLE? Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message