Code Sharing Repository Public source code sharing repository http://devcodepro.com Block googlebot robots.txt - Code Sharing Repository User-agent: Googlebot Disallow: / http://devcodepro.com/view/72/1/Block-googlebot-robots-txt http://devcodepro.com/view/72/1/Block-googlebot-robots-txt Wed, 28 Nov 2018 00:01:26 GMT Exim - How to block certain domain - Code Sharing Repository 1. In etc/exim/exim.conf after this line: # $Cambridge: exim/exim-src/src/configure.default,v 1.14 2009/10/16 07:46:13 tom Exp $ put this line: system_filter = /etc/exim/filters 2. Create file filters in /etc/exim/ folder with code: if $header_from: contains... http://devcodepro.com/view/65/7/Exim-How-to-block-certain-domain http://devcodepro.com/view/65/7/Exim-How-to-block-certain-domain Wed, 28 Feb 2018 11:02:34 GMT SSH IPTables command to block IP Address - Code Sharing Repository [my@server ~]# iptables -A INPUT -s x.xx.xx.xx -p tcp --dport 25 -j REJECT [my@server ~]# service iptables save [my@server ~]# service iptables restart http://devcodepro.com/view/64/7/SSH-IPTables-command-to-block-IP-Address http://devcodepro.com/view/64/7/SSH-IPTables-command-to-block-IP-Address Tue, 27 Feb 2018 09:41:12 GMT Warning: purging the environment. Suggested action: use keep_environment issue - Code Sharing Repository 1. Open etc/exim/exim.conf 2. Directly after this code line: # $Cambridge: exim/exim-src/src/configure.default,v 1.14 2009/10/16 07:46:13 tom Exp $ add: keep_environment = X-SOURCE : X-SOURCE-ARGS : X-SOURCE-DIR add_environment =... http://devcodepro.com/view/63/7/Warning-purging-the-environment-Suggested-action-use-keep_environment-issue http://devcodepro.com/view/63/7/Warning-purging-the-environment-Suggested-action-use-keep_environment-issue Tue, 27 Feb 2018 09:25:15 GMT Exim mail queue commands - Code Sharing Repository exim -bpc number of emails in queue exim -bp print a list of messages in queue exim -qf force deliver all messages in queue exim -Mrm mesageid remove message from the queue exim -Mvh mesageid view message headers exim -Mvb mesageid... http://devcodepro.com/view/52/7/Exim-mail-queue-commands http://devcodepro.com/view/52/7/Exim-mail-queue-commands Sat, 2 Sep 2017 16:26:09 GMT CSF block force attacks on Exim - Code Sharing Repository 1. Backup /etc/csf/csf.conf 2. Make sure this exist in /etc/csf/csf.conf LF_DAEMON = "1" LF_CSF = "1" SMTP_BLOCK = "1" SMTPAUTH_LOG = "/var/log/exim/reject.log" SMTPRELAY_LOG = "/var/log/exim_mainlog" POP3D_LOG =... http://devcodepro.com/view/42/7/CSF-block-Exim-attacks http://devcodepro.com/view/42/7/CSF-block-Exim-attacks Mon, 26 Jun 2017 09:21:15 GMT Basic ClamAV SSH Command Line Commands - Code Sharing Repository service clamd status Check status service clamd start Start service service clamd stop Stop service service clamd restart Restart service service clamd reload Reload service freshclam -V Version info clamscan -V Version info 2... http://devcodepro.com/view/25/7/Basic-ClamAV-SSH-Command-Line-Commands http://devcodepro.com/view/25/7/Basic-ClamAV-SSH-Command-Line-Commands Thu, 19 Jan 2017 17:40:32 GMT SSH CSF - ConfigServer Commands - Code Sharing Repository csf -v Show csf version csf -l Status csf -l6 List/Show the IPv6 ip6tables configuration csf -f Flush/Stop firewall rules (Note: lfd may restart csf) csf -s Start the firewall rules csf -r Restart firewall rules (csf) csf -sf... http://devcodepro.com/view/19/7/SSH-CSF---ConfigServer-Commands http://devcodepro.com/view/19/7/SSH-CSF---ConfigServer-Commands Wed, 28 Dec 2016 04:11:52 GMT CentOS - SpamAssassin and Exim - Code Sharing Repository 1. Install Spamassassin [SSH]: sudo yum install spamassassin 2. Create file filters in /etc/exim/ folder with code: if $h_X-Spam-Flag: contains "YES" then headers add "Old-Subject: $h_subject" headers remove "Subject" headers add... http://devcodepro.com/view/15/7/CentOS-SpamAssassin-and-Exim http://devcodepro.com/view/15/7/CentOS-SpamAssassin-and-Exim Thu, 8 Sep 2016 15:04:22 GMT