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