Author Archives: bpn4it

About bpn4it

Feel Free in Linux. Bipin Patel bpn4it@gmail.com Ahmadabad, Gujarat, India

NTP Server

NTP [root@server1 ~]# yum install ntp /usr/sbin/ntpd —> Service /etc/ntp.conf —> Main File /etc/ntp/keys —> Contains Encryption keys /var/lib/ntp/drift —> Hardware clock drift statistic ( A file that will be used to store information about the inaccuracy of the local … Continue reading

Posted in Bipin hands-on | Leave a comment

zimbra 80 gb ldap data.mdb

I have found this solution on zimbra forum. As my experience this is solution is working successfully at first time but when i use this second time, this reduce the ldap database size but ldap service was not started. for … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

zimbra dns-bl

http://wiki.zimbra.com/wiki/Configuring_and_Monitoring_Postfix_DNSBL configuring and Monitoring Postfix DNSBL Enter zmprov gacf | grep zimbraMtaRestriction, to see what RBLs are set. zmprov mcf +zimbraMtaRestriction “reject_rbl_client zen.spamhaus.org” Available DNSBLs reject_rbl_client cbl.abuseat.org reject_rbl_client bl.spamcop.net reject_rbl_client dnsbl.sorbs.net reject_rbl_client sbl.spamhaus.org Monitoring Logs for DNSBL bounces dnsblcount is … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Get Attachment log in zimbra

I have write down a simple script which is give you all the attachment within mail in another log file. [root@desktop51 ~]# vim attachment-log.sh #!/bin/bash # this script for get log attachment su – zimbra  -c “echo your zimbra version … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Performing UDP tunneling through an SSH connection

The original source is:- http://wiki.networksecuritytoolkit.org/nstwiki/index.php/Tunnelling_UDP_Traffic_Through_An_SSH_Connection http://www.qcnetwork.com/vince/doc/divers/udp_over_ssh_tunnel.html on client: [root@client tmp]# /usr/bin/ssh -L 9999:localhost:9999 root@192.168.0.51; on server: [root@server ~]# /usr/bin/mkfifo “/tmp/fifo”; [root@server ~]# /bin/ls -al “/tmp/fifo”; prw-r–r– 1 root root 0 Mar 22 19:37 /tmp/fifo [root@server ~]# /usr/bin/nc -l 9999 < “/tmp/fifo” | /usr/bin/nc -u … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment