[98193] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Sendmail problem ?

daemon@ATHENA.MIT.EDU (Mike A. Lewis, CNE)
Sat Nov 7 08:42:23 1998

From: "Mike A. Lewis, CNE" <cajun@cajuninc.com>
To: "'redhat-list@redhat.com'" <redhat-list@redhat.com>
Date: Sat, 7 Nov 1998 05:42:00 -0800 
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com


This will be a fairly long message in order to explain it completely :-(

What I'm trying to setup is a mail relay inside a DMZ.  The configuration
looks something like this:



ISP ---------------------  firewall ---------------------- Mail-rly
		|
			|
			|
			|
		        Mailhost.company.com


What is happening is:

1.	Mail can be sent from Mail-rly to addresses on the Internet.
2.	Mail from Internet is sent (and queued) at Mail-rly (but not
delivered to mailhost.company.com)
3.	Mail sent from Mailhost.company.com (status=not certain where it
goes, but it is not delivered)

I  believe I have a mail loop between Mail-rly and my ISP.  This COULD be
because of rules in the firewall, but I'm not totally certain that I have
the /etc/sendmail.cf file setup correctly.

Here's the question:  _ASSUMING THERE IS NOT A RULE PROBLEM ON THE
FIREWALL_, here are the portions of /etc/sendmail.cf that I have changed.
Are these correct to do what I'm trying to accomplish ?

TIA,

Mike


Portions of /etc/sendmail.cf

Cwlocalhost
# file containing names of hosts for which we receive email
Fw/etc/sendmail.cw			(**************** this file does not
exist ******************)

# "Smart" relay host (may be null)
DS

# who I send unqualified names to (null means deliver locally)
DRmailhost.company.com

# who gets all local email traffic ($R has precedence for unqualified names)
DHmailhost.company.com

# who I masquerade as (null for no masquerading) (see also $=M)
DM

	






-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post