[net.unix] Format of commands to .forward file?

ix255@sdcc6.UUCP (John Antypas @ UC San Diego) (07/11/85)

Does anyone out there have handy the types of commands that can
be placed in a 4.2BSD .forward file?  I know about the acct-name that
forwards mail to acct-name, but what about forwaring mail to a
pre-processing program, What do this mean?

/<user path>
" | <progname> <args>"

What does the error

/<user path> Can't create output
mean?  How can it be fixed?  I am trying to use the infamous
cmdbymail.c program posted recently.  Anyone on 4.2BSD had 
any luck with this.

John Antypas
UC San Diego

uucp: ...!{ucbvax,noscvax,decvax,ihnp4,dcdwest}!sdcsvax!sdcc6!ix255
arpa: ix255%sdcc6@sdcsvax.ARPA
bitnet: ix255%sdcc6%sdcsvax.ARPA@WISCVM.BITNET (user SMTPUSER)
csnet: ix255%sdcc6%sdcsvax.ARPA@CSNET-RELAY

jbc@mcc-db.UUCP (John B. Chambers) (07/15/85)

Grit your teeth and look in deliver.c at ...

	.
	.
	.
/*
**  MAILFILE -- Send a message to a file.
**
**	If the file has the setuid/setgid bits set, but NO execute
**	bits, sendmail will try to become the owner of that file
**	rather than the real user.  Obviously, this only works if
**	sendmail runs as root.
-- 

John B. Chambers, Microelectronics and Computer Technology Corp., Austin, TX
{ihnp4,seismo,ctvax}!ut-sally!mcc-db!jbc, jbc@ut-sally.ARPA, chambers@mcc.ARPA