Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!usenet From: Garance_Drosehn@mts.rpi.edu Newsgroups: comp.sys.next Subject: Re: Sendmail - where should it pick up the fullname from Message-ID: Date: 20 Apr 91 07:20:17 GMT References: <1991Apr17.164751.1864@ohm.york.ac.uk> Reply-To: gad@eclipse.its.rpi.edu Organization: Rensselaer Polytechnic Institute Lines: 62 Nntp-Posting-Host: gilead.its.rpi.edu In article <1991Apr17.164751.1864@ohm.york.ac.uk> nigelm@ohm.york.ac.uk (Nigel Metheringham) writes: >I'm having a problem integrating our new NeXT systems into the >existing mail system here. > >The NeXT sendmail does not fill in the full name part of the From: >field, despite me using precisely the same sendmail config files as >we use on our other unix systems. The netinfo database knows about >users on the machines - including the full name, and I have tried >adding password file type entries into /etc/passwd & >/LocalLibrary/Images/People/passwd. Sendmail does not appear to >consult any of these sources to determine the fullname. > >The relevant parts of my sendmail.cf are:- > # format of a total name > # This should give a name of the form:- > # Fred Bloggs > Dq$?x$x <$g>$|$g$. > > # Header definitions > H?F?From: $q > >As I said, this works on all our other systems..... First off, please realize that I'm no sendmail expert (although I did manage to figure out my own sendmail hassles). Second off, looking thru the /etc/sendmail/sendmail.mailhost.cf file that's on the NeXT, the From line I get is built via: #format of a total name Dq$g$?x ($x)$. # (and later on...) H?F?From: $q That produces "From:" lines of the form "From: fb@here.there.etc (Fred Bloggs)" Comparing your example to mine, I can't see any reason why yours would not work as you expect it to. What exactly do you get, if you're not getting what you should be getting? The only other thing I can think of is that maybe you don't have your file in or linked to /etc/sendmail/sendmail.cf? (okay, I realize that's a long shot, but based on what you've written I don't see why you'd have any problems). Not only that, but I changed my "Dq" definition to match what you wrote, and it worked fine for me. Maybe it's something else in your sendmail.cf file? Going back to your earlier comments, the only thing on my NeXT box that knows about my full name is the field I filled in via UserManager (when creating the accounts). I didn't have to edit any other files to get full names working. Hope the above is of some help. >Also, am I alone in thinking that although NeXTmail is great fun, it >is not as well designed in functionality as elm... ...(remainder of article ignored, as I'm not up for a religious war today)... - - - - - Garance Alistair Drosehn = gad@rpi.edu (note that this article is certainly not going thru the sendmail.cf on my NeXT!!!)