Summary: Workstations delieve local mail to mail server.

From: Douglas S. Hagan (shagan@hera.wku.edu)
Date: Sat Jun 26 1999 - 23:47:05 CDT


Most people responded telling me to setup a null client configuration.
But the answer from "Carsten B. Knudsen" <cbk@terma.dk> was the most
useful. Original question is at the bottom of the message.

> Well, I'm not much of a sendmail expert, but I have been fiddling a bit
> with the following with some degree of success :-)
>
> ------ sendmail.cf:
>
> # who I send unqualified names to (null means deliver locally)
> DRsmtp:rumle.terma.dk
>
> # who gets all local email traffic ($R has precedence for unqualified
> # names)
> DHsmtp:rumle.terma.dk
>
> # who I masquerade as (null for no masquerading)
> DMterma.dk
>
> # class L: names that should be delivered locally, even if we have a
> # relay
> # class E: names that should be exposed as from this host, even if we
> # masquerade
> #CLroot
> CEroot
> CEroot

Several other suggested putting an entry in /etc/aliases for each user,
but
with 5000 (going to 12000) users we decided this was probably not the
right answer.

Finally some people suggest using DNS MX records, this only works if the
mail is properly address, if there is no @hostname, the mail was still
delievered locally.

Thanks to everyone below for the help.
Stephen Harris <sweh@mpn.com>
"Leonard, Roger" <rleonard@cvty.com>
"Sue Peterson" <SuePeterson@Freightliner.com>
Robert Hayne <robert@pegasus.cuug.ab.ca>
Frank Velazquez <frank@hwdev.icn.siemens.com>
Charlie Mengler <charliem@anchorchips.com>
"David H. Brierley" <dhb@ssd.ray.com>
"Jonathon W. Ross" <jonathon@debian.org>
"Carsten B. Knudsen" <cbk@terma.dk>
Craig Bevins <craigb@bitcom.net.au>
Gerard HENRY <Gerard.Henry@cmi.univ-mrs.fr>
Bas.Kelderman@eptl.elf-p.fr
Bertrand Hutin <hb@ardentsoftware.fr>
Jan-Olaf Droese <zdjod@lif.de>
Jochen Bern <bern@penthesilea.uni-trier.de>
todd a fiedler <todd.a.fiedler@mail.sprint.com>
Gerard HENRY <Gerard.Henry@cmi.univ-mrs.fr>
Phil Ritzenthaler <phil@minnie.cgrg.ohio-state.edu>
Michael Sullivan <mike@trdlnk.com>

!!Original Question!!

We currently hgave about 300 Sun Workstations deployed in our operation.
They work wonderful, and with NIS and NFS are much less of a pain to
maintain
than their counterpart PC's running NT. But we are having a problem.

Most of our users when they try to send mail will simply type the
persons
username and not the hostname of the mail server. This causes the
sendmail
to try and deliever the mail to the machine locally. We kludged this
problem by NFS mounted the mail store on some of the workstation, but
this
is not a solution. So my question is

"How can we get our workstations to always deliever mail to the mail
server?"

Setting the mailhost in the hosts file will only forward along the mail
that has the host defined.

-- 
                        Douglas S. Hagan <sys1dsh@air.ups.com>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:22 CDT