Code Sharing Repository Public source code sharing repository Block googlebot robots.txt - Code Sharing Repository User-agent: Googlebot Disallow: / 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... 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 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 =... 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... 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 =... 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... 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... 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... Thu, 8 Sep 2016 15:04:22 GMT