home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / sys5 / r4 / 530 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.8 KB

  1. Xref: sparky comp.unix.sys5.r4:530 comp.mail.misc:3716
  2. Newsgroups: comp.unix.sys5.r4,comp.mail.misc
  3. Path: sparky!uunet!think.com!sdd.hp.com!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!skrenta
  4. From: skrenta@casbah.acns.nwu.edu (Rich Skrenta)
  5. Subject: Re: Email header problems on SVR4.
  6. Message-ID: <1992Nov17.170729.3540@news.acns.nwu.edu>
  7. Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
  8. Organization: Northwestern University, Evanston, Illinois
  9. References: <BxtoEJ.B1L@chinet.chi.il.us>
  10. Date: Tue, 17 Nov 1992 17:07:29 GMT
  11. Lines: 38
  12.  
  13. les@chinet.chi.il.us (Leslie Mikesell) writes:
  14. > You might want to look at Smail3 - it will drop into sysV machines as
  15. > a replacement for rmail/mail and sendmail.  It doesn't allow decisions
  16. > based on the sender address but it should handle about anything else.
  17.  
  18. What I find tragic is that the R4 mailer could have been really great.
  19. Not doing RFC-822 headers, and being short-circuited by useless bloat
  20. ruined it.
  21.  
  22. I've used smail 3 and it's certainly a powerful mailer.  The neat thing
  23. about the upas style is the vast power you get from one simple, relatively
  24. short configuration file.  I remember smail 3 having a bunch of big
  25. configuration files and a thick manual needed to understand them.
  26.  
  27. I'm not criticising smail; it's an industrial-strength mailer.  But
  28. regex-style rewriting makes some things really easy.  Some stylized
  29. examples from my mailer:
  30.  
  31.     Map all mail for foo.com to bar.com:
  32.  
  33.         rewrite '(?*)@foo.com'    '\1@bar.com'
  34.  
  35.     Make mail for bozo deliver locally instead
  36.  
  37.         rewrite '(?*)@bozo'    '\1'
  38.  
  39.     Give address of the form <box-number>@mailbox-service.host to
  40.     my mailbox-server script:
  41.  
  42.         deliver '([0-9]+)@mailbox-service.host'  'script \1'
  43.  
  44.     stupid.host doesn't have SMTP or uucp-over-tcp.  Deliver mail
  45.     to it with rsh:
  46.  
  47.         deliver '(?*)@stupid.host'  'rsh stupid "/usr/bin/rmail \1"'
  48.  
  49. --
  50. Rich Skrenta
  51.