Zimbra Command line help


Hello Sirs,

Good Evening.

I am running ZCS. Now if I want to filter out the inactive users from last 6 months, who have not used the mail service, via command line, is it possible ?

Thanks in advance.


Best regards,
Vishal Girish Joshi

Zimbra Command line help

Hi,

Yes it's possible....better you check Zimbra wiki or zimbra forum for the same.

Thanks,
Punit Dambiwal


On Mon, Jun 13, 2011 at 4:49 PM, Vishal Joshi <vishalintel@gmail.com> wrote:


Hello Sirs,

Good Evening.

I am running ZCS. Now if I want to filter out the inactive users from last 6 months, who have not used the mail service, via command line, is it possible ?


Thanks in advance.


Best regards,
Vishal Girish Joshi




--
Thanks & Regards,

Punit Dambiwal
http://www.unixsurgeon.com
RedHat Certified Engineer 

Sr. Linux Administrator

HostRightNow Technologies Pvt Ltd.
Website: http://www.hostrightnow.com/
Mobile :- 09314239083



Zimbra Command line help


Dear Punit,

I just checked the zimbra admin guide and command 'zmprov gaa' which will list all the accounts and their configurations. But when i am running this command, the result is as below :

[zimbra@mail1 root]$ zmprov gaa -v <mydomain>.com

ERROR: service.INVALID_REQUEST (invalid request: can only be used with  "zmprov -l/--ldap")

Any idea why is it giving such error ?


Best regards,
Vishal Girish Joshi


On Mon, Jun 13, 2011 at 7:45 PM, punit dambiwal <meet2punit@gmail.com> wrote:

Hi,

Yes it's possible....better you check Zimbra wiki or zimbra forum for the same.

Thanks,
Punit Dambiwal


On Mon, Jun 13, 2011 at 4:49 PM, Vishal Joshi <vishalintel@gmail.com> wrote:


Hello Sirs,

Good Evening.

I am running ZCS. Now if I want to filter out the inactive users from last 6 months, who have not used the mail service, via command line, is it possible ?


Thanks in advance.


Best regards,
Vishal Girish Joshi




--
Thanks & Regards,

Punit Dambiwal
http://www.unixsurgeon.com
RedHat Certified Engineer 


Sr. Linux Administrator

HostRightNow Technologies Pvt Ltd.
Website: http://www.hostrightnow.com/
Mobile :- 09314239083




Zimbra Command line help

Hello,

Instead of zmprov gaa use zmprov -l gaa it will work

Hope this helps you.

--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com
Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com

"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?
Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone
















From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:03:19 +0530
To: <vglug@googlegroups.com>
Subject: Re: [VGLUG] Zimbra Command line help



Dear Punit,

I just checked the zimbra admin guide and command 'zmprov gaa' which will list all the accounts and their configurations. But when i am running this command, the result is as below :

[zimbra@mail1 root]$ zmprov gaa -v <mydomain>.com

ERROR: service.INVALID_REQUEST (invalid request: can only be used with  "zmprov -l/--ldap")

Any idea why is it giving such error ?


Best regards,
Vishal Girish Joshi


On Mon, Jun 13, 2011 at 7:45 PM, punit dambiwal <meet2punit@gmail.com> wrote:

Hi,

Yes it's possible....better you check Zimbra wiki or zimbra forum for the same.

Thanks,
Punit Dambiwal


On Mon, Jun 13, 2011 at 4:49 PM, Vishal Joshi <vishalintel@gmail.com> wrote:


Hello Sirs,

Good Evening.

I am running ZCS. Now if I want to filter out the inactive users from last 6 months, who have not used the mail service, via command line, is it possible ?


Thanks in advance.


Best regards,
Vishal Girish Joshi




--
Thanks & Regards,

Punit Dambiwal
http://www.unixsurgeon.com
RedHat Certified Engineer 


Sr. Linux Administrator

HostRightNow Technologies Pvt Ltd.
Website: http://www.hostrightnow.com/
Mobile :- 09314239083








Zimbra Command line help


Dear Tejas Sir,

This command certainly helps. :)

I have just tried this command and it lists me all the users. But sir now i want to find out the users who are inactive since last 6 months. My purpose is to deactivate the inactive users. So sir how do i achieve this ?



Best regards,
Vishal Girish Joshi




On Tue, Jun 14, 2011 at 10:05 AM, Tejas Barot <networking.dept@gmail.com> wrote:

Hello,

Instead of zmprov gaa use zmprov -l gaa it will work

Hope this helps you.

--
Thanks & Regards,

Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com

Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com


"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?
Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone


From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:03:19 +0530
Subject: Re: [VGLUG] Zimbra Command line help


Dear Punit,

I just checked the zimbra admin guide and command 'zmprov gaa' which will list all the accounts and their configurations. But when i am running this command, the result is as below :


[zimbra@mail1 root]$ zmprov gaa -v <mydomain>.com

ERROR: service.INVALID_REQUEST (invalid request: can only be used with  "zmprov -l/--ldap")

Any idea why is it giving such error ?


Best regards,
Vishal Girish Joshi


On Mon, Jun 13, 2011 at 7:45 PM, punit dambiwal <meet2punit@gmail.com> wrote:

Hi,

Yes it's possible....better you check Zimbra wiki or zimbra forum for the same.

Thanks,
Punit Dambiwal


On Mon, Jun 13, 2011 at 4:49 PM, Vishal Joshi <vishalintel@gmail.com> wrote:


Hello Sirs,

Good Evening.

I am running ZCS. Now if I want to filter out the inactive users from last 6 months, who have not used the mail service, via command line, is it possible ?


Thanks in advance.


Best regards,
Vishal Girish Joshi




--
Thanks & Regards,

Punit Dambiwal
http://www.unixsurgeon.com
RedHat Certified Engineer 


Sr. Linux Administrator

HostRightNow Technologies Pvt Ltd.
Website: http://www.hostrightnow.com/
Mobile :- 09314239083





Zimbra Command line help

Hi,

This will help you....Check @ArcaneMagus reply.





On Tue, Jun 14, 2011 at 10:10 AM, Vishal Joshi <vishalintel@gmail.com> wrote:


Dear Tejas Sir,

This command certainly helps. :)

I have just tried this command and it lists me all the users. But sir now i want to find out the users who are inactive since last 6 months. My purpose is to deactivate the inactive users. So sir how do i achieve this ?



Best regards,
Vishal Girish Joshi



On Tue, Jun 14, 2011 at 10:05 AM, Tejas Barot <networking.dept@gmail.com> wrote:

Hello,

Instead of zmprov gaa use zmprov -l gaa it will work

Hope this helps you.

--
Thanks & Regards,

Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com

Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com


"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?
Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone


From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:03:19 +0530
Subject: Re: [VGLUG] Zimbra Command line help


Dear Punit,

I just checked the zimbra admin guide and command 'zmprov gaa' which will list all the accounts and their configurations. But when i am running this command, the result is as below :


[zimbra@mail1 root]$ zmprov gaa -v <mydomain>.com

ERROR: service.INVALID_REQUEST (invalid request: can only be used with  "zmprov -l/--ldap")

Any idea why is it giving such error ?


 


Best regards,
Vishal Girish Joshi


On Mon, Jun 13, 2011 at 7:45 PM, punit dambiwal <meet2punit@gmail.com> wrote:

Hi,

Yes it's possible....better you check Zimbra wiki or zimbra forum for the same.

Thanks,
Punit Dambiwal


On Mon, Jun 13, 2011 at 4:49 PM, Vishal Joshi <vishalintel@gmail.com> wrote:


Hello Sirs,

Good Evening.

I am running ZCS. Now if I want to filter out the inactive users from last 6 months, who have not used the mail service, via command line, is it possible ?


Thanks in advance.


Best regards,
Vishal Girish Joshi






--
Thanks & Regards,

Punit Dambiwal
http://www.unixsurgeon.com
RedHat Certified Engineer 


Sr. Linux Administrator

HostRightNow Technologies Pvt Ltd.
Website: http://www.hostrightnow.com/
Mobile :- 09314239083









--





To stop receiving emails from this group, mail to VGLUG+unsubscribe@googlegroups.com







--
Regards,


Piyush M Sharma
My Linux Blog

RedHat Certified Engineer 
09413194321

Linux Administrator


http://in.linkedin.com/in/linuxboy

Skype Id :- piyushbmap

Zimbra Command line help

you can get a list of active user with below command

zmprov ga admin@yourdomain.com | grep active



and for inactive

zmprov ga admin@yourdomain.com | grep -v active



On Tue, Jun 14, 2011 at 10:39 AM, Piyush Sharma <piyushmap@gmail.com> wrote:

Hi,

This will help you....Check @ArcaneMagus reply.





On Tue, Jun 14, 2011 at 10:10 AM, Vishal Joshi <vishalintel@gmail.com> wrote:


Dear Tejas Sir,

This command certainly helps. :)

I have just tried this command and it lists me all the users. But sir now i want to find out the users who are inactive since last 6 months. My purpose is to deactivate the inactive users. So sir how do i achieve this ?




Best regards,
Vishal Girish Joshi



On Tue, Jun 14, 2011 at 10:05 AM, Tejas Barot <networking.dept@gmail.com> wrote:

Hello,

Instead of zmprov gaa use zmprov -l gaa it will work

Hope this helps you.

--
Thanks & Regards,

Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com

Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com


"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?
Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone


From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:03:19 +0530
Subject: Re: [VGLUG] Zimbra Command line help


Dear Punit,

I just checked the zimbra admin guide and command 'zmprov gaa' which will list all the accounts and their configurations. But when i am running this command, the result is as below :


[zimbra@mail1 root]$ zmprov gaa -v <mydomain>.com

ERROR: service.INVALID_REQUEST (invalid request: can only be used with  "zmprov -l/--ldap")

Any idea why is it giving such error ?


 


Best regards,
Vishal Girish Joshi


On Mon, Jun 13, 2011 at 7:45 PM, punit dambiwal <meet2punit@gmail.com> wrote:

Hi,

Yes it's possible....better you check Zimbra wiki or zimbra forum for the same.

Thanks,
Punit Dambiwal


On Mon, Jun 13, 2011 at 4:49 PM, Vishal Joshi <vishalintel@gmail.com> wrote:


Hello Sirs,

Good Evening.

I am running ZCS. Now if I want to filter out the inactive users from last 6 months, who have not used the mail service, via command line, is it possible ?


Thanks in advance.


Best regards,
Vishal Girish Joshi






--
Thanks & Regards,

Punit Dambiwal
http://www.unixsurgeon.com
RedHat Certified Engineer 


Sr. Linux Administrator

HostRightNow Technologies Pvt Ltd.
Website: http://www.hostrightnow.com/
Mobile :- 09314239083













--
Regards,


Piyush M Sharma
My Linux Blog

RedHat Certified Engineer 
09413194321

Linux Administrator


http://in.linkedin.com/in/linuxboy

Skype Id :- piyushbmap





--
Regards
SHAM P. ARSIWALA.
RHCSA, RHCE, RHCVA
M.: 9099099855, 9327247499.
ElectroMech Corporation
RHCE RHCSS RHCA Training Center.
www.electromech.info

Zimbra Command line help

Hello,

See you can easily achive this from Admin console, I hope you are aware of it from Admin Console.

If you want to do from CLI then first get the list of all users with zmprov -l gaa and then write a for loop and grep it with word "active" so you'll able to achive it.

Hope this helps.

--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com
Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com

"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?
Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone
















From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:10:30 +0530
To: <vglug@googlegroups.com>
Subject: Re: [VGLUG] Zimbra Command line help



Dear Tejas Sir,

This command certainly helps. :)

I have just tried this command and it lists me all the users. But sir now i want to find out the users who are inactive since last 6 months. My purpose is to deactivate the inactive users. So sir how do i achieve this ?



Best regards,
Vishal Girish Joshi




On Tue, Jun 14, 2011 at 10:05 AM, Tejas Barot <networking.dept@gmail.com> wrote:

Hello,

Instead of zmprov gaa use zmprov -l gaa it will work

Hope this helps you.

--
Thanks & Regards,

Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com

Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com


"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?
Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone


From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:03:19 +0530
Subject: Re: [VGLUG] Zimbra Command line help


Dear Punit,

I just checked the zimbra admin guide and command 'zmprov gaa' which will list all the accounts and their configurations. But when i am running this command, the result is as below :


[zimbra@mail1 root]$ zmprov gaa -v <mydomain>.com

ERROR: service.INVALID_REQUEST (invalid request: can only be used with  "zmprov -l/--ldap")

Any idea why is it giving such error ?


Best regards,
Vishal Girish Joshi


On Mon, Jun 13, 2011 at 7:45 PM, punit dambiwal <meet2punit@gmail.com> wrote:

Hi,

Yes it's possible....better you check Zimbra wiki or zimbra forum for the same.

Thanks,
Punit Dambiwal


On Mon, Jun 13, 2011 at 4:49 PM, Vishal Joshi <vishalintel@gmail.com> wrote:


Hello Sirs,

Good Evening.

I am running ZCS. Now if I want to filter out the inactive users from last 6 months, who have not used the mail service, via command line, is it possible ?







Thanks in advance.


Best regards,
Vishal Girish Joshi




--
Thanks & Regards,

Punit Dambiwal
http://www.unixsurgeon.com
RedHat Certified Engineer 


Sr. Linux Administrator

HostRightNow Technologies Pvt Ltd.
Website: http://www.hostrightnow.com/
Mobile :- 09314239083





Zimbra Command line help


Dear Tejas Sir,

Yes sir, from admin console i am able to view the inactive, but it gives me inactivation list upto 90 days. I checked that many of the users are not active since more than six months.

Dear Sham Sir,


Sir is there any command that will perform the test for all the users in my domain ?
As i have around 400 users in my domain, running this command for every user is not possible. So i am looking for the command that will grep all the inactive users with more than 150 or 180 days.


Also, Sir I came a command ' zmaccts ', that is showing me some weird output today. yesterday it was showing blank result. Today the error is :

[zimbra@mail1 root]$ zmaccts
ldap_start_tls: Connect error (-11)

        additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (unable to get local issuer certificate)
ldap_result: Can't contact LDAP server (-1)


Best regards,

Vishal Girish Joshi


On Tue, Jun 14, 2011 at 10:15 AM, Tejas Barot <networking.dept@gmail.com> wrote:

Hello,

See you can easily achive this from Admin console, I hope you are aware of it from Admin Console.

If you want to do from CLI then first get the list of all users with zmprov -l gaa and then write a for loop and grep it with word "active" so you'll able to achive it.


Hope this helps.

--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com

Open Source :- http://opensource.ask4itsolutions.com
Planet VGLUG :- http://planet-vglug.ask4itsolutions.com

Linux Quotes :- http://linux-quotes.ask4itsolutions.com

"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?

Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586


Sent on my BlackBerry® from Vodafone


From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:10:30 +0530
Subject: Re: [VGLUG] Zimbra Command line help


Dear Tejas Sir,

This command certainly helps. :)

I have just tried this command and it lists me all the users. But sir now i want to find out the users who are inactive since last 6 months. My purpose is to deactivate the inactive users. So sir how do i achieve this ?



Best regards,
Vishal Girish Joshi




On Tue, Jun 14, 2011 at 10:05 AM, Tejas Barot <networking.dept@gmail.com> wrote:

Hello,

Instead of zmprov gaa use zmprov -l gaa it will work

Hope this helps you.

--
Thanks & Regards,

Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com

Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com


"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?
Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone


From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:03:19 +0530
Subject: Re: [VGLUG] Zimbra Command line help


Dear Punit,

I just checked the zimbra admin guide and command 'zmprov gaa' which will list all the accounts and their configurations. But when i am running this command, the result is as below :


[zimbra@mail1 root]$ zmprov gaa -v <mydomain>.com

ERROR: service.INVALID_REQUEST (invalid request: can only be used with  "zmprov -l/--ldap")

Any idea why is it giving such error ?


Best regards,
Vishal Girish Joshi


On Mon, Jun 13, 2011 at 7:45 PM, punit dambiwal <meet2punit@gmail.com> wrote:

Hi,

Yes it's possible....better you check Zimbra wiki or zimbra forum for the same.

Thanks,
Punit Dambiwal


On Mon, Jun 13, 2011 at 4:49 PM, Vishal Joshi <vishalintel@gmail.com> wrote:


Hello Sirs,

Good Evening.

I am running ZCS. Now if I want to filter out the inactive users from last 6 months, who have not used the mail service, via command line, is it possible ?


Thanks in advance.


Best regards,
Vishal Girish Joshi




--
Thanks & Regards,

Punit Dambiwal
http://www.unixsurgeon.com
RedHat Certified Engineer 


Sr. Linux Administrator

HostRightNow Technologies Pvt Ltd.
Website: http://www.hostrightnow.com/
Mobile :- 09314239083






Zimbra Command line help

Hello,

Have set your account status time period ? If not, it will only shows the account status as default time period so first you have to set its login time stamp period.

Search your queries regarding zimbra on zimbra's forum it will helps you better and you'll able to find answers quickly.

--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com
Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com

"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?
Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone
















From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 11:27:18 +0530
To: <vglug@googlegroups.com>
Subject: Re: [VGLUG] Zimbra Command line help



Dear Tejas Sir,

Yes sir, from admin console i am able to view the inactive, but it gives me inactivation list upto 90 days. I checked that many of the users are not active since more than six months.

Dear Sham Sir,


Sir is there any command that will perform the test for all the users in my domain ?
As i have around 400 users in my domain, running this command for every user is not possible. So i am looking for the command that will grep all the inactive users with more than 150 or 180 days.


Also, Sir I came a command ' zmaccts ', that is showing me some weird output today. yesterday it was showing blank result. Today the error is :

[zimbra@mail1 root]$ zmaccts
ldap_start_tls: Connect error (-11)

        additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (unable to get local issuer certificate)
ldap_result: Can't contact LDAP server (-1)


Best regards,

Vishal Girish Joshi


On Tue, Jun 14, 2011 at 10:15 AM, Tejas Barot <networking.dept@gmail.com> wrote:

Hello,

See you can easily achive this from Admin console, I hope you are aware of it from Admin Console.

If you want to do from CLI then first get the list of all users with zmprov -l gaa and then write a for loop and grep it with word "active" so you'll able to achive it.


Hope this helps.

--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com

Open Source :- http://opensource.ask4itsolutions.com
Planet VGLUG :- http://planet-vglug.ask4itsolutions.com

Linux Quotes :- http://linux-quotes.ask4itsolutions.com

"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?

Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586


Sent on my BlackBerry® from Vodafone


From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:10:30 +0530
Subject: Re: [VGLUG] Zimbra Command line help


Dear Tejas Sir,

This command certainly helps. :)

I have just tried this command and it lists me all the users. But sir now i want to find out the users who are inactive since last 6 months. My purpose is to deactivate the inactive users. So sir how do i achieve this ?



Best regards,
Vishal Girish Joshi




On Tue, Jun 14, 2011 at 10:05 AM, Tejas Barot <networking.dept@gmail.com> wrote:

Hello,

Instead of zmprov gaa use zmprov -l gaa it will work

Hope this helps you.

--
Thanks & Regards,

Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com

Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com


"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?
Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone


From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:03:19 +0530
Subject: Re: [VGLUG] Zimbra Command line help


Dear Punit,

I just checked the zimbra admin guide and command 'zmprov gaa' which will list all the accounts and their configurations. But when i am running this command, the result is as below :


[zimbra@mail1 root]$ zmprov gaa -v <mydomain>.com

ERROR: service.INVALID_REQUEST (invalid request: can only be used with  "zmprov -l/--ldap")

Any idea why is it giving such error ?


Best regards,
Vishal Girish Joshi


On Mon, Jun 13, 2011 at 7:45 PM, punit dambiwal <meet2punit@gmail.com> wrote:

Hi,

Yes it's possible....better you check Zimbra wiki or zimbra forum for the same.

Thanks,
Punit Dambiwal


On Mon, Jun 13, 2011 at 4:49 PM, Vishal Joshi <vishalintel@gmail.com> wrote:


Hello Sirs,

Good Evening.

I am running ZCS. Now if I want to filter out the inactive users from last 6 months, who have not used the mail service, via command line, is it possible ?


Thanks in advance.


Best regards,
Vishal Girish Joshi




--
Thanks & Regards,

Punit Dambiwal
http://www.unixsurgeon.com
RedHat Certified Engineer 


Sr. Linux Administrator

HostRightNow Technologies Pvt Ltd.
Website: http://www.hostrightnow.com/
Mobile :- 09314239083











Zimbra Command line help

Hi,


This message is related to LDAP have you configured zimbra with LDAP support. I don't think so.

Thanks,
Kandarp
IT Admin-Consultant 
Inferno Solutions
Go with the best 

www.inferno.co.in
All Linux-Java-Web-Voip Solutions-Training under one Roof 
M:-9978926593



On Tue, Jun 14, 2011 at 11:27 AM, Vishal Joshi <vishalintel@gmail.com> wrote:


Dear Tejas Sir,

Yes sir, from admin console i am able to view the inactive, but it gives me inactivation list upto 90 days. I checked that many of the users are not active since more than six months.


Dear Sham Sir,


Sir is there any command that will perform the test for all the users in my domain ?
As i have around 400 users in my domain, running this command for every user is not possible. So i am looking for the command that will grep all the inactive users with more than 150 or 180 days.


Also, Sir I came a command ' zmaccts ', that is showing me some weird output today. yesterday it was showing blank result. Today the error is :

[zimbra@mail1 root]$ zmaccts
ldap_start_tls: Connect error (-11)

        additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed (unable to get local issuer certificate)
ldap_result: Can't contact LDAP server (-1)



Best regards,

Vishal Girish Joshi

On Tue, Jun 14, 2011 at 10:15 AM, Tejas Barot <networking.dept@gmail.com> wrote:

Hello,

See you can easily achive this from Admin console, I hope you are aware of it from Admin Console.

If you want to do from CLI then first get the list of all users with zmprov -l gaa and then write a for loop and grep it with word "active" so you'll able to achive it.


Hope this helps.

--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com

Open Source :- http://opensource.ask4itsolutions.com
Planet VGLUG :- http://planet-vglug.ask4itsolutions.com

Linux Quotes :- http://linux-quotes.ask4itsolutions.com

"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?

Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586


Sent on my BlackBerry® from Vodafone


From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:10:30 +0530
Subject: Re: [VGLUG] Zimbra Command line help


Dear Tejas Sir,

This command certainly helps. :)

I have just tried this command and it lists me all the users. But sir now i want to find out the users who are inactive since last 6 months. My purpose is to deactivate the inactive users. So sir how do i achieve this ?



Best regards,
Vishal Girish Joshi




On Tue, Jun 14, 2011 at 10:05 AM, Tejas Barot <networking.dept@gmail.com> wrote:

Hello,

Instead of zmprov gaa use zmprov -l gaa it will work

Hope this helps you.

--
Thanks & Regards,

Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
Linux Blog:- http://blog.ask4itsolutions.com
Open Source :- http://opensource.ask4itsolutions.com

Planet VGLUG :- http://planet-vglug.ask4itsolutions.com
Linux Quotes :- http://linux-quotes.ask4itsolutions.com


"Killing Freedom is like Killing Own Self,
Then why to Kill Own Self by Using WindowZ and its restrictions ?
Don't be restrictive, Use Your Freedom, Use Linux and Open Source" - Tejas Barot

Registered Linux User :- http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=507586

Sent on my BlackBerry® from Vodafone


From: Vishal Joshi <vishalintel@gmail.com>
Date: Tue, 14 Jun 2011 10:03:19 +0530
Subject: Re: [VGLUG] Zimbra Command line help


Dear Punit,

I just checked the zimbra admin guide and command 'zmprov gaa' which will list all the accounts and their configurations. But when i am running this command, the result is as below :


[zimbra@mail1 root]$ zmprov gaa -v <mydomain>.com

ERROR: service.INVALID_REQUEST (invalid request: can only be used with  "zmprov -l/--ldap")

Any idea why is it giving such error ?


Best regards,
Vishal Girish Joshi


On Mon, Jun 13, 2011 at 7:45 PM, punit dambiwal <meet2punit@gmail.com> wrote:

Hi,

Yes it's possible....better you check Zimbra wiki or zimbra forum for the same.

Thanks,
Punit Dambiwal


On Mon, Jun 13, 2011 at 4:49 PM, Vishal Joshi <vishalintel@gmail.com> wrote:


Hello Sirs,

Good Evening.

I am running ZCS. Now if I want to filter out the inactive users from last 6 months, who have not used the mail service, via command line, is it possible ?


Thanks in advance.


Best regards,
Vishal Girish Joshi




--
Thanks & Regards,

Punit Dambiwal
http://www.unixsurgeon.com
RedHat Certified Engineer 


Sr. Linux Administrator

HostRightNow Technologies Pvt Ltd.
Website: http://www.hostrightnow.com/
Mobile :- 09314239083






--





To stop receiving emails from this group, mail to VGLUG+unsubscribe@googlegroups.com







--