I didn't want to see every line in whois output, so I adapted the configuration a bit:
--- mail-whois-common.conf.ORIG 2017-05-10 22:11:32.000000000 -0400 +++ mail-whois-common.conf 2018-08-18 09:16:49.668350219 -0400 @@ -11,7 +11,7 @@ [DEFAULT] #original character set of whois output will be sent to mail program -_whois = whois <ip> || echo "missing whois program" +_whois = (whois <ip> || echo "missing whois program" ) | grep -v '[%#]' | cat -s # use heuristics to convert charset of whois output to a target # character set before sending it to a mail program -- <------ B-LUC Consulting ---- CISSP-ISSAP #41151 ----------> Thomas Bullinger, Owner Visit us @ http://consult.btoy1.net Phone: (585) 678-1552 Fax: (585) 598-3334 PGP key ID: 0xD40D9BB1 Badge: https://www.youracclaim.com/users/thomas-bullinger 57th rule of acquisition: Good customers are as rare as latinum. Treasure them. =============================================================== WARNING: Electronic mail sent through the Internet is not secure and could be intercepted by a third party. For your own protection, do not send any identifying information, including account, Social Security, card numbers, or passwords via email. =============================================================== ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
