What sendmail on AIX 3.1.5?

What sendmail on AIX 3.1.5?

Post by l.. » Sun, 12 Jan 1992 04:38:00



Hello,

What version of sendmail are people using on AIX?

I'm unsuccesfully trying to use the one supplied with AIX 3.1.5 to
receive mail for hostnames different than the hostname running the
sendmail daemon.  For example I'd like to have a machine called
abc.CC.Lehigh.EDU receive mail for Lehigh.EDU.  I can do this with
Sun's sendmail using a sendmail.cw file; but the only support i can
see for this in the AIX sendmail is the Cw macro which will receive
mail for a host with a different hostname but the same domainname.

Also, I'd like this machine to function as an outgoing mail gateway,
forwarding other machines outgoing mail through it and rewriting all


Are people using BSD sendmail or the AIX supplied sendmail?
Suggestions, pointers to different sendmails, donation of sendmail.cf
files, etc. are all welcome!

thanks,
mark
--
-----------------------------------------------------------------------------
Mark Miller



-----------------------------------------------------------------------------

 
 
 

What sendmail on AIX 3.1.5?

Post by Doug Ack » Tue, 14 Jan 1992 23:43:03


|> Hello,
|>
|> What version of sendmail are people using on AIX?
|>
|> I'm unsuccesfully trying to use the one supplied with AIX 3.1.5 to
|> receive mail for hostnames different than the hostname running the
|> sendmail daemon.  For example I'd like to have a machine called
|> abc.CC.Lehigh.EDU receive mail for Lehigh.EDU.  I can do this with
|> Sun's sendmail using a sendmail.cw file; but the only support i can
|> see for this in the AIX sendmail is the Cw macro which will receive
|> mail for a host with a different hostname but the same domainname.
|>
|> Also, I'd like this machine to function as an outgoing mail gateway,
|> forwarding other machines outgoing mail through it and rewriting all


|>
|> Are people using BSD sendmail or the AIX supplied sendmail?
|> Suggestions, pointers to different sendmails, donation of sendmail.cf
|> files, etc. are all welcome!
|>
Sendmail on AIX is an OLD version ....  IBM's response has been to wait
for AIX3.2 ...  we grabed sendmail5.65c+IDA ..  works fine.
--
Douglas L. Acker

Western Geophysical Exploration Products
Systems Engineer

Email (internal):  acker                Phone:  713-964-6128


 
 
 

What sendmail on AIX 3.1.5?

Post by Bob Wa » Wed, 15 Jan 1992 03:58:37


: Hello,
:
: I'm unsuccesfully trying to use the one supplied with AIX 3.1.5 to
: receive mail for hostnames different than the hostname running the
: sendmail daemon.  For example I'd like to have a machine called
: abc.CC.Lehigh.EDU receive mail for Lehigh.EDU.  I can do this with
We have been doing it here since about 3.1.3 with no problem.
The relevant lines in sendmail.cf were:

#DwYourHostName
Dwslate
#CwYourHostName YourHostAliases
Cwslate mines csm9a

--
Bob Ware, Colorado School of Mines, Golden, Co 80401, USA
(303) 273-3987

 
 
 

What sendmail on AIX 3.1.5?

Post by Doug Ack » Wed, 15 Jan 1992 23:20:58



|> : Hello,
|> :
|> : I'm unsuccesfully trying to use the one supplied with AIX 3.1.5 to
|> : receive mail for hostnames different than the hostname running the
|> : sendmail daemon.  For example I'd like to have a machine called
|> : abc.CC.Lehigh.EDU receive mail for Lehigh.EDU.  I can do this with
|> We have been doing it here since about 3.1.3 with no problem.
|> The relevant lines in sendmail.cf were:
|>
|> #DwYourHostName
|> Dwslate
|> #CwYourHostName YourHostAliases
|> Cwslate mines csm9a

That fixes the problem when your machine is known by more than one
name (gateways for example) ... but let say you want to send mail
to ibm.com .... if its not it your /etc/hosts tables or DNS ... it
will bounce ... their is no concept of a "smart host" ... for example,
if I want to send mail to ibm.com, my machine doesn't know about it,
so I send it to our corporate relay machine, since its not our corporate
domain, it sends it on to uunet.  They know what to do.

How do we get to do this?  Throw away IBM's sendmail.
--
Douglas L. Acker

Western Geophysical Exploration Products
Systems Engineer

Email (internal):  acker                Phone:  713-964-6128

 
 
 

What sendmail on AIX 3.1.5?

Post by Chuck Kari » Thu, 16 Jan 1992 08:45:17



>That fixes the problem when your machine is known by more than one
>name (gateways for example) ... but let say you want to send mail
>to ibm.com .... if its not it your /etc/hosts tables or DNS ... it
>will bounce ... their is no concept of a "smart host"

From the 3.1.5 sendmail.cf:

###################################################################
#
# Host name for Internet relay  (YOU MAY OPTIONALLY DEFINE THIS)
#
# Optionally defined macro specifying name of host to which you want
# to relay Internet mail. This would be a host on the network with
# tcpip and sendmail server.
#
# Defining this macro will allow you to forward any mail that cannot
# be resolved to the local domain, to the named relay host. If you
# wish ALL mail to be forwarded to the relay host, comment out the
# appropriate rules in ruleset 0. (They are specified in the ruleset)
#
#DRRelayHostName
#
###################################################################

This works fine for me.  Client machines on our network
use the standard sendmail.cf with only the hostname, domain,
and relay host changed.

Quote:>How do we get to do this?  Throw away IBM's sendmail.

Sounds like you're making a lot of unnecessary work for
yourself.

To set up mail on a new S/6000 I just enable the network
name resolver, set the hostname, relay name, and domain name
in sendmail.cf, install an appropriate aliases file, and
build the databases.  It's easy to automate, too.


        Mindcraft, Inc.         (415) 323-9000

 
 
 

What sendmail on AIX 3.1.5?

Post by Konrad Haeden » Thu, 16 Jan 1992 16:54:56



|> >That fixes the problem when your machine is known by more than one
|> >name (gateways for example) ... but let say you want to send mail
|> >to ibm.com .... if its not it your /etc/hosts tables or DNS ... it
|> >will bounce ... their is no concept of a "smart host"
|>
|> From the 3.1.5 sendmail.cf:
   ~~~~~~~~~~~~~~~~~~~~~~~~~~
What Chuck is documenting isn't `standard AIX 3.1.5 sendmail'.
The Internet gateway feature is available only after application of
APAR IX21341. If you need it, get it from your IBM SW support people.

|>
|> ###################################################################
|> #
|> # Host name for Internet relay  (YOU MAY OPTIONALLY DEFINE THIS)
|> #
|> # Optionally defined macro specifying name of host to which you want
|> # to relay Internet mail. This would be a host on the network with
|> # tcpip and sendmail server.
|> #
|> # Defining this macro will allow you to forward any mail that cannot
|> # be resolved to the local domain, to the named relay host. If you
|> # wish ALL mail to be forwarded to the relay host, comment out the
|> # appropriate rules in ruleset 0. (They are specified in the ruleset)
|> #
|> #DRRelayHostName
|> #
|> ###################################################################
|>
|> This works fine for me.  Client machines on our network
|> use the standard sendmail.cf with only the hostname, domain,
           ~~~~~~~~~~~~~~~~~~~~
               (see above)

|> and relay host changed.
|>
|> >How do we get to do this?  Throw away IBM's sendmail.
|>
|> Sounds like you're making a lot of unnecessary work for
|> yourself.

I agree that application of the APAR to enable the DRRelayHostName feature is
easy; the current misery is in learning about the existence of such fixes :-(

|>
|> To set up mail on a new S/6000 I just enable the network
|> name resolver, set the hostname, relay name, and domain name
|> in sendmail.cf, install an appropriate aliases file, and
|> build the databases.  It's easy to automate, too.
|>

|>   Mindcraft, Inc.         (415) 323-9000
--
Konrad Haedener                             Phone: +41 31 65 42 25
Institute for Physical Chemistry            FAX:   +41 31 65 44 99
University of Berne

 
 
 

What sendmail on AIX 3.1.5?

Post by Bjorn Sande » Thu, 16 Jan 1992 05:38:10




|> |> : Hello,
|> |> :
|> |> : I'm unsuccesfully trying to use the one supplied with AIX 3.1.5 to
|> |> : receive mail for hostnames different than the hostname running the
|> |> : sendmail daemon.  For example I'd like to have a machine called
|> |> : abc.CC.Lehigh.EDU receive mail for Lehigh.EDU.  I can do this with
|> |> We have been doing it here since about 3.1.3 with no problem.
|> |> The relevant lines in sendmail.cf were:
|> |>
|> |> #DwYourHostName
|> |> Dwslate
|> |> #CwYourHostName YourHostAliases
|> |> Cwslate mines csm9a



|> That fixes the problem when your machine is known by more than one
|> name (gateways for example) ... but let say you want to send mail
|> to ibm.com .... if its not it your /etc/hosts tables or DNS ... it
|> will bounce ... their is no concept of a "smart host" ... for example,
|> if I want to send mail to ibm.com, my machine doesn't know about it,
|> so I send it to our corporate relay machine, since its not our corporate
|> domain, it sends it on to uunet.  They know what to do.

Hmm, this could (probably) be done by defining a class holding your corporate
machines. When the mail is to be sent, you compare the address to this class;
if you get a hit you try to send directly, else you forward it to some relay host.

|> How do we get to do this?  Throw away IBM's sendmail.
|> --
|> Douglas L. Acker
|>
|> Western Geophysical Exploration Products
|> Systems Engineer
|>
|> Email (internal):  acker                Phone:  713-964-6128

BTW, I'n *not* using IBM's sendmail ;)

        Bjorn

 
 
 

What sendmail on AIX 3.1.5?

Post by John DeDour » Fri, 17 Jan 1992 02:43:57



>To set up mail on a new S/6000 I just enable the network
>name resolver, set the hostname, relay name, and domain name
>in sendmail.cf, install an appropriate aliases file, and
>build the databases.  It's easy to automate, too.


>    Mindcraft, Inc.         (415) 323-9000

I just set up an RS/6000 under AIX v3.1.7.  We are not using a mail
relay, so I didn't make that change.  I found that I did NOT have
to set the hostname and domain name in the sendmail.cf.  Apparently
leaving these commented out caused sendmail to obtain these values
using the "hostname" call.  NOTE: we have the hostname set to the
full dommain name, e.g. xxx.cs.unb.ca.

MOST IMPORTANTLY, I found it was necessary to uncomment the line
#OK ALL

unb.ca is an MX mail entry in the domain name system, rather than
a real host.

I am trying to learn more about configuring these beasts, so am
curious as to the significance, if any, of the differences between
my configuration and Mr. Karish's


 
 
 

What sendmail on AIX 3.1.5?

Post by Peter Jeffe 512.838.40 » Mon, 27 Jan 1992 02:30:46



>|> |> #DwYourHostName
>|> |> Dwslate
>|> |> #CwYourHostName YourHostAliases
>|> |> Cwslate mines csm9a




Yeah, this is a real shame, and it's being fixed under apar IX24205, but
that won't be ready for a week or two.

If any of you had complained about this over the phone it would have been
fixed already :-).  Please report any complaints about incompatibilities
between AIX 3 sendmail and other vendors' sendmails so that we can fix
them; otherwise we all lose.

--

 
 
 

What sendmail on AIX 3.1.5?

Post by Doug Ack » Wed, 29 Jan 1992 01:21:18




|> >|> |> #DwYourHostName
|> >|> |> Dwslate
|> >|> |> #CwYourHostName YourHostAliases
|> >|> |> Cwslate mines csm9a
|> >


|>
|> Yeah, this is a real shame, and it's being fixed under apar IX24205, but
|> that won't be ready for a week or two.
|>
|> If any of you had complained about this over the phone it would have been
|> fixed already :-).  Please report any complaints about incompatibilities
|> between AIX 3 sendmail and other vendors' sendmails so that we can fix
|> them; otherwise we all lose.

Actually this fix has problems with MH6.7.1 when mail is sent
as a non-root user ...

--
Douglas L. Acker

Western Geophysical Exploration Products
Systems Engineer

Email (internal):  acker                Phone:  713-964-6128

 
 
 

What sendmail on AIX 3.1.5?

Post by Bob Wa » Wed, 29 Jan 1992 03:48:34




: |> >|> |> #DwYourHostName
: |> >|> |> Dwslate
: |> >|> |> #CwYourHostName YourHostAliases
: |> >|> |> Cwslate mines csm9a
: |> >



we added a ruleset to do it.

............... added to start of ruleset S3 ..............................
S3

# added by bware:
R$+                            $:$>28$1              locally added rule

........................ new ruleset added ............................
S28









.............................end.....................................

This last line handles some mail forwarding that we do and has nothing to

S28 are needed, but when I got it to work I stopped messing with it.
Someone smarter about sendmail could educate us on this.

This has been working for over a year with no problems.
--
Bob Ware, Colorado School of Mines, Golden, Co 80401, USA
(303) 273-3987

 
 
 

What sendmail on AIX 3.1.5?

Post by pe.. » Sat, 08 Feb 1992 02:46:50



>|> Yeah, this is a real shame, and it's being fixed under apar IX24205, but
>|> that won't be ready for a week or two.
>|> [...]
>Actually this fix has problems with MH6.7.1 when mail is sent
>as a non-root user ...

Well that's interesting, since I haven't even dropped the fix yet!  If you
can detect mistakes that I haven't made yet, we may want to talk to you about
a lucrative job opening... :-)

I think you're confusing this issue with your pmr 6e127,497 that's being
worked under apar ix24772.  This has to do with sendmail restricting access
to smtp mode (-bs flag) to root/system users.  This only affects people
who are using post (rather than spost) as their mh postproc.