home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / mail / sendmail / 2823 < prev    next >
Encoding:
Text File  |  1992-11-18  |  4.0 KB  |  82 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!destroyer!sol.ctr.columbia.edu!eff!ckd
  3. From: ckd@eff.org (Christopher Davis)
  4. Subject: Re: Best choice: pathalias/sendmail or smail?
  5. In-Reply-To: les@chinet.chi.il.us's message of Mon, 16 Nov 1992 19:18:35 GMT
  6. Message-ID: <CKD.92Nov18130046@loiosh.eff.org>
  7. Sender: usenet@eff.org (NNTP News Poster)
  8. Nntp-Posting-Host: loiosh.eff.org
  9. Organization: Electronic Frontier Foundation Tech Central
  10. References: <BxqCFr.298@rahul.net> <Bxs77I.Ep1@chinet.chi.il.us>
  11.     <CKD.92Nov15224108@loiosh.eff.org> <BxtpMz.BLs@chinet.chi.il.us>
  12. Date: Wed, 18 Nov 1992 18:00:49 GMT
  13. Lines: 67
  14.  
  15. Leslie> == Leslie Mikesell <les@chinet.chi.il.us> 
  16.  
  17.  Leslie> Smail release 3.1.28 adds support for somewhat arbitrary
  18.  Leslie> header-munging with contional string manipulation and database
  19.  Leslie> lookups but I don't know if it handles everything IDA can do.
  20.  Leslie> The configuration files are certainly easier to read, though.
  21.  
  22.  ckd> Easier than the .cf, or easier than the .m4 (assuming you use the canned
  23.  ckd> Sendmail.mc)?  I find the .m4 *really* easy to read, especially given
  24.  ckd> that it fits in an 80x24 window...
  25.  
  26.  Leslie> I have to admit that I didn't seriously try to understand the
  27.  Leslie> .m4 file.
  28.  
  29. Well, our current effserver.m4 file no longer fits on a 24 line screen.
  30. It would if I took out any two of the eight comment lines, though, so I
  31. don't think that counts.  The client one still fits quite nicely,
  32. though.
  33.  
  34. Here's an example snippet from effserver.m4:
  35. define(BANGIMPLIESUUCP)
  36. define(CHECKPOINT,1)dnl # we attempt to be supersafe on mailing lists
  37. define(TIMEOUT, 7d)dnl # let's try to deliver for a week
  38. define(HIDDENDOMAIN, eff.org)
  39. define(FORCE_NAMED)
  40.  
  41. Most of the magic, of course, comes in the dbm lookups.  We handle our
  42. UUCP-connected MX sites by putting in a mailertable entry for them; we
  43. rewrite uusite!user to user@site.mx.dom with a domaintable entry, so the
  44. UUCP name doesn't get out; we were able to route mail over SMTP to the
  45. WELL before it was in the DNS (a mailertable entry for TCP,ip.ad.dr.es
  46. did the trick there), and so on.
  47.  
  48.  Leslie> I've asked the same question a couple of times in the past few
  49.  Leslie> years, though, and I'm not sure anyone has answered who
  50.  Leslie> understood both mailers in depth.  Both are complex enough that
  51.  Leslie> if you have one working you probably won't tackle the other
  52.  Leslie> just for fun.
  53.  
  54. True enough.  We went to IDA from a sendmail setup "it's working so
  55. don't mess with it"; I still tend not to edit sendmail.cf, but I have no
  56. problems changing the configuration through either the m4 file or the
  57. dbm databases.  I've never used smail, so I fit the pattern you describe :)
  58.  
  59.  Leslie> I think Smail3 has more innate knowledge about how mail should
  60.  Leslie> be handled which can be good or bad, depending on how strange
  61.  Leslie> your situation is.  In a typical setup, smail can be compiled
  62.  Leslie> to use its defaults so you don't need a special configuration
  63.  Leslie> file at all.  Where you do need a customized setup, it is
  64.  Leslie> broken into parts for global values and the director, router,
  65.  Leslie> and transport definitions, which relate to the steps smail uses
  66.  Leslie> to process an address.
  67.  
  68. The IDA Sendmail.mc is Really Good about doing the Right Thing.  It is
  69. probably not practical to run without a config file, but you can make a
  70. pretty minimal .m4 file (10-15 lines should suffice for the vast
  71. majority of sites, even those with mixed SMTP/UUCP environments).  Then
  72. you put whatever "special" cases you want in the DBM files, which are
  73. kind of broken up as you say.  MAILERTABLE short-circuits the mailer
  74. selection; we use that for routing .BITNET pseudo-domain mail and
  75. passing mail for our MX sites to the appropriate UUCP name.  DOMAINTABLE
  76. is only there to qualify our MX sites, so it only needs to be 4 lines.
  77. --
  78. Christopher K. Davis      | ``Usenet seems to run much like the Kif (or,
  79. <ckd@eff.org>   EFF #14   |   for the TV generation, Klingon) high command.
  80. System Administrator, EFF |   Whoever takes action and can be heard wins.''
  81. +1 617 864 0665  [CKD1]   |   --Peter da Silva <peter@ferranti.com>
  82.