🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #42

Re: sendmail.cf and mail to user@mydomain

#42
From: Shobhana
Date: Mon, 02 Nov 1992 14:42
45 lines
2379 bytes
In article <1992Oct27.172528.43146@slate.mines.colorado.edu> bware@slate.mines.colorado.edu (Bob Ware) writes:
>peppe@ipgaix.unipg.it (G. Vitillaro) writes:
>: I'm faced (on an AIX/6000 3.1.5) with the problem to convince
>: my machine to accept mail for addresses like
>: 
>:          user@mydomain.
>: 
>I am trying to do the same type of thing, except that I'm up on
>AIX/6000 3.2.2 now.  Also, I want to relay any mail that cannot be
>resolved (via a login account, .forward file or entry in the aliases
>file) to another machine.

I have done precisely this for SunOS 4.1.1. But some friend of mine
(he is a Sys Admin) claims that SunOS sendmail is distinct from other
Unix'es. Anyone worked on sendmail on both SunOS and others?

If you will let me know the specifics of your problem, perhaps
I could help.

>Also, I have been trying to use sendmail -bt to test but don't quite
>know what I am doing.  I have read the Nemeth "Unix System
>Administration Handbook" on this subject, but still don't quite
>understand it.

I RTFM but I don't understand it well enough either ;-)

>Exactly what rulesets do you have to call to check if
>the address is getting converted correctly.  Is this always the same on
>all machines, and if not, how do you figure it out.  I think there is
>some basic information here that I missed.

Here is what happens on SunOS. Ruleset 3 turns the recipient name to 
``canonical'' form. After this ruleset 0 is applied to to names that
remain---here it must be resolved to a mailer spec. Then ruleset 1 and 2
are applied to all from:, to: and cc: recipients followed by rulesets
specified by the mailer. Finally ruleset 4 is applied to all names
in the message.

I do my dirty work with ruleset 0 and leave the default configuration
to resolve local names.

Hope this helps. Feel free to e-mail me for further help.

--
Shobhana Vyas		shobhana@shakti.ncst.ernet.in
Technical Details
Message-ID: <Bx3FIu.L59@shakti.ncst.ernet.in>
Path: arc1-ca.pugleaf.net!sparky!uunet!sangam!shakti!shobhana
References: <1992Oct20.121611.145456@ipgaix.unipg.it> <1992Oct27.172528.43146@slate.mines.colorado.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.sendmail
Path: arc1-ca.pugleaf.net!sparky!uunet!sangam!shakti!shobhana
From: shobhana@shakti.ncst.ernet.in (Shobhana)
Subject: Re: sendmail.cf and mail to user@mydomain
Message-ID: <Bx3FIu.L59@shakti.ncst.ernet.in>
Organization: National Centre for Software Technology, Bombay
References: <1992Oct20.121611.145456@ipgaix.unipg.it> <1992Oct27.172528.43146@slate.mines.colorado.edu>
Date: Mon, 2 Nov 1992 14:42:29 GMT
Lines: 45