SUMMARY: Problems with mail loop

From: Ing. Felipe Tribaldos (felipe@avatar.pty.com)
Date: Thu Jun 20 1996 - 10:04:59 CDT


Hello Sun Managers;

First I would like to thank all that replied to me as it has been very helpful.

I received 4 regarding our problem with SUN SMI-8.6 sendmail and mail loop.
Original message is attached with sendmail.cf cutoff.

Calus Assmann, suggested that I first run debug sequence to see what sendmail
thought of itself, something like this:

---------------------------------------------------------------------------
$ sendmail -bt -d0.10 </dev/null
Version SMI-8.6
canonical name: Netra
        a.k.a.: [127.0.0.1]
        a.k.a.: [206.49.57.161]
        a.k.a.: netra2
        a.k.a.: [206.49.54.102]
SYSTEM IDENTITY (after readcf):
            (short domain name) $w = Netra
        (canonical domain name) $j = $m
               (subdomain name) $m = morgan.pty.com
                    (node name) $k = Netra
--------------------------------------------------------------------------

With that said, I then added with the advice of Fuad Khalid, a w macro with the domain
name, and a couple of other lines.

Dmmorgan.pty.com <------ Rewrites shell users as user@domain instead of user@host.domain.
Cmmorgan.pty.com morgan <------ NOT SURE WHAT THIS DOES, anyone ?????
Cwmorgan.pty.com <------ Allow machine to receive mail as morgan.pty.com.
 
One thing that still needs work are the POP accounts. Eudora will set the From address
to Reply To: field if present, and POP account: field in other cases.
This can create mail with user@host.domain format, which we do not want.
I know that they can set the reply to address to user@domain, and everyone is OK.
However they are new users, and explain their MIS person what masquerade as domain
does took ME 30 minutes, imagine what their users would go through.
They would never understand that they can receive mail as user@domain, but
their account is really user@mailhost.domain.

Does this require rewriting one of the sendmail rules?

Thanks to all that helped.

Oh, I almost forgot.
Someone suggested something that didn't work. It involved creating a frozen
configuration file with /usr/lib/sendmail -bz, which our sendmail replied
as being "Frozen configurations unsupported". Maybe this was available in a previous
or a more current version of SMI sendmail.

FT

> Hi;
>
> We are installing a SUN with Netra 2.0 Software and sun sendmail SMI-8.6/SMI-SVR4,
> in a machine in one of our subdomains.
>
> We are getting some local configuration errors. Apparently from what I can
> tell the sendmail is stripping the domain name.
> The hostname of the machine is netra.morgan.pty.com,
> where netra is the host part, and morgan.pty.com is the domain part.
>
> I'm attaching a copy of an error message, and of the sendmail.cf file.
>
> TIA;
>
> Felipe
>
> --------------------------------------------------------------------------------
> >From Mailer-Daemon Wed Jun 19 09:00:24 1996
> Return-Path: <Mailer-Daemon>
> Received: from Netra by pty.com (SMI-8.6/SMI-SVR4)
> <------ Here ------ only the hostname is reported
>
> id JAA05504; Wed, 19 Jun 1996 09:00:22 +0500
> Received: from localhost by Netra (SMI-8.6/SMI-SVR4)
> id HAA00252; Wed, 19 Jun 1996 07:01:58 -0700
> Date: Wed, 19 Jun 1996 07:01:58 -0700
> From: Mailer-Daemon@Netra (Mail Delivery Subsystem)
> Subject: Returned mail: Local configuration error
> Message-Id: <199606191401.HAA00252@Netra>
> To: <ftribald@avatar>
> <----- Here it also drops the domain
>
> To: postmaster@Netra
> <----- Here it also drops the domain portion.
> content-length: 786
> Status: RO
>
> The original message was received at Wed, 19 Jun 1996 07:01:44 -0700
> from ns1 [206.49.54.2]
>
> ----- The following addresses had delivery problems -----
> <felipe@morgan> (unrecoverable error)
>
> ----- Transcript of session follows -----
> 553 Netra config error: mail loops back to myself
> 554 <felipe@morgan>... Local configuration error
>
> <---- Here is the error being reported.
>
> ----- Original message follows -----
> Return-Path: <ftribald@avatar>
> Received: from pty.com by Netra (SMI-8.6/SMI-SVR4)
> id HAA00251; Wed, 19 Jun 1996 07:01:44 -0700
> Received: by pty.com (SMI-8.6/SMI-SVR4)
> id XAA02888; Tue, 18 Jun 1996 23:11:16 +0500
> Date: Tue, 18 Jun 1996 23:11:16 +0500
> From: ftribald@avatar (Felipe Tribaldos (STAFF))
> Message-Id: <199606181811.XAA02888@pty.com>
> Apparently-To: felipe@morgan.pty.com
> content-length: 5
>
> test
> ------------------------------------------------------------------------
>
> Here is the sendmail.cf file for them
>
>
> # ident "@(#)sendmail.cf 1.2 95/05/30 SMI"
> # Copyright 1995 Sun Microsystems, Inc. All Rights Reserved
> # For NAK
>
> ############################################################
> #
> # Sendmail configuration file for "MAIN MACHINES"
> #
> # You should install this file as /etc/sendmail.cf
> # if your machine is the main (or only) mail-relaying
> # machine in your domain. Then edit the file to
> # customize it for your network configuration.
> #
> # See the manual "System and Network Administration for the Sun
> # Workstation". Look at "Setting Up The Mail Routing System" in
> # the chapter on Communications. The Sendmail reference in the
> # back of the manual is also useful.
> #
> # @(#)main.mc 1.17 90/01/04 SMI
> #
>
> ### local info
>
> # delete the following if you have no sendmailvars table
> #Lmmaildomain

added here
Dmmorgan.pty.com
Cmmorgan.pty.com morgan
Cwmorgan.pty.com

>
> # my official hostname
> # You have two choices here. If you want the gateway machine to identify
> # itself as the DOMAIN, use this line:
> #Dj$m
> # If you want the gateway machine to appear to be INSIDE the domain, use:
> #Dj$w.$m
> # if you are using sendmail.mx (or have a fully-qualified hostname), use:
> Dj$w
 

Rest of sendmail.cf ommitted......



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:02 CDT