Operating System - HP-UX
1752794 Members
6009 Online
108789 Solutions
New Discussion

Re: How to strip out header messages.

 
SOLVED
Go to solution
Gerry Tully
Frequent Advisor

How to strip out header messages.

Hi all. Does anyone know if there is a config setting which will leave out the 'copyright' messages you get in mail messages? My platform info. is: N-class, 11-00. I don't see anything in the sendmail.cf file.
See the below sample message:
-----------------------------------------------
Date: Fri, 1 Mar 2002 13:10:05 -0500 (EST)
Subject: cron

stty: : Not a typewriter
(c)Copyright 1983-1997 Hewlett-Packard Co., All Rights Reserved.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-1992 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1986 Digital Equipment Corp.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-1997 Mentat, Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
(c)Copyright 1997 Isogon Corporation

RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.

Hewlett-Packard Company
3000 Hanover Street
Palo Alto, CA 94304 U.S.A.

Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
Have an Outstanding Day !
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
Any Ideas?
1 REPLY 1
James R. Ferguson
Acclaimed Contributor
Solution

Re: How to strip out header messages.

Hi:

You will find a 'cat' of /etc/copyright in /etc/profile. Comment that out to eliminate seeing it.

Regards!

...JRF...