Iterate All Dovecot Users !
Nick Lekkas
nlekkas at gmail.com
Thu Aug 31 23:32:43 EEST 2017
Hi Thomas !
So simple.... But you save my ass .....
And yes it works !
Thanks a lot ! Really ! I appreciate it !
Thanks
Nick
-----Original Message-----
From: Thomas Reifferscheid [mailto:thomas at reifferscheid.org]
Sent: Thursday, August 31, 2017 10:49 PM
To: nlekkas at gmail.com
Subject: Re: Iterate All Dovecot Users !
Am 31.08.2017 um 18:18 schrieb Nick Lekkas:
> Hello to all !
>
> I am trying to write a script that iterate all users that are created in
> dovecot and postfix ....
> Is there any way ..?
>
Hi Nick
for user in $(doveadm user -u '*'); do echo $user; done
Thomas
__________ Information from ESET Endpoint Antivirus, version of detection
engine 16008 (20170831) __________
The message was checked by ESET Endpoint Antivirus.
part000.txt - is OK
http://www.eset.com
__________ Information from ESET Endpoint Antivirus, version of detection
engine 16008 (20170831) __________
The message was checked by ESET Endpoint Antivirus.
Email message - is OK
http://www.eset.com
More information about the dovecot
mailing list