From owner-freebsd-questions Sun Nov 21 10:10:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from netcom.com (netcom13.netcom.com [199.183.9.113]) by hub.freebsd.org (Postfix) with ESMTP id 0BCB4150E8 for ; Sun, 21 Nov 1999 10:10:39 -0800 (PST) (envelope-from stanb@netcom.com) Received: (from stanb@localhost) by netcom.com (8.9.3/8.9.3) id KAA07964 for freebsd-questions@freebsd.org; Sun, 21 Nov 1999 10:10:38 -0800 (PST) From: Stan Brown Message-Id: <199911211810.KAA07964@netcom.com> Subject: Sendmail config help, please second request To: freebsd-questions@freebsd.org (Free BSD Questions list) Date: Sun, 21 Nov 1999 13:10:37 -0500 (EST) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In an effor to stisfy the demigods that control the FreeBSD mailing lists, I am having to completley restructure what was a perefectly good setup for years :-( I have a network of machines at home these machines are gatewayed to the inernet via a FreeBSD 2.2.8 machine, and a cablemodem. On this network is an HPUX 9.10 machine which originates all mail for exterrnal systems. The FreeBSD mail machine has gotten smart enough todetect this somehow :-( I am told that I need to use a newer version of sendmail and it's masquerading features to fix this. So I have compiled 8.9.3 on the HPUX box and generated the following .mc file. divert(-1) # # Copyright (c) 1998 Sendmail, Inc. All rights reserved. # Copyright (c) 1983 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # By using this file, you agree to the terms and conditions set # forth in the LICENSE file which can be found at the top level of # the sendmail distribution. # # # # This is a generic configuration file for HP-UX 9.x. # It has support for local and SMTP mail only. If you want to # customize it, copy it to a name appropriate for your environment # and do the modifications there. # divert(0)dnl VERSIONID(`@(#)generic-hpux9.mc 8.8 (Berkeley) 5/19/1998') OSTYPE(hpux9)dnl DOMAIN(generic)dnl FEATURE(`always_add_domain')dnl FEATURE(`masquerade_entire_domain')dnl FEATURE(`genericstable', `dbm /usr/lib/mailertable')dnl FEATURE(`masquerade_envelope')dnl MASQUERADE_AS(awod.com)dnl MASQUERADE_DOMAIN(fas.com)dnl EXPOSED_USER(root postmaster)dnl GENERICS_DOMAIN(fas.com)dnl MAILER(local)dnl MAILER(smtp)dnl However this aparently breaks sending mail completly :-( Here are some details: 1. My fake domain is fas.com 2. The ISP that I wnat my reply to set to is awod.com I need to map local users to ISP account names, eg stan neends to becom stanb@awod.com So I have several questiosn. 1. Dose this .mc file look correct? 2. How do I generate the mailertable database? i know that i have to create a text file, and then run some program to make the dbm from it. What is this program? 3. How can I test this to see what rewriting is being done? I would very much appreciate some help on this. i have spent most of the weekend on it so far, withou success. -- Stan Brown stanb@netcom.com 404-996-6955 Factory Automation Systems Atlanta Ga. -- Look, look, see Windows 95. Buy, lemmings, buy! Pay no attention to that cliff ahead... Henry Spencer (c) 1998 Stan Brown. Redistribution via the Microsoft Network is prohibited. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message