bugzilla 612 - write recipients list in X-Envelope-To header of MBOX spool file
[exim.git] / test / aux-fixed / showenv
1 #! /bin/sh
2
3 # This script outputs certain information about the environment, for use when
4 # testing pipe transports.
5
6 echo Test pipe script
7 echo Running as: `whoami`
8 echo ------------------
9 echo Args:
10 while [ "$1" != "" ]; do
11   echo "  $1"
12   shift
13 done
14 echo ----------current-----------
15 pwd
16 echo ----------env-----------
17 echo A=$A
18 echo B=$B
19 echo C=$C
20 echo COLON=$COLON
21 echo DOMAIN=$DOMAIN
22 echo HOME=$HOME
23 echo LOCAL_PART=$LOCAL_PART
24 echo LOCAL_PART_PREFIX=$LOCAL_PART_PREFIX
25 echo LOCAL_PART_SUFFIX=$LOCAL_PART_SUFFIX
26 echo LOGNAME=$LOGNAME
27 echo ME=$ME
28 echo MESSAGE_ID=$MESSAGE_ID
29 echo PATH=$PATH
30 echo QUALIFY_DOMAIN=$QUALIFY_DOMAIN
31 echo RECIPIENT=$RECIPIENT
32 echo SENDER=$SENDER
33 echo SHELL=$SHELL
34 echo USER=$USER
35 echo ----------cat-----------
36 cat
37 echo ------------------
38