Command "doveadm director kick ...." doesn't work

2024-05-23 Thread g.carabella--- via dovecot
format) to the new (mdbox format). For the migration I use the "doveadm backup" command and everything works fine. The problem I'm having is that I can't kick the user (if logged in). Once the migration is done (as indicated https://doc.dovecot.org/3.0/man/doveadm-sync.1/), I modify the u

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-29 Thread Public via dovecot
that? If not, can I just dump all the files together and make dovecot recreate the indexes? ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org Will doveadm-import automatically detect if a message

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-29 Thread Aki Tuomi via dovecot
st dump all the files together and make dovecot > > recreate the indexes? > > _______ > > dovecot mailing list -- dovecot@dovecot.org > > To unsubscribe send an email to dovecot-le...@dovecot.org > > Will doveadm-import automatica

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-29 Thread Nils via dovecot
that? If not, can I just dump all the files together and make dovecot recreate the indexes? ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org Will doveadm-import automatically detect if a message

Re: doveadm backup has problems with some accounts

2024-04-29 Thread roger.meier--- via dovecot
, still the backup jobs abort in the middle of the transfer, now with complete different error messages. On the destination server i started it with the following command ( the corresponding user folder & files is deleted under /var/spool/vmail and /var/indexes ) /usr/bin/doveadm -D -v backu

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-27 Thread Nils via dovecot
On 4/27/24 12:31, Aki Tuomi via dovecot wrote: Yeah. Backup command, without -R backs to location, not from location. Mailman archive is athttps://www.dovecot.org/mailman3/mailman3/lists/ Aki ___ dovecot mailing list --dovecot@dovecot.org To

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-27 Thread Aki Tuomi via dovecot
doveadm service on the old server and then call "doveadm backup -Ru username tcp:host:port" on the new server? So the reason that doveadm deleted everything yesterday was that I forgot the -R option?   "The doveadm backup command forces the destination

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-27 Thread Nils via dovecot
On 4/26/24 14:04, Aki Tuomi wrote: We have migration guide, see https://doc.dovecot.org/admin_manual/migrating_mailboxes/ Aki regarding this guide: I am supposed to set up doveadm service on the old server and then call "doveadm backup -Ru username tcp:host:port" on the new

doveadm backup empties the remote host? SERIOUSLY???

2024-04-26 Thread Christopher X. Candreva via dovecot
This is the magic incantation I use: #> doveadm -o mail_fsync=never -R -u u...@foo.bar imapc: ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

RE: doveadm backup empties the remote host? SERIOUSLY???

2024-04-26 Thread Marc via dovecot
> > Sure it's my own fault - no discussion about that, but seriously? How > dangerously unintuitive it that? > I don't really get what is going on with remote host. How is a host name even relevant other than setting up the initial connection. I don't even see it in my storage mail files.

Re: doveadm backup empties the remote host? SERIOUSLY???

2024-04-26 Thread Aki Tuomi via dovecot
  On 26/04/2024 14:46 EEST Nils via dovecot wrote:     Sure it's my own fault - no discussion about that, but seriously? How dangerously unintuitive it that?   I found it when I was searching for a good practice to migrate a mail server with rsync and

doveadm backup empties the remote host? SERIOUSLY???

2024-04-26 Thread Nils via dovecot
Sure it's my own fault - no discussion about that, but seriously? How dangerously unintuitive it that? I found it when I was searching for a good practice to migrate a mail server with rsync and I mistakably assumed it works in the same direction as rsync. Luckily i have a backup from all

doveadm index to terminate non-zero in case of failure

2024-04-22 Thread Jaco Kroon via dovecot
Hi, It would be great if doveadm index could terminate non-zero in the case of index corruption, that way the tool can be used as a way to determine and remove corrupted indexes.  Example: othala [13:56:24] ~ # doveadm index -u lumi_james INBOX doveadm(lumi_james): Error: Corrupted

Re: doveadm import error: quota: Unknown namespace: INBOX/

2024-04-17 Thread Aki Tuomi via dovecot
doveadm -o plugin/quota= ...   Aki On 17/04/2024 10:25 EEST Ralf Becker via dovecot wrote:     Noone an idea?   No longer been able to restore mailboxes seems a little scary ...   Ralf   Am 12.04.24 um 14:07 schrieb Ralf Becker via dovecot

Re: doveadm import error: quota: Unknown namespace: INBOX/

2024-04-17 Thread Ralf Becker via dovecot
dovecot doveadm -Dv import -u p...@xyz.de -s mdbox:$(pwd)/pbs-2024-03- 19/mdbox INBOX mailbox 'projekte/8-BZ/*' I'm getting the following error: Apr 12 10:52:18 doveadm(p...@xyz.de): Error: quota: Unknown namespace: INBOX/ I also tried restoring in a (not existing) restore folder: Restore-2024-03-19

doveadm import error: quota: Unknown namespace: INBOX/

2024-04-12 Thread Ralf Becker via dovecot
Dovecot version is 2.3.20 and I try to restore a folder hierarchy from an older snapshot of the mailbox (folders in question have been deleted): sudo -u dovecot doveadm -Dv import -u p...@xyz.de -s mdbox:$(pwd)/pbs-2024-03- 19/mdbox INBOX mailbox 'projekte/8-BZ/*' I'm getting the following error

Re: doveadm sync - I/O has stalled

2024-04-09 Thread Timo Sirainen via dovecot
We haven't found any specific bugs with lib-ssl-iostream so far, but we did find istream-multiplex bug that could cause hangs with doveadm-doveadm connections. Could be worth testing if it helps: https://github.com/dovecot/core/commit/bbe546bc637a6ac5c9e91fc8abefce62e4950d07 > On 30. Dec 2

RE: [Dovecot] [dovecot-2.1.15] mdbox corruption, doveadm force-resync can't repair it (throws segfault)

2024-03-31 Thread Aki Tuomi via dovecot
  On 31/03/2024 13:33 EEST Marc wrote:     Subject: Re: [Dovecot] [dovecot-2.1.15] mdbox corruption, doveadm force- resync can't repair it (throws segfault)   Are you sure it is not something else, your message is even empty

RE: [Dovecot] [dovecot-2.1.15] mdbox corruption, doveadm force-resync can't repair it (throws segfault)

2024-03-31 Thread Marc
> Subject: Re: [Dovecot] [dovecot-2.1.15] mdbox corruption, doveadm force- > resync can't repair it (throws segfault) > Are you sure it is not something else, your message is even empty. ___ dovecot mailing list -- dovecot@dovecot.org To un

Re: [Dovecot] [dovecot-2.1.15] mdbox corruption, doveadm force-resync can't repair it (throws segfault)

2024-03-31 Thread Manish Prajapati
___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Re: [Dovecot] doveadm delete folders ? / unsubscribe ?

2024-02-19 Thread Aki Tuomi via dovecot
> On 19/02/2024 22:17 EET Ryan Ford wrote: > > > Hello, > Would you be able to show what you did in order to make this command > unsubscribe as well? The link provided with the answer, no longer works. > > Thank you, Ryan > doveadm ma

Re: [Dovecot] doveadm delete folders ? / unsubscribe ?

2024-02-19 Thread Ryan Ford
Hello, Would you be able to show what you did in order to make this command unsubscribe as well? The link provided with the answer, no longer works. Thank you, Ryan ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to

Doveadm on virtual users. Auth works but user don't

2024-02-17 Thread jenawork--- via dovecot
...@domain-2.it) The usedb lookup works perfectly, and dovecot correctly creates the mailboxes in the form /home/domain/name.surname/arbitr...@domain-1.it/Maildir and /home/domain/name.surname/arbitr...@domain-2.it/Maildir The doveadm auth login arbitr...@domain-1.it command perfectly works, allowing

Re: doveadm fetch complains as Message was expunged

2024-02-11 Thread Paul Kudla
.ca> 004-1009 Byron Street South Whitby, Ontario - Canada L1N 4S3 Toronto 416.642.7266 Main 1.866.411.7266 Fax 1.888.892.7266 Email p...@scom.ca On 2/10/2024 7:24 AM, Kirill A. Korinsky wrote: Greeetings, I do have a cron script which runs doveadm NOT mailbox Junk SEEN SINCE 30d Everything

doveadm fetch complains as Message was expunged

2024-02-10 Thread Kirill A . Korinsky
Greeetings, I do have a cron script which runs doveadm NOT mailbox Junk SEEN SINCE 30d Everything works well with one exception, if user removes email when it's running, it may lead to an email from cron like: doveadm(...): Error: fetch(hdr) failed for box=virtual.All uid=145266: Message

doveadm-backup and quota question

2024-02-09 Thread Thomas Plant
because of 'over quota'. Here is an example: # doveadm quota get -u i...@domain.abc Quota name   Type    Value Limit % User quota   STORAGE 16798 16777216 0 User quota   MESSAGE   628 - 0 Domain quota STORAGE 32282 67108864 0 Domain quota MESSAGE   645 - 0 [root@vmi792826 ~]# doveadm backup -u i

doveadm sync failed after adding "mechanisms = plain login" to passdb

2024-01-30 Thread James via dovecot
Hello, After adding `mechanisms = plain login` to passdb (passwd-file), `doveadm -D sync -u e...@example.com -d -N -l 30 -U` failed with ``` Jan 26 06:49:22 doveadm(e...@example.com): Error: remote(server2.example.com:61526): doveadm(1.1.1.1,e...@example.com): auth-master: passdb lookup(e

Re: doveadm http api not responding under load

2024-01-23 Thread Achim Stahlberger
Hi Timo, thanks for your quick answer. On 23.01.2024 00:18, Timo Sirainen wrote: >> When doveadm server receives at lot of connects on port 5 the http >> service on >> port 50001 is not responding until load on port 5 drops to zero. >> It seems like doveadm-

Re: doveadm http api not responding under load

2024-01-22 Thread Timo Sirainen
Hi, > On 22. Jan 2024, at 20.00, Achim Stahlberger > wrote: > > Hello, > > we see this problem when doveadm-server is under load. > > We enabled doveadm http api with this config: > > service doveadm { > inet_listener { >port = 5 > } &g

doveadm http api not responding under load

2024-01-22 Thread Achim Stahlberger
Hello, we see this problem when doveadm-server is under load. We enabled doveadm http api with this config: service doveadm { inet_listener { port = 5 } inet_listener http { port = 50001 ssl = no } } When doveadm server receives at lot of connects on port 5 the http

Re: doveadm backup has problems with some accounts

2023-12-13 Thread roger.meier--- via dovecot
ing of the destination folder. The folder is then > freshly created via doveadm, but is unfinished because the backup jobs aborts > on the > messages mentioned above. If i don't delete the destination folder, > the backup job gives me a clearer error message: >> doveadm(user3)<68274>

Re: doveadm user '*' not working, virtual users only with sqlite

2023-12-05 Thread John Stoffel
I'm on the right track here, since I removed the following >> from /etc/dovecot/conf.d/auth-sql.conf.ext >> >> #userdb { >> # driver = static >> # args = uid=mail gid=mail home=/var/mail/%d/%n >> #} >> >> So now my error is as follows: >&g

Re: doveadm user '*' not working, virtual users only with sqlite

2023-12-02 Thread John Stoffel
t;> #userdb { >> # driver = static >> # args = uid=mail gid=mail home=/var/mail/%d/%n >> #} >> >> So now my error is as follows: >> >> # doveadm user -u '*' >> Error: auth-master: userdb list: User listing returned failure >> Fatal: user listing fail

Re: doveadm user '*' not working, virtual users only with sqlite

2023-12-02 Thread Aki Tuomi via dovecot
ed the following > from /etc/dovecot/conf.d/auth-sql.conf.ext > > #userdb { > # driver = static > # args = uid=mail gid=mail home=/var/mail/%d/%n > #} > > So now my error is as follows: > > # doveadm user -u '*' > Error: auth-master:

Re: doveadm user '*' not working, virtual users only with sqlite

2023-12-01 Thread John Stoffel
>>>>> "John" == John Stoffel writes: Do I think I'm on the right track here, since I removed the following from /etc/dovecot/conf.d/auth-sql.conf.ext #userdb { # driver = static # args = uid=mail gid=mail home=/var/mail/%d/%n #} So now my error is a

doveadm user '*' not working, virtual users only with sqlite

2023-12-01 Thread John Stoffel
Hi all, I've been pounding my head against the sand for a while here trying to figure out why I can't get: doveadm user '*' working properly. I've got a Debian 11 VPS runnig dovecot version 2.3.21-1+debian10 and it works great. But not I'm trying to add in simple replication

Re: doveadm backup has problems with some accounts

2023-12-01 Thread Aki Tuomi via dovecot
> On 01/12/2023 11:34 EET roger.meier--- via dovecot > wrote: > > > I try to setup for our mailserver (in a dc) a job backup to a secondary > server (in our office) with "doveadm backup" via the -R option. (rsync , > rsnapshot and so on tooks too long at the

doveadm backup has problems with some accounts

2023-12-01 Thread roger.meier--- via dovecot
I try to setup for our mailserver (in a dc) a job backup to a secondary server (in our office) with "doveadm backup" via the -R option. (rsync , rsnapshot and so on tooks too long at the moment) For the most user accounts all work as expected, but for three users it always fails

Re: doveadm(user): Error purging namespace

2023-10-10 Thread Aki Tuomi via dovecot
> On 10/10/2023 09:46 EEST Taavi Ansper via dovecot wrote: > > > Hi > > I have an issue with doveadm: > > doveadm(user): Warning: mdbox /home/user/mdbox/storage: Inconsistency in map > index (227,40 != 227,56) > doveadm(user): Warning: fscking index fi

doveadm(user): Error purging namespace

2023-10-10 Thread Taavi Ansper via dovecot
Hi I have an issue with doveadm: doveadm(user): Warning: mdbox /home/user/mdbox/storage: Inconsistency in map index (227,40 != 227,56) doveadm(user): Warning: fscking index file /home/user/mdbox/storage/dovecot.map.index doveadm(user): Warning: mdbox /home/user/mdbox/storage: rebuilding

Re: How to use http api doveadm to manage acl permissions

2023-10-01 Thread Cyril Leclerc
It is present only on last version because first it is not returned from the http api GET then when i execute the command it says the id is not existing (testing other commands working) the dovecot version is : 2.3.20 (80a5ac675d) version come form docker machine on this link : 

Re: How to use http api doveadm to manage acl permissions

2023-09-28 Thread cyril . leclerc
yes it is zorking now and command available so if i want to give all access to te...@test.com INBOX to te...@test.com this command is not good [ [ "aclSet", { "user":"te...@test.com", "mailbox":"te...@test.com/INBOX", "right":"lrw"

Re: How to use http api doveadm to manage acl permissions

2023-09-28 Thread Aki Tuomi via dovecot
> On 28/09/2023 14:00 EEST cyril.lecl...@mantiq.com wrote: > > > it seems the plugin is not installed on docker machine how i can install the > plugin to have the acl commands available ?because now it is not existing, i > have version 2.3.20 and command return unknow command > thanks

Re: How to use http api doveadm to manage acl permissions

2023-09-28 Thread cyril . leclerc
it seems the plugin is not installed on docker machine how i can install the plugin to have the acl commands available ?because now it is not existing, i have version 2.3.20 and command return unknow command thanks ___ dovecot mailing list --

Re: How to use http api doveadm to manage acl permissions

2023-09-28 Thread Aki Tuomi via dovecot
> On 28/09/2023 13:23 EEST cyril.lecl...@mantiq.com wrote: > > > thank you , > > but why we dont see the commands here > > https://doc.dovecot.org/admin_manual/doveadm_http_api/ ? > > other question with sieve and http api can we manage autoreply with the api ? Because they come from

Re: How to use http api doveadm to manage acl permissions

2023-09-28 Thread cyril . leclerc
thank you , but why we dont see the commands here https://doc.dovecot.org/admin_manual/doveadm_http_api/ ? other question with sieve and http api can we manage autoreply with the api ? ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe

Re: possible doveadm expunge bug

2023-09-23 Thread Noel Butler via dovecot
On 18/09/2023 16:17, Aki Tuomi via dovecot wrote: Aki, any ideas? Or have I have hit a ridiculously low 1000D hard coded limit? ...and I know some troll will comment, so let me say yes I know I can and will likely have to use nix's "find" to actually cull them, but if doveadm has a

Re: How to use http api doveadm to manage acl permissions

2023-09-23 Thread cyril . leclerc
Yes off course i ve done that but not found, moreover it should be available in the api documentation ? this is the content off the get call is there a command for acl with maybe not ACL word inside ? [ { "command": "mailboxMutf7", "parameters": [ {

Re: How to use http api doveadm to manage acl permissions

2023-09-19 Thread Aki Tuomi via dovecot
> On 19/09/2023 15:30 EEST cyril.lecl...@mantiq.com wrote: > > > hi, > > yes i alredy executed but nothing with "acl" name or "permissions" so how i > can find the good command ? > > thank you Maybe you did something wrong, because I was able to get these. Aki

Re: How to use http api doveadm to manage acl permissions

2023-09-19 Thread cyril . leclerc
hi, yes i alredy executed but nothing with "acl" name or "permissions" so how i can find the good command ? thank you ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Re: How to use http api doveadm to manage acl permissions

2023-09-18 Thread Aki Tuomi via dovecot
cl permissions ? do we have to use a > specific command ? how to manage a user acl permissions ( change the content > of dovecot-acl file ? You can get the available schema with acl plugin using curl http://host:port/doveadm/v1 It should list the a

How to use http api doveadm to manage acl permissions

2023-09-18 Thread cyril . leclerc
I started the http api on dovecot configuration but following the documentation available here : https://doc.dovecot.org/admin_manual/doveadm_http_api/ I dont see anything regarding the acl permissions ? do we have to use a specific command ? how to manage a user acl permissions ( change the

Re: possible doveadm expunge bug

2023-09-18 Thread Aki Tuomi via dovecot
expunge > doesnt want too... > > This error or lack of action, occurs on any mailbox, as an example > > doveadm expunge -u my@email mailbox Lists.FreeRadius SAVEDBEFORE $ > > now for $, pick your value 5 y/Y for years doesn't appear to exist, so > converting it

possible doveadm expunge bug

2023-09-17 Thread Noel Butler via dovecot
, as an example doveadm expunge -u my@email mailbox Lists.FreeRadius SAVEDBEFORE $ now for $, pick your value 5 y/Y for years doesn't appear to exist, so converting it into 30 odd weeks, 30w or 30W did nothing, but rough convert it down to days 1800D appears to do something - showing a delay before

Logging for doveadm index?

2023-09-15 Thread Shawn Heisey
log? Or is there a way to have 'doveadm index' run in the foreground instead of the background so the time can be calculated by my script? Thanks, Shawn ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le

Re: Bug - doveadm backup out-of-memory kill/crash when no separators set

2023-08-25 Thread phelps
James Harrison wrote: > I hit a fun issue with doveadm when migrating from dovecot 2.2.36 > (1f10bfa63) to 2.3.19.1 (9b53102964) (CentOS 7 to Debian 12). > When running doveadm -v -D backup -R -u "user@name" tcp:localhost:1234, > I found that the first sync would always wor

Re: doveadm fts lookup: Is "search query" documented anywhere?

2023-08-07 Thread Graham Leggett via dovecot
On 05 Aug 2023, at 14:18, Aki Tuomi wrote: > Did you look at https://doc.dovecot.org/3.0/man/doveadm-search-query.7/ > <https://doc.dovecot.org/3.0/man/doveadm-search-query.7/> I did not - the page https://doc.dovecot.org/3.0/man/doveadm-fts.1/ has no link to the abov

Re: doveadm fts lookup: Is "search query" documented anywhere?

2023-08-05 Thread Aki Tuomi via dovecot
Did you look at https://doc.dovecot.org/3.0/man/doveadm-search-query.7/   Aki On 05/08/2023 15:24 EEST Graham Leggett via dovecot <dovecot@dovecot.org> wrote:     Hi all,   Acc

doveadm fts lookup: Is "search query" documented anywhere?

2023-08-05 Thread Graham Leggett via dovecot
Hi all, According to the —help option for doveadm fts, there is a “lookup” option as follows: [root@aurora ~]# doveadm fts --help usage: doveadm [-Dv] [-f ] fts [] expand [-u |-A] [-S ] lookup [-u |-A] [-S ] optimize [-u |-A] [-S ] [] rescan [-u |-A] [-S

Re: Dovecot shared folders - examples of the "doveadm acl" command?

2023-08-05 Thread Graham Leggett via dovecot
On 30 Jul 2023, at 16:47, Benny Pedersen wrote: >> Does anyone have a concrete example of “doveadm acl” to grant someone >> access to a shared folder? > > https://doc.dovecot.org/search/?q=acl Unfortunately the search query above doesn’t return any examples of the do

Re: Dovecot shared folders - examples of the "doveadm acl" command?

2023-07-30 Thread Benny Pedersen
Graham Leggett via dovecot skrev den 2023-07-30 17:29: Does anyone have a concrete example of “doveadm acl” to grant someone access to a shared folder? https://doc.dovecot.org/search/?q=acl ___ dovecot mailing list -- dovecot@dovecot.org

Dovecot shared folders - examples of the "doveadm acl" command?

2023-07-30 Thread Graham Leggett via dovecot
Hi all, The old wiki has been taken down, and all the links I can find through google are now broken. Does anyone have a concrete example of “doveadm acl” to grant someone access to a shared folder? Regards, Graham — ___ dovecot mailing list

Bug - doveadm backup out-of-memory kill/crash when no separators set

2023-07-29 Thread James Harrison
Hi, I hit a fun issue with doveadm when migrating from dovecot 2.2.36 (1f10bfa63) to 2.3.19.1 (9b53102964) (CentOS 7 to Debian 12). When running doveadm -v -D backup -R -u "user@name" tcp:localhost:1234, I found that the first sync would always work, but subsequent runs of the com

Re: The (doveadm search HEADER "Header" "") command does not return email which have the header "Header"

2023-05-26 Thread Léo El Amri via dovecot
Allow me to bump this thread. I believe there is a bug somewhere. Either in the code, or in the documentation. On 18 May 2023 21:13:50 CEST, "Léo El Amri via dovecot" wrote: >Hello there, > >When using the doveadm command (search HEADER "X-Discourse-Post-Id" &quo

Re: Possible hack via doveadm

2023-05-18 Thread Dean Carpenter
dovecot wrote: > I only allow explicit service traffic through. IMAPS, SMTPS, etc. If doveadm > is communicating via the IMAP(S) ports then all I can do via firewall is > block countries. Which of course I can but I'm asking about any additional > hardening for Dovecot itself. >

The (doveadm search HEADER "Header" "") command does not return email which have the header "Header"

2023-05-18 Thread Léo El Amri via dovecot
Hello there, When using the doveadm command (search HEADER "X-Discourse-Post-Id" "") or the IMAP command (SEARCH HEADER X-Discourse-Post-Id ""), emails containing a X-Discourse-Post-Id header are not listed. I've also tried with non X- headers, such as List-U

Re[2]: Possible hack via doveadm

2023-05-14 Thread Daniel L. Miller via dovecot
. Particularly the need to open an explicit port for the doveadm connection - which of course I do have on a non-standard port and up till now it hasn't been an issue. I was fighting multiple config issues at the time - including network setup - so I left the communication purely through the external

Re: Possible hack via doveadm

2023-05-14 Thread jeremy ardley via dovecot
On 14/5/23 23:29, Daniel Miller via dovecot wrote: I only allow explicit service traffic through. IMAPS, SMTPS, etc. If doveadm is communicating via the IMAP(S) ports then all I can do via firewall is block countries. Which of course I can but I'm asking about any additional hardening

Re: Possible hack via doveadm

2023-05-14 Thread Bernardo Reino
On Sun, 14 May 2023, Daniel Miller via dovecot wrote: I only allow explicit service traffic through. IMAPS, SMTPS, etc. If doveadm is communicating via the IMAP(S) ports then all I can do via firewall is block countries. Which of course I can but I'm asking about any additional hardening

Re: Possible hack via doveadm

2023-05-14 Thread Daniel Miller via dovecot
I only allow explicit service traffic through. IMAPS, SMTPS, etc. If doveadm is communicating via the IMAP(S) ports then all I can do via firewall is block countries. Which of course I can but I'm asking about any additional hardening for Dovecot itself. -- Daniel On May 13, 2023 6:25:06 PM

Re: Possible hack via doveadm

2023-05-13 Thread jeremy ardley via dovecot
On 14/5/23 09:14, Daniel L. Miller via dovecot wrote: May 12 15:45:58 cloud1 dovecot: doveadm(194.165.16.78): Error: doveadm client not compatible with this server (mixed old and new binaries?) May 13 03:44:31 cloud1 dovecot: doveadm(45.227.254.48): Error: doveadm client not compatible

Possible hack via doveadm

2023-05-13 Thread Daniel L. Miller via dovecot
I currently have two servers running with synchronization that I've been very happy with. However, I'm seeing the following in my logs recently: May 12 15:45:58 cloud1 dovecot: doveadm(194.165.16.78): Error: doveadm client not compatible with this server (mixed old and new binaries?) May 13

doveadm on remote socket SSL problem

2023-05-11 Thread miro . igov
Hello, trying to exec doveadm commands on remote server: doveadm search -S domain.com:12333 -u user@domaincom mailbox Sent This produces error in remote server log: doveadm(192.168.10.19): Error: SSL handshake failed: SSL_accept() failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version

Re: Confusion re doveadm pw and protected private keys

2023-04-18 Thread Aki Tuomi via dovecot
> On 18/04/2023 02:03 EEST Paul Kroitor wrote: > > > Hello, > > It seems from this thread at letsencrypt : > https://community.letsencrypt.org/t/changing-permissions-for-pem-files/196561 > (see especially second post from _az) that doveadm pw now parses all files in

Confusion re doveadm pw and protected private keys

2023-04-17 Thread Paul Kroitor
Hello, It seems from this thread at letsencrypt : https://community.letsencrypt.org/t/changing-permissions-for-pem-files/19656 1 (see especially second post from _az) that doveadm pw now parses all files in the config, even ones not relevant to the pw aspect of the request. If it's not able

Re: doveadm expunge unnecessarily tries to access TLS key

2023-03-27 Thread Jesper Dybdal
that cleans up all old mail from the mailbox that I use for my mobile phone by running "doveadm expunge" every night. That worked fine in 2.3.4, but now it fails: jdmobile@nuser:~$ doveadm expunge  mailbox '*' before 25d doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl

Re: doveadm expunge unnecessarily tries to access TLS key

2023-03-27 Thread Aki Tuomi
ron job that cleans up all old mail from the mailbox that > I use for my mobile phone by running "doveadm expunge" every night. > > That worked fine in 2.3.4, but now it fails: > > jdmobile@nuser:~$ doveadm expunge  mailbox '*' before 25d > > doveconf: Fatal: Err

doveadm expunge unnecessarily tries to access TLS key

2023-03-27 Thread Jesper Dybdal
"doveadm expunge" every night. That worked fine in 2.3.4, but now it fails: jdmobile@nuser:~$ doveadm expunge  mailbox '*' before 25d doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 23: ssl_cert: Can't open file /etc/letsencrypt/live/nuser.dybdal.dk/ful

Re: "doveadm altmove -r" not working ?

2023-03-21 Thread Ewald Dieterich
wrote: Hello, I have some trouble using "doveadm altmove -r". Regular "doveadm altmove" is OK, selected mails were moved to alternate storage as expected. But I can't manage to get them back to original location, "doveadm altmove -r" has no effect. We are usin

Re: "doveadm altmove -r" not working ?

2023-03-21 Thread Aki Tuomi
> On 21/03/2023 00:26 EET Benoit Branciard > wrote: > > > Hello, > > I have some trouble using "doveadm altmove -r". > > Regular "doveadm altmove" is OK, selected mails were moved to alternate > storage as expected. But I can't manage

Re: "doveadm altmove -r" not working ?

2023-03-20 Thread Duc Anh Do
1 Mar 2023 at 08:45, Duc Anh Do wrote: > Hi, > > Your problem might be similar to mine a long time ago. IMO behavior of > "doveadm altmove -r" command with mdbox format is different to sdbox format: > >- With sdbox format, when you move back a message to primary st

Re: "doveadm altmove -r" not working ?

2023-03-20 Thread Duc Anh Do
Hi, Your problem might be similar to mine a long time ago. IMO behavior of "doveadm altmove -r" command with mdbox format is different to sdbox format: - With sdbox format, when you move back a message to primary storage (aka default storage), only the message and the file

"doveadm altmove -r" not working ?

2023-03-20 Thread Benoit Branciard
Hello, I have some trouble using "doveadm altmove -r". Regular "doveadm altmove" is OK, selected mails were moved to alternate storage as expected. But I can't manage to get them back to original location, "doveadm altmove -r" has no effect. We are using Doveco

Re: "sh: doveadm: command not found" with doveadm -Dv backup -R

2023-02-28 Thread James Brown
> On 28 Feb 2023, at 5:53 pm, Aki Tuomi wrote: > >> On 28/02/2023 03:54 EET James Brown wrote: >> >> I’m moving from an old mail server to a new one. >> >> On the new one, trying to transfer mailboxes from the old machine using >> doveadm. It fails s

Re: "sh: doveadm: command not found" with doveadm -Dv backup -R

2023-02-27 Thread Aki Tuomi
> On 28/02/2023 03:54 EET James Brown wrote: > > > I’m moving from an old mail server to a new one. > > On the new one, trying to transfer mailboxes from the old machine using > doveadm. It fails saying it can’f find doveadm: > > % sudo doveadm -Dv backu

"sh: doveadm: command not found" with doveadm -Dv backup -R

2023-02-27 Thread James Brown
I’m moving from an old mail server to a new one. On the new one, trying to transfer mailboxes from the old machine using doveadm. It fails saying it can’f find doveadm: % sudo doveadm -Dv backup -R -u myu...@bordo.com.au remote:mail.bordo.com.au Password: Debug: Loading modules from directory

Re: doveadm sending invalid AUTHENTICATE to uw-imap

2023-02-23 Thread Chris Candreva
that prints the UW-Imap banner and the '+' second prompt, logs what it receives back, and exits. This let me see that in all cases, doveadm sends the single line AUTHENTICATE command, so that wasn't the problem. It had never occurred to me to reverse the hash and see what was being sent. I had been

doveadm: Error: Mailbox INBOX: Deleting corrupted cache: Cache file too large

2023-02-09 Thread Ralf Hildebrandt
Hi! Upon issuing a % doveadm import -u restore@backup.invalid mdbox:/home/storage/mdbox I'm getting a: doveadm(restore@backup.invalid): Error: Mailbox INBOX: Deleting corrupted cache: Cache file too largea doveadm(restore@backup.invalid): Error: Corrupted dbox file /home/restore/mdbox/storage

Re: doveadm sending invalid AUTHENTICATE to uw-imap

2023-02-08 Thread Chris Candreva
p I can tell "doveadm" is sending the user's id only without the "*masteruser" and the master user password. Plain connection banner: * OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ SASL-IR LOGIN-REFERRALS STARTTLS] foo.com IMAP4rev1 2007e.404 at Wed, 8 Feb 2023 16:45:22 -050

Re: doveadm sending invalid AUTHENTICATE to uw-imap

2023-02-08 Thread Stephan Bosch
Can you make a protocol log (tcp dump of commands sent by client and replies sent by server) for one of these sessions? e.g. using ngrep if connections aren't secured. On 8-2-2023 05:24, Chris Candreva wrote: I'm migrating a legacy uw-imap system to Dovecot, on a Rocky (RHEL) 8 server

Re: doveadm sending invalid AUTHENTICATE to uw-imap

2023-02-07 Thread Aki Tuomi
Can you try setting imapc_sasl_mechanisms to login, maybe it works better? Aki > On 08/02/2023 06:24 EET Chris Candreva wrote: > > > I'm migrating a legacy uw-imap system to Dovecot, on a Rocky (RHEL) 8 > server running Dovecot 2.3.16-3 from their repos. I am using a master user > to

doveadm sending invalid AUTHENTICATE to uw-imap

2023-02-07 Thread Chris Candreva
I'm migrating a legacy uw-imap system to Dovecot, on a Rocky (RHEL) 8 server running Dovecot 2.3.16-3 from their repos. I am using a master user to import all users for an imaps connection from the old server to the new. On a trial run however, it worked for about half the users. Half are

Re: problem converting mailbox to maildir with doveadm

2023-02-05 Thread Patrick Domack
, restarted dovecot, and it worked! I wasn't aware that I had first to backup and then sync to transfer all emails. Thanks again! Best regards Kenneth On Sun, 5 Feb 2023, Patrick Domack wrote: #copy mailbox, using new mail_location setting doveadm backup -u "${USER}" maildir:/home/

Re: problem converting mailbox to maildir with doveadm

2023-02-05 Thread Aki Tuomi
Best regards > > Kenneth > > On Sun, 5 Feb 2023, Patrick Domack wrote: > > > #copy mailbox, using new mail_location setting > > doveadm backup -u "${USER}" maildir:/home/${USERNAME}/Maildir/ > > doveadm sync -u "${USER}" maildir:/home/${USERNAM

Re: problem converting mailbox to maildir with doveadm

2023-02-05 Thread Kenneth Irving
to transfer all emails. Thanks again! Best regards Kenneth On Sun, 5 Feb 2023, Patrick Domack wrote: #copy mailbox, using new mail_location setting doveadm backup -u "${USER}" maildir:/home/${USERNAME}/Maildir/ doveadm sync -u "${USER}" maildir:/home/${USERNAME}/Maildir/

Re: problem converting mailbox to maildir with doveadm

2023-02-05 Thread Patrick Domack
#copy mailbox, using new mail_location setting doveadm backup -u "${USER}" maildir:/home/${USERNAME}/Maildir/ doveadm sync -u "${USER}" maildir:/home/${USERNAME}/Maildir/ #Update user to use maildir instead of old method, update sql? mail_location=maildir:/home/${USERNAM

problem converting mailbox to maildir with doveadm

2023-02-05 Thread Kenneth Irving
a lot of emails in different mailboxes which I'd like to convert to maildir. I found mb2md, which seems to do a pretty good job. Once the mailbox is converted, dovecot manages the emails without a problem. But I also wanted to learn how to use doveadm to convert mailboxes to maildir format. I

Re: Why does doveadm always run doveconf?

2023-01-21 Thread Bert Van de Poel
sily found), but it seems Dovecot doesn't have one. Is that correct? I had hoped I had found a cleaner workaround (that could even become a default suggestion) by moving ssl_cert and ssl_key into "protocol imap {}" but it seems that even that gets evaluated when running doveadm. Is the

Re: Why does doveadm always run doveconf?

2023-01-19 Thread EML
https://dovecot.org/pipermail/dovecot/2020-August/119644.html

Re: Why does doveadm always run doveconf?

2023-01-19 Thread EML
On 18/01/2023 22:01, Bert Van de Poel wrote: I was quite surprised to find that doveadm requires quite broad privileges (in my case root privileges) to function properly. This is, I think, a "feature" that was introduced in 2.3. It can make life difficult. There's a message

  1   2   3   4   5   6   7   8   9   10   >