IntellexApps / blcheck

Test a mail server against blacklists.
173 stars 68 forks source link

multiple "not found" #16

Open julian70400 opened 6 years ago

julian70400 commented 6 years ago

Hello,

Simply runnig your script and have 3 warnings :

./blcheck: 176: ./blcheck: [[: not found ./blcheck: 321: ./blcheck: shopt: not found ./blcheck: 327: ./blcheck: [[: not found Warning: PTR record does not match supplied domain: test1.net != ns.test1.net


Results for test1.net

Tested: 117 Passed: 117 Invalid: 0 Blacklisted: 0

error 321 related to shopt binary, but I've got it in my path.

Regards

rubix1138 commented 6 years ago

I got the same on Ubuntu. He is using bash comparisons ( the double bracket), but the first line is calling sh. You can either fix it by running:

bash blcheck

Or editing the first line of the script to read:

#!/bin/bash

rubix1138 commented 6 years ago

@julian70400 - The author approved by pull request and with commit a183a69 - this is now fixed. Yay open source!