Hi,
My original question are attached bottom.
Thanks to Dave Kelley who show me the right answer.
To set Metoo "OmTrue" in /etc/sendmail.cf so the sender who
is a aliease member will be received mail also.
And also thanks to whom give me hint to change "Om" in sendmail.cf
Jeffrey
jliu@splus.com
----- Begin Included Message -----
>From dave@momentum.com.au Thu Oct 12 18:28:47 1995
X-Sender: dave@mailhost
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 13 Oct 1995 09:10:34 +0800
To: jliu@splus.com (SYSTEM ENGINEER)
From: dave@momentum.com.au (Dave Kelley)
Subject: Re: email aliases
Content-Length: 1662
Hi Jeffery,
The problem sounds like a sendmail configuration. I am not sure
about Sun's version but sendmail v8 has a flag that allows/disallows
sending mail to yourself in an alias ... in our sendmail.cf it is the
following line:
# send to me too, even in an alias expansion
OmTrue
The sendmail bible (O'Reilly's sendmail) says to be careful using True as
it could
lead to mail loops. But I think this is mainly if it is mailing lists being
setup in both
places.
The second problem may or may not be related to a the following option in
sendmail.cf:
# verify RHS in newaliases
OnTrue
I am not sure this actually relates to your problem, until you try to run
newaliases in which case it will complain about a "bad address".
Have you actually checked that the mail is not delivered to b,c,d ???
I have seen sendmail complain about a missing name in the aliases (i.e. "a")
but still deliver the message to b,c,d.
Hope this helps,
Dave
>
> I have added grobal email aliases on NIS server /etc/aliases.
>Say I added a line, company: a, b, c, d
>
>But there are two problems.
> 1. if "a" send mail to "company",
>"b", "c", "d" received mail. but "a" not. He had to cc: to "a" if
>he want a copy. But there is no problem if "a" setted a local mail
>aliase in his .mailrc
>
> 2. if "a" user account is disabled and "a" is not removed from
>mail aliases, then the mail send to "company" will be bounced because
>user "a" unknown.
-- Dave Kelley Systems Consultant Email : dave@momentum.com.au Momentum Pty Ltd Phone : +61 9 483 2649 Western Australia Fax : +61 9 380 4371----- End Included Message -----
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:34 CDT