sent_userinfo_postfix.sh: some minor changes (remove debug code).
This commit is contained in:
parent
36f53022cd
commit
005d6e872b
@ -496,14 +496,14 @@ $ENCODED_MESSAGE
|
|||||||
num_dom=num_dom+1
|
num_dom=num_dom+1
|
||||||
done
|
done
|
||||||
|
|
||||||
#if ! $TEST_RUN ; then
|
if ! $TEST_RUN ; then
|
||||||
mv "$message_body_file" "${message_body_file}.SENT.$(date +%Y-%m-%d)"
|
mv "$message_body_file" "${message_body_file}.SENT.$(date +%Y-%m-%d)"
|
||||||
if [[ -f "${file_dir}/sent_userinfo_postfix.subject" ]]; then
|
if [[ -f "${file_dir}/sent_userinfo_postfix.subject" ]]; then
|
||||||
mv "${file_dir}/sent_userinfo_postfix.subject" "${file_dir}/sent_userinfo_postfix.subject.SENT.$(date +%Y-%m-%d)"
|
mv "${file_dir}/sent_userinfo_postfix.subject" "${file_dir}/sent_userinfo_postfix.subject.SENT.$(date +%Y-%m-%d)"
|
||||||
else
|
else
|
||||||
echo "$email_subject" > "${file_dir}/sent_userinfo_postfix.subject.SENT.$(date +%Y-%m-%d)"
|
echo "$email_subject" > "${file_dir}/sent_userinfo_postfix.subject.SENT.$(date +%Y-%m-%d)"
|
||||||
fi
|
fi
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
echo -e "\n\n----- Statistics -----\n\n\tSent mail to $num_mbox mailboxe(s) of $num_dom domain(s)" | tee -a $logfile
|
echo -e "\n\n----- Statistics -----\n\n\tSent mail to $num_mbox mailboxe(s) of $num_dom domain(s)" | tee -a $logfile
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user