[98205] in RedHat Linux List

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

Re: Sendmail problem ?

daemon@ATHENA.MIT.EDU (Steve Glines)
Sat Nov 7 10:59:47 1998

Date: Sat, 07 Nov 1998 10:59:24 -0500
From: Steve Glines <sglines@sglines.shore.net>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

The simplest way to do this is to define your "smart host" to be your
ISP and your "Local relay", (L_RELAY) to be "Mail-rly." This will do
what you want.

SG

"Mike A. Lewis, CNE" wrote:
> 
> 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.


-- 
  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