better with obs forms
[ghsmtp.git] / ouroboros.sh
blob212a138ccbe761a5c01d1719090b60e6406137c1
1 #!/bin/bash
3 log_dir=/tmp/Maillogs
5 mkdir -p ${log_dir}
7 cwd=`pwd`
9 coproc \
10 ASAN_OPTIONS=detect_odr_violation=0 \
11 LLVM_PROFILE_FILE=${cwd}/smtp.profraw \
12 MAILDIR=/tmp/Maildir \
13 GOOGLE_LOG_DIR=${log_dir} \
14 GLOG_minloglevel=0 \
15 ./smtp -use_prdr=true
17 ASAN_OPTIONS=detect_odr_violation=0 \
18 ./snd \
19 -use_chunking=false \
20 -log_data \
21 -service=smtp \
22 -pipe=true \
23 -smtp_to='a@digilicious.com' \
24 -smtp_to2='anybody@digilicious.com' \
25 -smtp_to3='c@digilicious.com' \
26 <&${COPROC[0]} >&${COPROC[1]}