Displaying 20 results from an estimated 1000 matches similar to: "dovecotadm error"
2010 Aug 27
2
doveadm expunge -A mailbox Trash savedbefore 30d
In the shell:
,doveadm(root): Error: User listing returned failure,doveadm: Error:
Failed to iterate through some users
In the log:
dovecot: auth: Error: sql: Iterate query failed: Table 'mail.users'
doesn't exist (using built-in default iterate_query: SELECT username,
domain FROM users)
Why is dovecot trying to "select username, domain from users" when the
2012 Oct 11
1
iterate_query does not use userdb - mail_location not found
Hi dovecot-comminity,
can't get iterate_query working. doveadm cannot find mail_location
which comes from userdb query. dovecot itself works fine with sql.
Whats wrong? please help:
[root at glen exim]# /opt/dovecot/bin/doveadm search -A mailbox Trash savedbefore 90d
doveadm(uwe at mitmachnet.de): Error: user uwe at mitmachnet.de: Initialization failed:
2019 Oct 24
1
SQL iterate_query
I've been hunting some ghost mailboxes - and I *think* I found the source.
I use the complete email address as the username, and store such in a
database. The storage structure is location=/var/mail/%d/%n. Not unusual
I think.
So all I *should* see from "ls /var/mail" would be a list of domains.
But I keep seeing empty mailboxes being created at this level. Having
corrected a
2017 Oct 23
2
master/master replications v. 2.2.32
Hi, in the past I set up a master/master replication through TCP using
dovecot 2.2.10 on both servers and everything is running fine, I filter the
users to replicate using the iterate_query on file dovecot-sql.con.ext; now
I want to set up a new replication between two new servers running dovecot
2.2.32 but the replicator service tries to replicate every user on my
database even when the
2019 Aug 09
2
What does `iterate_query` for SQL want as output?
> On Aug 9, 2019, at 3:45 PM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
>
>
>> On 09/08/2019 22:16 Coy Hile via dovecot <dovecot at dovecot.org> wrote:
>>
>>
>> Hi all,
>>
>> In an earlier thread, https://dovecot.org/pipermail/dovecot/2019-August/116694.html I got a lot of useful help about migration. On my older host, everything
2013 Jan 02
2
Trouble with expire plugin
Hi all,
Maybe someone here can help me with this problem, not sure if this is a
configuration issue or an actual bug.
my daily cron job says:
#!/bin/sh
doveadm expunge -A mailbox Junk savedbefore 14d
doveadm expunge -A mailbox Trash savedbefore 30d
doveadm expunge -A mailbox "Trash.*" savedbefore 30d
But it hasn't been deleting any messages in a long time, I'm not sure
when
2010 Aug 31
1
doveadm expunge -A mailbox Trash savedbefore 30d iterate_query LDAP
hi everyone
after doing this in shell
#/usr/local/dovecot-2.0.1/bin/doveadm expunge -u tmihal mailbox INBOX
savedbefore 1d
everything is working as it should but ...
#/usr/local/dovecot-2.0.1/bin/doveadm expunge -A mailbox INBOX savedbefore
1d
doveadm(root): Error: userdb list: Disconnected unexpectedly
doveadm: Error: Failed to iterate through some users
#cat /etc/dovecot2/dovecot-ldap.conf
tls
2020 Apr 22
5
replication newbie: some beginner questions
Am 22.04.20 um 09:41 schrieb Stefan G. Weichinger:
> iterate_query = SELECT username as user FROM mailbox
Ok, we enabled the 2 users and they synced (after a restart of one
dovecot, btw).
What irritates me:
on the new server I find less files in /home/vmail than on the old server.
So something is skipped or so.
I try to compare now ..
2023 Feb 19
2
Redundant Database, Pgsql ?
I am aware that there are provising for redundant database connections
Basically i was working on my main db server (which is also a mail sever)
I current have this in the dovecot-pgsql.conf
______________________________________________________________________
driver = pgsql
connect = host=localhost port=5433 dbname=scom_billing user=pgsql
password=xxxxxxxxx
default_pass_scheme = PLAIN
2019 Aug 09
2
What does `iterate_query` for SQL want as output?
Hi all,
In an earlier thread, https://dovecot.org/pipermail/dovecot/2019-August/116694.html I got a lot of useful help about migration. On my older host, everything was static; on the newer host, I?m storing user information in Postgres. usernames are of the form <login at REALM>, say ?hile at coyhile.com? as basically a Kerberos principal, and authentication and individual lookups work.
2018 May 07
2
replicator: User listing returned failure
Hello.
I've tried to configure TCP replication to slave server. But I got some
errors...
mx1:~# dovecot --version
2.2.27 (c0f36b0)
From dovecot.log:
May 07 19:27:41 auth-worker(34348): Warning: mysql: Query failed,
retrying: Unknown column 'username' in 'field list'
May 07 19:27:41 auth-worker(34348): Debug: sql(*): SELECT username,
domain FROM users
May 07 19:27:41
2020 May 17
2
iterate_query with static userdb ?
Hi,
Going by the "static userdb" example? on this page (https://wiki.dovecot.org/VirtualUsers#homedirs), tried to achieve a similar setup in conjunction with pgsql for passdb.
However I get an error "auth: Warning: sql: Ignoring changed iterate_query in /etc/dovecot/local_sql_users.conf, because userdb sql not used. (If this is intentional, set userdb_warning_disable=yes)"
2016 Jul 06
2
Director/Doveadm: Trying to iterate users, but userdbs don't support it
Hi
I'm doing: doveadm force-resync -S director1:1234 -A "*"
The director gives this error:
Jul 06 16:17:29 auth: Error: Trying to iterate users, but userdbs don't
support it
Jul 06 16:17:29 doveadm: Error: User listing returned failure
Jul 06 16:17:29 doveadm: Error: Failed to iterate through some users
The director has "iterate_query" set
--
Tom
2012 Jun 10
1
director userdb problem
hello !
I'm trying to get users from dovecot director server:
doveadm director map
doveadm(root): Error: User listing returned failure
doveadm(root): Error: user listing failed
user mail server ip expire time
<unknown> 192.168.5.101 2012-06-10 21:54:06
in
2011 Oct 24
1
iterate_query not working
Hi,
I have got iterate_query defined in dovecot-sql.conf.ext. However when I
run a command like:
doveadm search -A BEFORE 10d
I receive an error message (Failed to iterate ...)
There is an error message in a log file too:
Error: Trying to iterate users, but userdbs don't support it
The problem is that monitoring a database server shows that dovecot does
not try to execute any query. What
2017 Nov 28
2
How to make dovecot access a MySQL database with a certain domain?
I am trying to make a mail server with Postfix using the Dovecot software. At the time of wanting to access my server from a mail client, it does not let me access and see the logs of my server with the command:
$ service dovecot status
with the following error:
dovecot: auth-worker(2769): Error: mysql(127.0.0.1): Connect failed to database (postfix): Access denied for user
2011 Oct 19
1
'doveadm quota get' dictionary SQL query ignores specified '@domain' part of username. bad config or bug?
Hi,
I'm setting up SQL quota usage in Dovecot2.
I've created a MAILBOX parameter table, 'PARAMS', that contains unique
<user>@<domain> pairs, with quota data.
mysql> select * from PARAMS;
+----+------------------------+------------+-------------+------------+
| ai | MAILBOX_user_domain | quota | quota_bytes | quota_msgs |
2013 May 19
3
Error: dict client sent broken reply
I've been mucking about, experimenting with the expire plugin and using a
dictionary. I've got the iteration query working when I do a normal
expunge using:
doveadm expunge -A mailbox "INBOX.Trash" savedbefore 1w
and expunging works as expected. However, I've got over 12,000 accounts
on this server, so I was hoping using the expire plugin to could help out.
I've
2012 Nov 10
1
User iteration with static userdb
Hi all,
can someone explain me, please, why user iteration (iterate_query)
doesn't work with static userdb? There isn't reason why
it shouldn't work. In my opinion. However static userdb doesn't mean
that user list
not exist.
Thanks
Radek
2010 Nov 08
1
Expunge -A cannot find users
Hi List,
If I use doveadm expunge in this format expunge will delete the email
doveadm expunge -u test at planetseafood.com mailbox Archive ON '8-Nov-2010'
But in this format doveadm expunge -A mailbox Archive ON '8-Nov-2010',
it will list all the users in the database and display the following and
no messages are expunged.
doveadm(test at