<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tetrain.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vijay</id>
	<title>TetraWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vijay"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Special:Contributions/Vijay"/>
	<updated>2026-07-25T08:08:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Zimbra8LogoChange&amp;diff=1701</id>
		<title>Zimbra8LogoChange</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Zimbra8LogoChange&amp;diff=1701"/>
		<updated>2014-08-01T13:08:15Z</updated>

		<summary type="html">&lt;p&gt;Vijay: Created page with &amp;quot;Category: Satyam CinePlexes Category: Zimbra 8   == &amp;#039;&amp;#039;&amp;#039;Zimbra 8 Opensource Addition logo chage &amp;#039;&amp;#039;&amp;#039; ==   &amp;#039;&amp;#039;&amp;#039;Admin Pannel Logo Change&amp;#039;&amp;#039;&amp;#039;   Default Logo Details are given...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Satyam CinePlexes]]&lt;br /&gt;
[[Category: Zimbra 8]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Zimbra 8 Opensource Addition logo chage &#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Admin Pannel Logo Change&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 Default Logo Details are given below:--&lt;br /&gt;
 LoginBannerImg      =   @LogoImgDir@/LoginBanner.png?v=@jsVersion@&lt;br /&gt;
 LoginBannerWidth    =   450px&lt;br /&gt;
 LoginBannerHeight   =   110px&lt;br /&gt;
 AppBannerImg        =   @LogoImgDir@/AppBanner.png?v=@jsVersion@&lt;br /&gt;
 AppBannerWidth      =   120px&lt;br /&gt;
 AppBannerHeight     =   35px&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note:- Change this according to the requirement. To change it process is given below: ---&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Zimbra WebPannel Login Banner &amp;amp; Application Banner&#039;&#039;&#039; ==&lt;br /&gt;
 Steps 1:- Copy both the LoginBanner.png and AppBanner.png in &lt;br /&gt;
  /opt/zimbra/jetty-distribution-7.6.12.v20130726/webapps/zimbra/skins/_base/base3/skin.properties&lt;br /&gt;
  vim /opt/zimbra/jetty-distribution-7.6.12.v20130726/webapps/zimbra/skins/_base/base3/skin.properties&lt;br /&gt;
  LoginBanner         =   @img(, LoginBannerImg, 450px, 110px)@&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Zimbra Admin Pannel Login Banner &amp;amp; Application Banner&#039;&#039;&#039;==&lt;br /&gt;
 Steps 2:- Copy both the logos in &lt;br /&gt;
 vim /opt/zimbra/jetty/webapps/zimbraAdmin/skins/serenity/skin.properties&lt;br /&gt;
 LoginBanner                 = @img(, LoginBannerImg, 450px, 110px)@&lt;br /&gt;
&lt;br /&gt;
 Steps3:- Run the given cammands :--&lt;br /&gt;
 zmprov md satyamcineplexes.com zimbraSkinLogoURL https://mailserver.satyamcineplexes.com&lt;br /&gt;
 zmprov md satyamcineplexes.com zimbraSkinLogoURL https://mailserver.satyamcineplexes.com:7071&lt;br /&gt;
 zmprov md satyamcineplexes.com zimbraSkinLogoLoginBanner /skins/_base/logos/LoginBanner.png&lt;br /&gt;
 zmprov md satyamcineplexes.com zimbraSkinLogoAppBanner /skins/_base/logos/AppBanner.png&lt;br /&gt;
 zmprov fc all ; zmmailboxdctl restart&lt;/div&gt;</summary>
		<author><name>Vijay</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Main_Page/MailMigrationScript&amp;diff=1692</id>
		<title>Main Page/MailMigrationScript</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Main_Page/MailMigrationScript&amp;diff=1692"/>
		<updated>2014-07-19T04:30:05Z</updated>

		<summary type="html">&lt;p&gt;Vijay: Created page with &amp;quot;Category: BLS INTERNATIONAL Category: Zimbra  ====&amp;#039;&amp;#039;&amp;#039;Zimbra Script to Migrate mails from old domain to new domain&amp;#039;&amp;#039;&amp;#039;====  Step 1:- Create a file imapsync.sh and add th...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: BLS INTERNATIONAL]]&lt;br /&gt;
[[Category: Zimbra]]&lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039;Zimbra Script to Migrate mails from old domain to new domain&#039;&#039;&#039;====&lt;br /&gt;
&lt;br /&gt;
Step 1:- Create a file imapsync.sh and add the following entries.  Before starting this you need to create a file having all the user account that you want to migrate.&lt;br /&gt;
&lt;br /&gt;
Script to automate the synchronizations of multiple mail accounts&lt;br /&gt;
&lt;br /&gt;
!/bin/bash&lt;br /&gt;
&lt;br /&gt;
Date=`date +%d:%m:%Y-%T`&lt;br /&gt;
&lt;br /&gt;
host1=&amp;quot;imap.asia.secureserver.net&amp;quot;&lt;br /&gt;
&lt;br /&gt;
host1=&amp;quot;mail.blsindia-usa.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
host2=&amp;quot;97.74.118.155&amp;quot;&lt;br /&gt;
&lt;br /&gt;
domain1=&amp;quot;blsindia-usa.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
domain2=&amp;quot;blsinternational.net&amp;quot;&lt;br /&gt;
&lt;br /&gt;
user=`cat /root/blsusadtl`&lt;br /&gt;
&lt;br /&gt;
pass=&amp;quot;BL@#usa14&amp;quot;&lt;br /&gt;
&lt;br /&gt;
for i in $user&lt;br /&gt;
&lt;br /&gt;
do&lt;br /&gt;
&lt;br /&gt;
/usr/bin/imapsync --allowsizemismatch --timeout 60 --host1 $host1 --user1 $i@$domain1  --password1 $pass --host2 $host2 --user2 $i@$domain2 --password2 $pass --noauthmd5 --nosyncacls --subscribe_all --syncinternaldates --regextrans2 &#039;s/Inbox/INBOX/&#039; --regextrans2 &#039;s,\\,/,g&#039; --regextrans2 &#039;s,//,++,g&#039; --skipheader &#039;^X-|^Received|^Content-|^Subject|^References|^Mime|^Cc&#039; --fast --skipsize&lt;br /&gt;
&lt;br /&gt;
if [ $? == 0 ]; then&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot; $i@$domain2 synchronization has been done successfully till $Date .&amp;quot; &amp;gt;&amp;gt; /root/imapblsusa.log&lt;br /&gt;
&lt;br /&gt;
else&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot; $i@$domain2 synchronization has not been done at $Date . Un-successfull&amp;quot; &amp;gt;&amp;gt; /root/imapblsusa.log&lt;br /&gt;
&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
sleep 3&lt;br /&gt;
&lt;br /&gt;
done&lt;br /&gt;
~   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Run this script in backend using screen cammand&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Type screen and then press enter&lt;br /&gt;
&lt;br /&gt;
screen&lt;br /&gt;
&lt;br /&gt;
sh -x imapsync.sh&lt;/div&gt;</summary>
		<author><name>Vijay</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Main_Page/ZimbraHttp2Https&amp;diff=1691</id>
		<title>Main Page/ZimbraHttp2Https</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Main_Page/ZimbraHttp2Https&amp;diff=1691"/>
		<updated>2014-07-19T04:18:31Z</updated>

		<summary type="html">&lt;p&gt;Vijay: Created page with &amp;quot;Category: BLS INTERNATIONAL Category: Zimbra  ====&amp;#039;&amp;#039;&amp;#039;Zimbra Webmail Redirection Http to Https&amp;#039;&amp;#039;&amp;#039;====  Zimbra, is the mail server and webmail service we are offering to...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: BLS INTERNATIONAL]]&lt;br /&gt;
[[Category: Zimbra]]&lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039;Zimbra Webmail Redirection Http to Https&#039;&#039;&#039;====&lt;br /&gt;
&lt;br /&gt;
Zimbra, is the mail server and webmail service we are offering to our customers, it allows several access modes :&lt;br /&gt;
&lt;br /&gt;
    HTTP only&lt;br /&gt;
    HTTPS only&lt;br /&gt;
    A mixed mode of HTTP and HTTPS&lt;br /&gt;
&lt;br /&gt;
For security purposes, the HTTP mode should generally be avoided, login and password informations are sent unencrypted on the network and they can easily be stolen.&lt;br /&gt;
&lt;br /&gt;
Also, we only install the secure &amp;quot;HTTPS&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
To access your webmail, you will have to use this kind of address : &amp;quot;https://webmail.yourdomain.com&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you use the insecure address &amp;quot;http://webmail.yourdomain.com&amp;quot; you will see an error page.&lt;br /&gt;
&lt;br /&gt;
To avoid this default Zimbra&#039;s behavior, we activated the &amp;quot;http&amp;quot; -&amp;gt; &amp;quot;https&amp;quot; redirection, now when you will use the HTTP URL, you will automatically be redirected to the &amp;quot;HTTPS&amp;quot; page.&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Zimbra Redirection Configuration&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@webmail:~# su – zimbra&lt;br /&gt;
&lt;br /&gt;
zimbra@webmail:~$  zmtlsctl redirect&lt;br /&gt;
&lt;br /&gt;
zimbra@webmail:~$  zmcontrol stop&lt;br /&gt;
&lt;br /&gt;
zimbra@webmail:~$  zmcontrol start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The &amp;quot;zmtlsctl&amp;quot; command can have the following parameters &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http – http only&lt;br /&gt;
https – https only, http is denied.&lt;br /&gt;
both – The user can use http:// or https:// and he will stay in the chosen mode for the rest of his connexion. &lt;br /&gt;
mixed – When a user connects using http://, he is redirected to &amp;quot;https&amp;quot;, but only for the log in step, then he returns to the http:// mode. When using https://, the whole session is using https://&lt;br /&gt;
redirect – When connecting using http:// the user is redirected to https:// and continues to use the secure connexion for all his session.&lt;/div&gt;</summary>
		<author><name>Vijay</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=JbossApcheReverseProxy&amp;diff=1676</id>
		<title>JbossApcheReverseProxy</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=JbossApcheReverseProxy&amp;diff=1676"/>
		<updated>2014-07-10T09:36:44Z</updated>

		<summary type="html">&lt;p&gt;Vijay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: CAPITAL BANK]]&lt;br /&gt;
[[Category: Apche Jboss]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&lt;br /&gt;
== Aapche-Jboss Reverse Proxy using mod_proxy ==&lt;br /&gt;
 &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Apache Changes ==&lt;br /&gt;
&lt;br /&gt;
You need to load the mod_ssl module&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
 ServerAdmin vijay@tetrain.com&lt;br /&gt;
 DocumentRoot &amp;quot;/var/www/html&amp;quot;&lt;br /&gt;
 ServerName 192.168.0.58&lt;br /&gt;
 SSLEngine on&lt;br /&gt;
 SSLProxyEngine on&lt;br /&gt;
 SSLCertificateFile &amp;quot;/etc/pki/tls/certs/server.crt&amp;quot;&lt;br /&gt;
 SSLCertificateKeyFile &amp;quot;/etc/pki/tls/private/server.key&amp;quot;&lt;br /&gt;
 ProxyRequests On&lt;br /&gt;
 ProxyPass / http://192.168.0.57:28080/ReachWeb/&lt;br /&gt;
 ProxyPassReverse / http://192.168.0.57:28080/ReachWeb/&lt;br /&gt;
 ErrorLog logs/jboss-error.log&lt;br /&gt;
 CustomLog logs/jboss-access.log common&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 :wq!&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;SELINUX Settings&#039;&#039;&#039; ==&lt;br /&gt;
Run either of following command to allow SELinux to permit httpd&lt;br /&gt;
#setsebool httpd_can_network_connect 1&lt;br /&gt;
#/etc/init.d/httpd restart&lt;br /&gt;
== &#039;&#039;&#039;How to Test&#039;&#039;&#039; ==&lt;br /&gt;
Open web browser and thn open the given link&lt;br /&gt;
https://202.169.35.37&lt;/div&gt;</summary>
		<author><name>Vijay</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=JbossApcheReverseProxy&amp;diff=1675</id>
		<title>JbossApcheReverseProxy</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=JbossApcheReverseProxy&amp;diff=1675"/>
		<updated>2014-07-10T09:32:19Z</updated>

		<summary type="html">&lt;p&gt;Vijay: Created page with &amp;quot;Category: CAPITAL BANK Category: Apche Jboss  &amp;#039;&amp;#039;&amp;#039;Aapche-Jboss Reverse Proxy using mod_proxy &amp;#039;&amp;#039;&amp;#039;  == Apache Changes == You need to load the mod_ssl module  &amp;lt;VirtualHost...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: CAPITAL BANK]]&lt;br /&gt;
[[Category: Apche Jboss]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Aapche-Jboss Reverse Proxy using mod_proxy &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Apache Changes ==&lt;br /&gt;
You need to load the mod_ssl module&lt;br /&gt;
&lt;br /&gt;
&amp;lt;VirtualHost *:443&amp;gt;&lt;br /&gt;
 ServerAdmin vijay@tetrain.com&lt;br /&gt;
 DocumentRoot &amp;quot;/var/www/html&amp;quot;&lt;br /&gt;
 ServerName 192.168.0.58&lt;br /&gt;
 SSLEngine on&lt;br /&gt;
 SSLProxyEngine on&lt;br /&gt;
 SSLCertificateFile &amp;quot;/etc/pki/tls/certs/server.crt&amp;quot;&lt;br /&gt;
 SSLCertificateKeyFile &amp;quot;/etc/pki/tls/private/server.key&amp;quot;&lt;br /&gt;
 ProxyRequests On&lt;br /&gt;
 ProxyPass / http://192.168.0.57:28080/ReachWeb/&lt;br /&gt;
 ProxyPassReverse / http://192.168.0.57:28080/ReachWeb/&lt;br /&gt;
 ErrorLog logs/jboss-error.log&lt;br /&gt;
 CustomLog logs/jboss-access.log common&lt;br /&gt;
&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
:wq!&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;SELINUX Settings&#039;&#039;&#039; ==&lt;br /&gt;
Run either of following command to allow SELinux to permit httpd&lt;br /&gt;
#setsebool httpd_can_network_connect 1&lt;br /&gt;
#/etc/init.d/httpd restart&lt;br /&gt;
== &#039;&#039;&#039;How to Test&#039;&#039;&#039; ==&lt;br /&gt;
Open web browser and thn open the given link&lt;br /&gt;
https://202.169.35.37&lt;/div&gt;</summary>
		<author><name>Vijay</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=GetAllDLUsers&amp;diff=1674</id>
		<title>GetAllDLUsers</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=GetAllDLUsers&amp;diff=1674"/>
		<updated>2014-07-10T09:08:35Z</updated>

		<summary type="html">&lt;p&gt;Vijay: Created page with &amp;quot;Category: OrientBell Category: Zimbra  ====&amp;#039;&amp;#039;&amp;#039;Zimbra Script to get all users email from all DLs&amp;#039;&amp;#039;&amp;#039;====   == Step1 :- Create all the files (like file,file2 etc.. ) give...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: OrientBell]]&lt;br /&gt;
[[Category: Zimbra]]&lt;br /&gt;
&lt;br /&gt;
====&#039;&#039;&#039;Zimbra Script to get all users email from all DLs&#039;&#039;&#039;====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step1 :- Create all the files (like file,file2 etc.. ) given below in the script ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note:--- First get all the DLs (Distributed List) using the below cammand :-&lt;br /&gt;
&lt;br /&gt;
#zmprov -gadl &amp;gt; /tmp/alldl&lt;br /&gt;
&lt;br /&gt;
#touch /tmp/file2&lt;br /&gt;
&lt;br /&gt;
#vim /tmp/dlgetuser.sh&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
file=/tmp/alldl&lt;br /&gt;
file2=/tmp/allmem&lt;br /&gt;
zmprov gadl &amp;gt; $file&lt;br /&gt;
&lt;br /&gt;
for i in `cat $file`&lt;br /&gt;
&lt;br /&gt;
do&lt;br /&gt;
&lt;br /&gt;
echo $i &amp;gt;&amp;gt; $file2&lt;br /&gt;
zmprov gdl $i | grep &amp;quot;zimbraMailForwardingAddress:&amp;quot; | awk {&#039;print $2&#039;} &amp;gt;&amp;gt; $file2&lt;br /&gt;
echo &amp;quot;  &amp;quot; &amp;gt;&amp;gt; $file2&lt;br /&gt;
printf &amp;quot;\n&amp;quot; &amp;gt;&amp;gt; $file2&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
:wq!&lt;br /&gt;
&lt;br /&gt;
== Step2:- Then run the script ==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
#sh -x /tmp/dlgetuser.sh&lt;/div&gt;</summary>
		<author><name>Vijay</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Qmail_Archiving&amp;diff=1673</id>
		<title>Qmail Archiving</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Qmail_Archiving&amp;diff=1673"/>
		<updated>2014-07-10T08:57:32Z</updated>

		<summary type="html">&lt;p&gt;Vijay: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: ENERGO INDIA]]&lt;br /&gt;
[[Category: Qmail Archiving Issue]]&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;&#039;Qmail with Openldap Archiving (Copying an email of incomming and outgonig mails)&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Qmail Archiving Incoming and Outgoing Emails Directly&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
In addition to delivering the messages to their respective user mailboxes, it is recommended to have Qmail send a copy of all emails to an archiving mailbox when archiving incoming and outgoing emails directly. This requires certain changes to be made before compiling the Qmail source code. The following guide is an adapted version of the article &amp;quot;Life with Qmail FAQ&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Step 1: Edit extra.h&#039;&#039;&#039;  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QUEUE_EXTRA is a compile-time configuration variable that specifies an additional recipient that will be added to every delivery. This is used primarily&lt;br /&gt;
for logging; the FAQ describes how to use QUEUE_EXTRA to keep copies of all incoming and outgoing messages.&lt;br /&gt;
&lt;br /&gt;
To use QUEUE_EXTRA, edit extra.h specifying the additional recipient in the format Trecipient\0, and the length of the QUEUE_EXTRA string in &lt;br /&gt;
&lt;br /&gt;
#vim /usr/src/qmail/qmail-1.0.3/extra.h&lt;br /&gt;
&lt;br /&gt;
#define QUEUE_EXTRA &amp;quot;Tlogall\0&amp;quot;&lt;br /&gt;
#define QUEUE_EXTRALEN 8&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Step 2: Recompile Qmail&#039;&#039;&#039;  ==&lt;br /&gt;
&lt;br /&gt;
Shut down Qmail if it&#039;s running. If you installed the qmailctl script from the Installation section, this can be done by:&lt;br /&gt;
&lt;br /&gt;
 #qmailctl stop&lt;br /&gt;
# vim /etc/inittab ; init q&lt;br /&gt;
#SV:123456:respawn:/command/svscanboot    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Step 3: Recompiling qmail server&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
Go to the source code directory of the Qmail installation and rebuild Qmail using:&lt;br /&gt;
&lt;br /&gt;
#make setup check&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Step 4:-- ldap entry for incoming ang outgoging mail store&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
We have to mapped an email id with that receipent id that we had define in extra.h. After that all the incomming and outgoing mails will start saving in &lt;br /&gt;
user&#039;s mailbox. We have to add recepient id as mailAlternativeaddress like :--&lt;br /&gt;
&lt;br /&gt;
dn: uid=logall,ou=energoindia.com,dc=energoindia,dc=com&lt;br /&gt;
mailHost: mail.energoindia.com&lt;br /&gt;
mailAlternateAddress: logall@mail.energoindia.com&lt;br /&gt;
objectClass: top&lt;br /&gt;
objectClass: inetOrgPerson&lt;br /&gt;
objectClass: qmailUser&lt;br /&gt;
cn: logall&lt;br /&gt;
sn: logall&lt;br /&gt;
mail: logall@energoindia.com&lt;br /&gt;
accountStatus: active&lt;br /&gt;
mailMessageStore: energoindia.com/logall&lt;br /&gt;
uid: logall&lt;br /&gt;
deliveryMode: noforward&lt;br /&gt;
userPassword:: e0NSWVBUfXA5R1NiVUVEeGlDUFU=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;Step -5 Final confirmation checking logs&#039;&#039;&#039; ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#tail -f /var/log/qmail/qmail-send/current | tai64nlocal&lt;br /&gt;
&lt;br /&gt;
2014-06-06 11:42:21.755945500 info msg 21168597: bytes 431477 from &amp;lt;shankar.ivaturi@energoindia.com&amp;gt; qp 19258 uid 510&lt;br /&gt;
2014-06-06 11:42:21.755965500 starting delivery 8028: msg 21168597 to local logall@mail.energoindia.com&lt;br /&gt;
2014-06-06 11:42:21.755974500 status: local 1/10 remote 13/255&lt;br /&gt;
2014-06-06 11:42:21.755992500 starting delivery 8029: msg 21168597 to local kondawar.vivek@energoindia.com&lt;br /&gt;
2014-06-06 11:42:21.756000500 status: local 2/10 remote 13/255&lt;br /&gt;
2014-06-06 11:42:21.770408500 delivery 8028: success: did_1+0+0/&lt;br /&gt;
2014-06-06 11:42:21.770426500 status: local 1/10 remote 13/255&lt;br /&gt;
2014-06-06 11:42:21.770451500 delivery 8029: success: did_1+0+0/&lt;br /&gt;
2014-06-06 11:42:21.770498500 status: local 0/10 remote 13/255&lt;br /&gt;
2014-06-06 11:42:21.770527500 end msg 21168597&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Refreances :- [http://en.help.mailstore.com/Archiving_Emails_from_a_Qmail_Based_Email_Server]&lt;/div&gt;</summary>
		<author><name>Vijay</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=ZimbraMailQuota&amp;diff=1670</id>
		<title>ZimbraMailQuota</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=ZimbraMailQuota&amp;diff=1670"/>
		<updated>2014-07-10T08:52:14Z</updated>

		<summary type="html">&lt;p&gt;Vijay: /* Zimbra Mail Quota in MB */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category:Heromotocorp Biz]]&lt;br /&gt;
[[category:Tetra Clients]]&lt;br /&gt;
&lt;br /&gt;
[[Category: HERO MOTO CORP]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Zimbra Mail Quota]]&lt;br /&gt;
&lt;br /&gt;
== &#039;&#039;&#039;&#039;&#039;&#039;Zimbra Mail Quota in MB&#039;&#039;&#039;&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
Create a new file having extension .sh and use the code below mentioned :-&lt;br /&gt;
&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 output=&amp;quot;/root/accountusage&amp;quot;&lt;br /&gt;
 domain=&amp;quot;heromotocorp.biz&amp;quot;&lt;br /&gt;
 touch $output&lt;br /&gt;
 server=`hostname`&lt;br /&gt;
 /opt/zimbra/bin/zmprov gqu $server|grep $domain|awk {&#039;print $1&amp;quot; &amp;quot;$3&amp;quot; &amp;quot;$2&#039;}|sort|while read line&lt;br /&gt;
 do&lt;br /&gt;
 usage=`echo $line|cut -f2 -d &amp;quot; &amp;quot;`&lt;br /&gt;
 quota=`echo $line|cut -f3 -d &amp;quot; &amp;quot;`&lt;br /&gt;
 user=`echo $line|cut -f1 -d &amp;quot; &amp;quot;`&lt;br /&gt;
 status=`/opt/zimbra/bin/zmprov ga $user | grep  ^zimbraAccountStatus | cut -f2 -d &amp;quot; &amp;quot;`&lt;br /&gt;
 echo &amp;quot;$user `expr $usage / 1024 / 1024`Mb `expr $quota / 1024 / 1024`Mb ($status account)&amp;quot; &amp;gt;&amp;gt; $output&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
:wq!&lt;br /&gt;
&lt;br /&gt;
========================================================================================================================================================&lt;br /&gt;
 ==&#039;&#039;&#039;How to run this script&#039;&#039;&#039;==&lt;br /&gt;
&lt;br /&gt;
Create a file first /root/accountusage and then perform the given steps :-&lt;br /&gt;
&lt;br /&gt;
Save the file and then execute the cammand :-&lt;br /&gt;
&lt;br /&gt;
 #sh -x name.sh&lt;br /&gt;
&lt;br /&gt;
========================================================================================================================================================&lt;/div&gt;</summary>
		<author><name>Vijay</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=ZimbraMailQuota&amp;diff=1624</id>
		<title>ZimbraMailQuota</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=ZimbraMailQuota&amp;diff=1624"/>
		<updated>2014-06-06T06:44:33Z</updated>

		<summary type="html">&lt;p&gt;Vijay: /* Zimbra Mail Quota in MB */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Zimbra Mail Quota in MB ==&lt;br /&gt;
&lt;br /&gt;
Create a new file having extension .sh and use the code below mentioned :-&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
output=&amp;quot;/root/accountusage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
domain=&amp;quot;heromotocorp.biz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
touch $output&lt;br /&gt;
&lt;br /&gt;
server=`hostname`&lt;br /&gt;
&lt;br /&gt;
/opt/zimbra/bin/zmprov gqu $server|grep $domain|awk {&#039;print $1&amp;quot; &amp;quot;$3&amp;quot; &amp;quot;$2&#039;}|sort|while read line&lt;br /&gt;
&lt;br /&gt;
do&lt;br /&gt;
&lt;br /&gt;
usage=`echo $line|cut -f2 -d &amp;quot; &amp;quot;`&lt;br /&gt;
&lt;br /&gt;
quota=`echo $line|cut -f3 -d &amp;quot; &amp;quot;`&lt;br /&gt;
&lt;br /&gt;
user=`echo $line|cut -f1 -d &amp;quot; &amp;quot;`&lt;br /&gt;
&lt;br /&gt;
status=`/opt/zimbra/bin/zmprov ga $user | grep  ^zimbraAccountStatus | cut -f2 -d &amp;quot; &amp;quot;`&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;$user `expr $usage / 1024 / 1024`Mb `expr $quota / 1024 / 1024`Mb ($status account)&amp;quot; &amp;gt;&amp;gt; $output&lt;br /&gt;
&lt;br /&gt;
done&lt;br /&gt;
========================================================================================================================================================&lt;br /&gt;
&lt;br /&gt;
Save the file and then execute the cammand :-&lt;br /&gt;
&lt;br /&gt;
#sh -x name.sh&lt;br /&gt;
&lt;br /&gt;
========================================================================================================================================================&lt;/div&gt;</summary>
		<author><name>Vijay</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Qmail_Archiving&amp;diff=1623</id>
		<title>Qmail Archiving</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Qmail_Archiving&amp;diff=1623"/>
		<updated>2014-06-06T06:36:37Z</updated>

		<summary type="html">&lt;p&gt;Vijay: Archiving_Emails_from_a_Qmail_Openldap_Based_Email_Server&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;###################### QMail with Openldap Archiving (Copying an email of incomming and outgonig mails) ##################&lt;br /&gt;
&lt;br /&gt;
**************** Qmail Archiving Incoming and Outgoing Emails Directly******************************************************************&lt;br /&gt;
&lt;br /&gt;
In addition to delivering the messages to their respective user mailboxes, it is recommended to have Qmail send a copy of all emails to an archiving&lt;br /&gt;
mailbox when archiving incoming and outgoing emails directly. This requires certain changes to be made before compiling the Qmail source code. The&lt;br /&gt;
following guide is an adapted version of the article &amp;quot;Life with Qmail FAQ&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step 1: Edit extra.h  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QUEUE_EXTRA is a compile-time configuration variable that specifies an additional recipient that will be added to every delivery. This is used primarily&lt;br /&gt;
for logging; the FAQ describes how to use QUEUE_EXTRA to keep copies of all incoming and outgoing messages.&lt;br /&gt;
&lt;br /&gt;
To use QUEUE_EXTRA, edit extra.h specifying the additional recipient in the format Trecipient\0, and the length of the QUEUE_EXTRA string in &lt;br /&gt;
&lt;br /&gt;
#vim /usr/src/qmail/qmail-1.0.3/extra.h&lt;br /&gt;
&lt;br /&gt;
#define QUEUE_EXTRA &amp;quot;Tlogall\0&amp;quot;&lt;br /&gt;
#define QUEUE_EXTRALEN 8&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step 2: Recompile Qmail  ==&lt;br /&gt;
&lt;br /&gt;
Shut down Qmail if it&#039;s running. If you installed the qmailctl script from the Installation section, this can be done by:&lt;br /&gt;
&lt;br /&gt;
 #qmailctl stop&lt;br /&gt;
# vim /etc/inittab ; init q&lt;br /&gt;
#SV:123456:respawn:/command/svscanboot    &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step 3: Recompiling qmail server==&lt;br /&gt;
&lt;br /&gt;
Go to the source code directory of the Qmail installation and rebuild Qmail using:&lt;br /&gt;
&lt;br /&gt;
#make setup check&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step 4:-- ldap entry for incoming ang outgoging mail store :- ==&lt;br /&gt;
&lt;br /&gt;
We have to mapped an email id with that receipent id that we had define in extra.h. After that all the incomming and outgoing mails will start saving in &lt;br /&gt;
user&#039;s mailbox. We have to add recepient id as mailAlternativeaddress like :--&lt;br /&gt;
&lt;br /&gt;
dn: uid=logall,ou=energoindia.com,dc=energoindia,dc=com&lt;br /&gt;
mailHost: mail.energoindia.com&lt;br /&gt;
mailAlternateAddress: logall@mail.energoindia.com&lt;br /&gt;
objectClass: top&lt;br /&gt;
objectClass: inetOrgPerson&lt;br /&gt;
objectClass: qmailUser&lt;br /&gt;
cn: logall&lt;br /&gt;
sn: logall&lt;br /&gt;
mail: logall@energoindia.com&lt;br /&gt;
accountStatus: active&lt;br /&gt;
mailMessageStore: energoindia.com/logall&lt;br /&gt;
uid: logall&lt;br /&gt;
deliveryMode: noforward&lt;br /&gt;
userPassword:: e0NSWVBUfXA5R1NiVUVEeGlDUFU=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Step -5 Final confirmation checking logs ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#tail -f /var/log/qmail/qmail-send/current | tai64nlocal&lt;br /&gt;
&lt;br /&gt;
2014-06-06 11:42:21.755945500 info msg 21168597: bytes 431477 from &amp;lt;shankar.ivaturi@energoindia.com&amp;gt; qp 19258 uid 510&lt;br /&gt;
2014-06-06 11:42:21.755965500 starting delivery 8028: msg 21168597 to local logall@mail.energoindia.com&lt;br /&gt;
2014-06-06 11:42:21.755974500 status: local 1/10 remote 13/255&lt;br /&gt;
2014-06-06 11:42:21.755992500 starting delivery 8029: msg 21168597 to local kondawar.vivek@energoindia.com&lt;br /&gt;
2014-06-06 11:42:21.756000500 status: local 2/10 remote 13/255&lt;br /&gt;
2014-06-06 11:42:21.770408500 delivery 8028: success: did_1+0+0/&lt;br /&gt;
2014-06-06 11:42:21.770426500 status: local 1/10 remote 13/255&lt;br /&gt;
2014-06-06 11:42:21.770451500 delivery 8029: success: did_1+0+0/&lt;br /&gt;
2014-06-06 11:42:21.770498500 status: local 0/10 remote 13/255&lt;br /&gt;
2014-06-06 11:42:21.770527500 end msg 21168597&lt;br /&gt;
&lt;br /&gt;
#########################################################################################################&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Refreances :- [http://en.help.mailstore.com/Archiving_Emails_from_a_Qmail_Based_Email_Server]&lt;/div&gt;</summary>
		<author><name>Vijay</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=ZimbraMailQuota&amp;diff=1618</id>
		<title>ZimbraMailQuota</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=ZimbraMailQuota&amp;diff=1618"/>
		<updated>2014-05-21T15:08:59Z</updated>

		<summary type="html">&lt;p&gt;Vijay: Script to get all Zimbra User&amp;#039;s Mail Quota size in MB&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Zimbra Mail Quota in MB ==&lt;br /&gt;
&lt;br /&gt;
Create a new file having extension .sh and use the code below mentioned :-&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
output=&amp;quot;/root/accountusage&amp;quot;&lt;br /&gt;
&lt;br /&gt;
domain=&amp;quot;heromotocorp.biz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
touch $output&lt;br /&gt;
&lt;br /&gt;
server=`hostname`&lt;br /&gt;
&lt;br /&gt;
/opt/zimbra/bin/zmprov gqu $server|grep $domain|awk {&#039;print $1&amp;quot; &amp;quot;$3&amp;quot; &amp;quot;$2&#039;}|sort|while read line&lt;br /&gt;
do&lt;br /&gt;
&lt;br /&gt;
usage=`echo $line|cut -f2 -d &amp;quot; &amp;quot;`&lt;br /&gt;
&lt;br /&gt;
quota=`echo $line|cut -f3 -d &amp;quot; &amp;quot;`&lt;br /&gt;
&lt;br /&gt;
user=`echo $line|cut -f1 -d &amp;quot; &amp;quot;`&lt;br /&gt;
&lt;br /&gt;
status=`/opt/zimbra/bin/zmprov ga $user | grep  ^zimbraAccountStatus | cut -f2 -d &amp;quot; &amp;quot;`&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;$user `expr $usage / 1024 / 1024`Mb `expr $quota / 1024 / 1024`Mb ($status account)&amp;quot; &amp;gt;&amp;gt; $output&lt;br /&gt;
&lt;br /&gt;
done&lt;br /&gt;
========================================================================================================================================================&lt;br /&gt;
&lt;br /&gt;
Save the file and then execute the cammand :-&lt;br /&gt;
&lt;br /&gt;
#sh -x name.sh&lt;br /&gt;
&lt;br /&gt;
========================================================================================================================================================&lt;/div&gt;</summary>
		<author><name>Vijay</name></author>
	</entry>
</feed>