From owner-freebsd-questions Sun Nov 21 13:16:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from wally.bellnetworks.net (www.bellnetworks.net [216.214.153.70]) by hub.freebsd.org (Postfix) with ESMTP id 406C215823 for ; Sun, 21 Nov 1999 13:16:09 -0800 (PST) (envelope-from jerry@bellnetworks.net) Received: from itbell (alice.bellnetworks.net [216.214.153.74]) by wally.bellnetworks.net (8.9.3/8.9.3) with SMTP id QAA49436; Sun, 21 Nov 1999 16:15:30 -0500 (EST) (envelope-from jerry@bellnetworks.net) Message-ID: <005501bf34ca$0757b590$4a99d6d8@netrex.com> From: "Jerry Bell" To: "Stan Brown" , "Free BSD Questions list" References: <199911211810.KAA07964@netcom.com> Subject: Re: Sendmail config help, please second request Date: Mon, 22 Nov 1999 04:14:49 -0500 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.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here are a few questions that will help to resolve your problem quickly: Do you have an entry in your .cf file for smart relay host (DS)? When you say that your changes break sending mail, what sort of message are you getting? A relaying denied message means you probably are being blocked by spam rules and need to add your internal machines to the relay-domains file. You can update the mailertable using the makemap command: makemap hash /etc/mailertable To: Free BSD Questions list Sent: Sunday, November 21, 1999 1:10 PM Subject: Sendmail config help, please second request > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message