mysql --defaults-extra-file="$MYSQL_CREDENTIALS_FILE""$POSTFIX_DB" -B -e "$QUERY30DAYS"|whileread -a RESULT ;do
echo -e "Dear User, \n Your password will expire on ${RESULT[1]}"| mail -s "Password 30 days before expiration notication" -r noreply@eyetech.fr ${RESULT[0]};done
mysql --defaults-extra-file="$MYSQL_CREDENTIALS_FILE""$POSTFIX_DB" -B -e "$QUERY14DAYS"|whileread -a RESULT ;do
echo -e "Dear User, \n Your password will expire on ${RESULT[1]}"| mail -s "Password 14 days before expiration notication" -r noreply@eyetech.fr ${RESULT[0]};done
mysql --defaults-extra-file="$MYSQL_CREDENTIALS_FILE""$POSTFIX_DB" -B -e "$QUERY7DAYS"|whileread -a RESULT ;do
echo -e "Dear User, \n Your password will expire on ${RESULT[1]}"| mail -s "Password 7 days before expiraiton notication" -r noreply@eyetech.fr ${RESULT[0]};done