[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9366.0. "V4.0B /var/adm/sendmail/aliases can't stand UPPERCASE in aliases" by BIS10::BRUSCHE () Wed Apr 02 1997 14:03

Contents of /var/adm/sendmail/aliases (tail)
-----------------------------------------------
# Alias for mailer daemon
MAILER-DAEMON:root

# Following alias is required by the new mail protocol, RFC 822
postmaster:root

# Aliases to handle mail to msgs and news
nobody: /dev/null
ikke: brusche
JOHAN: brusche
------------------------------------------------
Results sendmail test:
-----------------------
# sendmail -d27.1 ikke  < /dev/null 
Version 5.65v3.2
alias(ikke)
ikke (, ikke) aliased to  brusche
alias(brusche)
alias(brusche)
forward("brusche")

# sendmail -d27.1 JOHAN  < /dev/null
Version 5.65v3.2
alias(JOHAN)
JOHAN... User unknown


-------------------------------------------------
BTW: Above syntax works on V3.2D/E systems.
     Also noted is that the aliases.dir always has a 0 length on V4.0B


Isn't sendmail fun ??

JB.

T.RTitleUserPersonal
Name
DateLines
9366.1Some explanation for <u> flag ... ????NETRIX::&quot;[email protected]&quot;Thierry FAIDHERBEThu Apr 03 1997 03:1283
I am working on this call with Johan.(Author of this note)
This morning, when I was doing some test more, I saw that difference :

We have two system :  as2100 with OSF3.2e/1 ->>> UPPERCASE aliases works ok
                      astation 200   4.0b   ->>> UPPERCASE aliases doesn't
work

In the /var/adm/sendmail/sendmail.cf from first, I saw the following :

############################################################
############################################################
#####
#####           Local, POP and Program mailers
#####
############################################################
############################################################

Mlocal, P=/bin/mail, F=lsDFMmn, S=10, R=20, A=mail -r $f -d $u
Mprog,  P=/bin/sh,   F=lsDFM,   S=10, R=20, A=sh -c $u
Mpop,   P=/usr/lib/mh/spop, F=nsmFDM, S=10, R=20, A=pop $u


For the second (where I get problem)

############################################################
############################################################
#####
#####           Local, POP and Program mailers
#####
############################################################
############################################################
#
#                             +------ TAKE A LOOK TO THIS FLAG 
#                             v  
Mlocal, P=/bin/mail, F=lsDFMmnu, S=10, R=20, A=mail -r $f -d $u
Mprog,  P=/bin/sh,   F=lsDFM,   S=10, R=20, A=sh -c $u
Mpop,   P=/usr/lib/mh/spop, F=nsmFDM, S=10, R=20, A=pop $u


If you check, you can see that for local on the second sendmail.cf,
an u . 

If I remove these falg, my aliases in UPPERCASE work without problem
If I edit these file and put the u flag, after a sendmail stop/start, that
  doesn't work anymore.
If I remove these falg once more  after a sendmail stop/start, that WORKS 


 ??? !!! ??? !!! ???




WHAT IS THE REASON and the USAGE FOR THIS FLAG ??? 
I checked on a 4.0 system and the u flag
is turned on.


Hope that may give us more reply ...
 /* be nice to your kids, they will choose your nursing home */

Kind Regards,

+---++---++---++---++---++---++---+ TM  Digital Equipment Belgium
|   ||   ||   ||   ||   ||   ||   |   Multivendor Customer Services
| d || i || g || i || t || a || l |         Thierry FAIDHERBE 
|   ||   ||   ||   ||   ||   ||   |      DIGITAL Unix Support Team
+---++---++---++---++---++---++---+  Email [email protected] 
            Phone : +32 2 729 77 44  Fax : +32 2 729 77 65
           With DIGITAL Unix, ... You get what you pay for ...












[Posted by WWW Notes gateway]
9366.2Same u flag in other osf release ... !!!NETRIX::&quot;[email protected]&quot;Thierry FAIDHERBEThu Apr 03 1997 03:5933
Hi,

I checked on different osf 
                   3.2d  -> flag u is %%% NOT %%% used in sendmail.cf
                   3.2e  -> flag u is %%% NOT %%% used in sendmail.cf
                   3.2g  -> flag u is used in sendmail.cf
                   4.0   -> flag u is used in sendmail.cf
                   4.0b  -> flag u is used in sendmail.cf

Now I am asking me some questions :
 
1- Why was the u flag in sendmail.cf after release 3.2e

2- The u flag was maybe in sendmail.cf and removed on these two system (3.2d
3.2e)

3- That is the signification of these flag.. Usefull or not ?

4- I checked in the man pages of the sendmail in FLAG OPTIONS but
   cannot find anything for the u flag... Where may I found documentation for
   this u flag ... ???

Kind Regards,

+---++---++---++---++---++---++---+ TM  Digital Equipment Belgium
|   ||   ||   ||   ||   ||   ||   |   Multivendor Customer Services
| d || i || g || i || t || a || l |         Thierry FAIDHERBE 
|   ||   ||   ||   ||   ||   ||   |      DIGITAL Unix Support Team
+---++---++---++---++---++---++---+  Email [email protected] 
            Phone : +32 2 729 77 44  Fax : +32 2 729 77 65
           With DIGITAL Unix, ... You get what you pay for ...
In the 3.2e/1 system, 
[Posted by WWW Notes gateway]
9366.3CFSCTC::SMITHTom Smith MRO1-3/D12 dtn 297-4751Thu Apr 03 1997 12:237
    The "u" mailer flag means "preserve upper case in names". Without it,
    all names will be normalized to lowercase for that mailer.
    
    Why the default was changed, I don't know, but it's a site-dependent
    policy. With the "u" flag the case of the name must match exactly, but
    there is less danger of mail for user "Jones" going to user "jones" by
    mistake (not that it's a good idea to have that situation).
9366.4NETRIX::&quot;[email protected]&quot;Th faidherbeFri Apr 04 1997 12:0439
Thanks for info but I haven't found any informations on that.

Customer is claiming problems whith YP's aliases ... 

When a yp-client send a mail to one yp-aliases adress exported in the
yp-aliase
database,he receive .... User unknow ....

Customer made soft link between /var/adm/sendmail/aliases (and .dir .pag)
tp /etc/yp/src.

I suggested to make a copy in place of link but ... 
 
On a system not in YP, mail deviverd without problems ...

From yp-clients, if customer use adress ALIASE@YP-server, mail deviverd ....
                 if customer use adress ALIASE, customer receive User unknow
...

yp-client site, if i do an ypcat aliases, customer find the aliase name
but cannot send mail from yp-cilent to these aliase. in /etc/svc.conf,
customer see aliases=local,yp ....

yesterday, that works fine. I cannot imagine what customer done between
yesterday
nigth and now but he tryed to export /var/spool/mail because he want that all
of 
the user may read mailing from all of the yp-clients...

these customer like to change somethings from rigth to left and from left to 
rigth
and after is claiming that doesn't work anymore ....

Any other ideas why ... ????

Have a nice week-end after a long and hard work-week ... 8-]

Thierry.
[Posted by WWW Notes gateway]