diff options
-rwxr-xr-x | mailcert.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mailcert.sh b/mailcert.sh index 6bbe890..3b5006f 100755 --- a/mailcert.sh +++ b/mailcert.sh @@ -64,9 +64,9 @@ if [[ "$CACN" =~ (.+)/emailAddress.+ ]]; then CACN=${BASH_REMATCH[1]} fi -export BOUNDARY="$(dd if=/dev/urandom bs=16 count=1 status=noxfer 2>/dev/null | base64)" -export USERCERTNAME=$(basename "$USERCERT") -export CACERTNAME=$(basename "$CACERT") +BOUNDARY="$(dd if=/dev/urandom bs=16 count=1 status=noxfer 2>/dev/null | base64)" +USERCERTNAME=$(basename "$USERCERT") +CACERTNAME=$(basename "$CACERT") /usr/lib/sendmail << EOF To: $USEREMAIL |