home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / 3b1 / 4211 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.9 KB

  1. Xref: sparky comp.sys.3b1:4211 comp.mail.misc:4297
  2. Path: sparky!uunet!olivea!apple!veritas!tron
  3. From: tron@Veritas.COM (Ronald S. Karr)
  4. Newsgroups: comp.sys.3b1,comp.mail.misc
  5. Subject: Re: Sendmail problem on AT&T unix 7300 (3b1).
  6. Message-ID: <1993Jan08.073350.920@Veritas.COM>
  7. Date: 8 Jan 93 07:33:50 GMT
  8. References: <C04BCM.Lz5@fang.att.com> <1993Jan4.041940.8007@blilly.uucp> <1993Jan7.010001.14561@blilly.uucp>
  9. Organization: VERITAS Software
  10. Lines: 33
  11.  
  12. In article <1993Jan7.010001.14561@blilly.uucp> lilb@sony.compuserve.com (Bruce Lilly) writes:
  13. >Suppose one wants to generate mail which complies with FIPS 98 (also available
  14. >as RFC841 [*]). Such mail is required to have one and only one Posted-Date
  15. >header (Posted-Date is to Date what a post office postmark is to the date
  16. >printed on the letter contained in the envelope which bears the postmark)
  17. >(See FIPS 98 for details; sections 3.1, 3.1.5, 3.3, Appendix A, Appendix D.1,
  18. >and Appendix E.8 are applicable to Posted-Date).
  19. >
  20. >To do that using sendmail, one adds the following line to sendmail.cf:
  21. >
  22. >H?D?Posted-Date: $b
  23. >
  24. >Now would somebody like to explain how to accomplish the same thing with
  25. >smail? (without modifying source code)
  26.  
  27. If you have a somewhat recent release of smail (3.1.26 or better), then
  28. you can add lines to your transports file such as:
  29.  
  30.     append_header="${if !header:Posted-Date {Posted-Date: $date}}"
  31.  
  32. Older versions of smail had no ability to add or remove headers
  33. arbitrarily.  This has been fixed.  The current capabilities in this
  34. regard are probably more powerful than sendmail's (though existing
  35. headers cannot be rewritten).  Admittedly, the syntax is more
  36. complex.
  37.  
  38. The current release includes sample transports files that provide for
  39. the SVR4 Content-Length fields by removing an old Content-Length field
  40. and substituting a new one that contains the length of the message
  41. body.
  42. -- 
  43.     tron |-<=>-|        ARPAnet:  veritas!tron@apple.com
  44.       tron@veritas.com        UUCPnet:  {apple,pyramid}!veritas!tron
  45.