create a file in /root #cd /root #cat rmail.sh #!/bin/bash /cd /var/spool/exim/input; rm -rf *; #sh rmail.sh Then add this entry in your cron tab…
install imapsync nya yum install imapsync Here’s a sample output: [email protected]:~# imapsync –host1 server1.example.com –user1 [email protected] –passfile1 /etc/secret2 –host2 server2.example.com –user2 [email protected] –passfile2 /etc/secret2 $RCSfile: imapsync,v $ $Revision: 1.252 $ $Date: 2008/05/08 02:30:17 $ Here is a [linux] system (Linux server1.example.com 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:45:36 UTC 2009 x86_64) with perl 5.10.0 and the module Mail::IMAPClient version used here is 2.2.9 Command line used : /usr/bin/imapsync –host1 server1.example.com –user1 [email protected] –passfile1 /etc/secret2 –host2 server2.example.com –user2 [email protected] –passfile2 /etc/secret2 Turned ON syncinternaldates, will set the internal dates on host2 same as host1. TimeZone :[CEST] Will try to use CRAM-MD5 authentication on host1 Will try to use CRAM-MD5 authentication on host2 From imap server [server1.example.com] port [143] user [[email protected]] To imap server [server2.example.com] port [143] user [[email protected]] Banner : * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA…
untuk install ConfigServer Mail Queues caranya : 1. download cmq pake wget # wget http://configserver.com/free/cmq.tgz 2. Untar file cmq.tgz # tar -xzf cmq.tgz…
ini adalah script sederhana untuk membuat email alert apabila partisi hampir penuh 1 2 3 4 5 6 7 8 9 #!/bin/bash SIZE=`df / |…
1. login ke server dengan user root 2. cd /root 3. vi .bashrc 4. tambahkan di line paling bawah echo ‘ALERT – Root Shell Access…
nano /etc/iptables.rules*filter :INPUT ACCEPT [368:102354] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [92952:20764374] -A INPUT -i lo -j ACCEPT -A INPUT -p tcp -m tcp –dport 22…
Berikut adalah beberapa hal yang bisa anda lakukan melalui Command Prompt dalam System Recovery: 1. Untuk memperbaiki atau repair Master Boot Record atau masalah booting:…
Untuk mengetahui berbagai fungsi pada Command Prompt dapat Anda lihat seperti di bawah ini : ARP : Address Resolution Protocol Assoc : Ubah ekstensi file…
1. Download dari konsole: wget http://blog.maxserver.biz/wp-content/uploads/2016/08/reset.tar.gz 2. Extrack hasil downloadan: #tar -zxvf reset.tar.gz 3. Masuk ke folder reset: #cd reset 4. Permission filenya: #chmod +x reset.sh 5. Jalankan filenya dengan sudo atau…