home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / sendmail / 3162 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.9 KB  |  52 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!stanford.edu!nntp.Stanford.EDU!yeahbut.stanford.edu!mosedale
  3. From: mosedale@yeahbut.stanford.edu (Dan Mosedale)
  4. Subject: Default UUCP name & possible sendmail bugs
  5. Message-ID: <1993Jan12.224305.26275@leland.Stanford.EDU>
  6. Sender: news@leland.Stanford.EDU (Mr News)
  7. Organization: Stanford Yeast Genome Project
  8. Date: Tue, 12 Jan 93 22:43:05 GMT
  9. Lines: 41
  10.  
  11. First off, thanks to Neil, Paul, Eric & everyone else involved with
  12. Sendmail and/or Sendmail+IDA for a nice package.
  13.  
  14. Now, a feature question: I'd like to use a single client.m4/client.cf
  15. for many machines.  Is there a way to set UUCPNAME to default to the
  16. current machine name ($w, if I recall correctly from my pre-IDA days)?
  17.  
  18.  
  19. Now for the bugs... 
  20.  
  21. First off, the Ultrix 4.2a include files already have a function
  22. prototype for fdopen(), so the ones in def.h need to be somehow
  23. ifdef'ed out.
  24.  
  25. The second bug ccurs on both the DECs and the Suns.  I'm running
  26. Sendmail 5.65c + IDA 1.4.4.1, on both DECstations and SPARCs.  I've
  27. compiled it with GCC 2.3.3, invoked as
  28.  
  29.     gcc -ansi -O2 -fpcc-struct-return
  30.  
  31. I have my aliases set up as follows:
  32.  
  33.     /etc/aliases is on the root partition, and is symlink to
  34.     /usr/local/init/aliases.  /usr/local/init is an NFS partition
  35.     which I'd like to mount read-only.
  36.  
  37. The problem is this: when Sendmail (invoked with -bi or as newaliases)
  38. goes to build the aliases.{dir,pag} databases, it refuses to build
  39. them if /usr/local/init is mounted read-only (even though the database
  40. files should be written to /etc, in this instance).
  41.  
  42. I assume what is going on is that sendmail first stat()'s
  43. /etc/aliases, and then finds the parent-dir of the stat'ed directory
  44. and does a writability check on that, rather than simply checking the
  45. writability of the directory where aliases ostensibly lives (i.e
  46. /etc).
  47.  
  48. Thanks,
  49. Dan Mosedale
  50. mosedale@genome.stanford.edu
  51.  
  52.