<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=GetAllDLUsers</id>
	<title>GetAllDLUsers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=GetAllDLUsers"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=GetAllDLUsers&amp;action=history"/>
	<updated>2026-07-25T08:17:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=GetAllDLUsers&amp;diff=1690&amp;oldid=prev</id>
		<title>Biswajit at 16:17, 14 July 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=GetAllDLUsers&amp;diff=1690&amp;oldid=prev"/>
		<updated>2014-07-14T16:17:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:17, 14 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;OrientBell&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Orient Bell&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Zimbra]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Zimbra]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Biswajit</name></author>
	</entry>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=GetAllDLUsers&amp;diff=1674&amp;oldid=prev</id>
		<title>Vijay: Created page with &quot;Category: OrientBell Category: Zimbra  ====&#039;&#039;&#039;Zimbra Script to get all users email from all DLs&#039;&#039;&#039;====   == Step1 :- Create all the files (like file,file2 etc.. ) give...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=GetAllDLUsers&amp;diff=1674&amp;oldid=prev"/>
		<updated>2014-07-10T09:08:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:OrientBell&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:OrientBell (page does not exist)&quot;&gt;Category: OrientBell&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:Zimbra&quot; title=&quot;Category:Zimbra&quot;&gt;Category: Zimbra&lt;/a&gt;  ====&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;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category: OrientBell]]&lt;br /&gt;
[[Category: Zimbra]]&lt;br /&gt;
&lt;br /&gt;
====&amp;#039;&amp;#039;&amp;#039;Zimbra Script to get all users email from all DLs&amp;#039;&amp;#039;&amp;#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 {&amp;#039;print $2&amp;#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>
</feed>