VERSIONID(`msgidruleset.m4') VERSIONID(`Copyright 1998, Robert Harker, Harker Systems') VERSIONID(`www.harker.com, info@harker.com, 408-295-6239') VERSIONID(`Permission granted to user this as long as this') VERSIONID(`VERSIONID information is preserved in the M4 macro file') VERSIONID(`and any sendmail.cf files created using thie M4 macro file') VERSIONID(` ') VERSIONID(`Modified to handle logging local mail as well as external mail') VERSIONID(`Shane B. Milburn, milburn@panix.com, 04/19/1999'') ifdef(`_MAILER_smtp_',, `errprint(`*** MAILER(smtp) must appear before copymail mailer')')dnl LOCAL_CONFIG CPNOCOPY LOCAL_NET_CONFIG LOCAL_RULE_0 R$+.NOCOPY. $#local @ $: $1 R$+<@$j.NOCOPY.> $#local @ $: $1 R$+<@$+.NOCOPY.> $#esmtp $@$2 $:$1<@$2.> R$+<@$+.> $#copymail $@nohostneeded $:$1<@$2.NOCOPY> R$+<@$+> $#copymail $@nohostneeded $:$1<@$2.NOCOPY> R$+ $#copymail $@nohostneeded $:$1<@$j.NOCOPY> MAILER_DEFINITIONS # Copy a message by sending it back to sendmail with an # additional adress: "original To:" + copyuser # Mcopymail, P=/usr/lib/sendmail, F=mDFMuX, S=11/31, R=21, E=\r\n, L=990, T=DNS/RFC822/X-Unix, A=/usr/lib/sendmail -oi copyuser@$j.NOCOPY $u