Date: Mon, 22 Nov 1999 04:14:49 -0500 From: "Jerry Bell" <jerry@bellnetworks.net> To: "Stan Brown" <stanb@netcom.com>, "Free BSD Questions list" <freebsd-questions@FreeBSD.ORG> Subject: Re: Sendmail config help, please second request Message-ID: <005501bf34ca$0757b590$4a99d6d8@netrex.com> References: <199911211810.KAA07964@netcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 </etc/mailertable If you can forward and other error messages you are getting, that may help too. Also, I have an article on setting up sendmail on a nat'ed network at http://www.bellnetworks.net/cs that may help, also. Jerry ----- Original Message ----- From: Stan Brown <stanb@netcom.com> To: Free BSD Questions list <freebsd-questions@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005501bf34ca$0757b590$4a99d6d8>