To get cacert.pem file
wget https://curl.haxx.se/ca/cacert.pem
Source: https://curl.haxx.se/docs/caextract.html
… Read the restNotes
wget https://curl.haxx.se/ca/cacert.pem
Source: https://curl.haxx.se/docs/caextract.html
… Read the restservice exim stop rm -fv /var/spool/exim/db/* service exim start… Read the rest
doveadm auth cache flush
Flush the authentication cache. By default the cache is flushed for all the users (which can also be done by sending SIGHUP to the auth process). You can also flush the cache for one or more users by providing their usernames.… Read the rest
To see traffic for IP address over specific port
tcpdump -i eth0 host XX.XX.XX.XX and port 443 -n -s 0 -vvv… Read the rest
This appears when you run simple cd command via cPanel –> Terminal, for example:
cd public_html cat: /dev/fd/63: No such file or directory
The fix is pretty simple, just suppress output of cd command
Update .bashrc with the following alias:
alias cd='cd &>/dev/null' source .bashrc… Read the rest
Add the stable PPA, update and install it:
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt-get update
sudo apt-get install wireshark -y
To run:
sudo wireshark… Read the rest
##### #block bad bots with a 403 ##### SetEnvIfNoCase User-Agent ^$ bad_bot SetEnvIfNoCase User-Agent "360Spider" bad_bot SetEnvIfNoCase User-Agent "80legs" bad_bot SetEnvIfNoCase User-Agent "Abonti" bad_bot SetEnvIfNoCase User-Agent "Aboundex" bad_bot SetEnvIfNoCase User-Agent "^AESOP_com_SpiderMan" bad_bot SetEnvIfNoCase User-Agent "^AIBOT" bad_bot SetEnvIfNoCase User-Agent "AITCSRobot/1.1" bad_bot SetEnvIfNoCase User-Agent "^Alexibot" bad_bot SetEnvIfNoCase User-Agent "Anonymouse.org"… Read the rest
Run repair script
/scripts/autorepair spamd_dbm_fix
And restart mail server
/etc/init.d/exim restart… Read the rest