doveadm expunge with static users
Hi,
is it possible to use 'doveadm expunge' with static user database? Or
can i, somehow, tell dovecot the directory location where i need to do
an expunge? Thank you.
azur
On 18 October 2018 at 15:49 azurit@pobox.sk wrote:
Hi, is it possible to use 'doveadm expunge' with static user database? Or can i, somehow, tell dovecot the directory location where i need to
do an expunge? Thank you.
azur
Works just fine with -u parameter
Aki Tuomi
Ok, so the problem is, probably, in my very specific proxy
configuration. On proxy side, i have this:
passdb {
driver = static
args = password=
allow_nets=
userdb { driver = static args = home=/var/mail/vhosts/%d/%n/home master_user=%u allow_all_users=yes }
The point is that proxy doesn't have any info about users so i'm able
to manage users only on one place (IMAP gateway). BUT it is possible
for IMAP proxy to get local users based on directory structure in
/var/mail/vhosts/ (it's /var/mail/vhosts/%d/%n/ ). Can i, somehow, get
doveamd commands make work? search, expunge, etc.
Citát azurit@pobox.sk:
On 18 October 2018 at 15:49 azurit@pobox.sk wrote:
Hi,
is it possible to use 'doveadm expunge' with static user database? Or can i, somehow, tell dovecot the directory location where i need to do an expunge? Thank you.
azur
Works just fine with -u parameter
Aki Tuomi
Ok, so the problem is, probably, in my very specific proxy
configuration. On proxy side, i have this:passdb { driver = static args = password=
allow_nets=} userdb { driver = static args = home=/var/mail/vhosts/%d/%n/home master_user=%u allow_all_users=yes }
The point is that proxy doesn't have any info about users so i'm
able to manage users only on one place (IMAP gateway). BUT it is
possible for IMAP proxy to get local users based on directory
structure in /var/mail/vhosts/ (it's /var/mail/vhosts/%d/%n/ ). Can
i, somehow, get doveamd commands make work? search, expunge, etc.
Sorry, my fault, looks like it's really working also in my setup.
azur
participants (2)
-
Aki Tuomi
-
azurit@pobox.sk