diff options
Diffstat (limited to 'script')
-rwxr-xr-x | script/mailin | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/script/mailin b/script/mailin index 103c87f77..eeaf0e5aa 100755 --- a/script/mailin +++ b/script/mailin @@ -1,6 +1,6 @@ #!/bin/bash -OUTPUT=/tmp/wdtk-malin-$RANDOM$RANDOM$RANDOM$RANDOM.txt +OUTPUT=/tmp/foi-malin-$RANDOM$RANDOM$RANDOM$RANDOM.txt cd `dirname $0` cd ../../ @@ -18,8 +18,11 @@ then echo "$BODY" | /usr/bin/mutt -s "$SUBJ" -a $OUTPUT $OPTION_CONTACT_EMAIL # tell exim error was temporary, so try again later (no point bouncing message to authority) + rm -f $OUTPUT exit 75 fi +cat $OUTPUT +rm -f $OUTPUT exit 0 |