Re: Doveadm Backup

2025-02-18 Thread Doug Hardie via dovecot
> On Feb 18, 2025, at 05:59, Doug via dovecot wrote: > > My experience was very similar when I originally set up doveadm backup from > my production machine to my backup machine. My mailbox was the only one on > the system that failed. I discovered the root cause was a cron job running > on the b

RE: Doveadm Backup

2025-02-18 Thread Doug via dovecot
my inbox was out of sync. Perhaps you also have something on your backup machine that is altering the email. -- also Doug > -Original Message- > From: Doug Hardie via dovecot > Sent: Tuesday, February 18, 2025 3:11 AM > To: Dovecot > Subject: Re: Doveadm Backup > >

Re: Doveadm Backup

2025-02-18 Thread Doug Hardie via dovecot
> On Feb 17, 2025, at 23:11, Doug Hardie wrote: > > I tried the backup again tonight. I am now getting a new error: > > mail# doveadm backup -f -u doug remote:checkout > dsync-remote(doug)<1c8BDo4xtGe74wAA+dxtXQ>: Warning: Deleting mailbox > 'INBOX': UID=92440 GUID=1465118975.V4eI7cfa32M232845

Re: Doveadm Backup Error

2025-02-17 Thread Asai via dovecot
Thank you, Timo, that fixed the problem. Asai On 2/17/2025 9:03 AM, Timo Sirainen wrote: On 17. Feb 2025, at 16.26, Asai via dovecot wrote: sieve_script personal {   active_path = /vmail/%{user | domain }/%{user | username }/ home/.dovecot.sieve   driver = file   path = /vmail/%{user | domain }

Re: Doveadm Backup Error

2025-02-17 Thread Asai via dovecot
Thanks Timo, OK, I'll give that a try, I should point out that the Sieve filters are working as they should be for general delivery, outside of doveadm backup. Asai On 2/17/2025 9:03 AM, Timo Sirainen wrote: On 17. Feb 2025, at 16.26, Asai via dovecot wrote: sieve_script personal {   active_pat

Re: Doveadm Backup Error

2025-02-17 Thread Asai via dovecot
Hi Timo, here's the config, the sieve section is at the bottom. Also, note that due to upgrading Dovecot over the years, we have an odd "home" folder situtation, where it's actually IN the main maildir folder, rather than being its parent. [root@server5 ~]# doveconf -n # 2.4.0 (daeb6bc59c): /e

Re: Doveadm Backup Error

2025-02-17 Thread Timo Sirainen via dovecot
On 15. Feb 2025, at 4.06, Asai via dovecot wrote: > > Greetings, > > On 2.3 I was able to run the following command, but now on 2.4 I'm getting > the following error: > > doveadm backup -u u...@domain.tld maildir:/mnt/backups/daily/domain.tld/user > > dsync(u...@domain.tld): Error: brain M: E

Re: Doveadm Backup Error

2025-02-16 Thread Aki Tuomi via dovecot
You don't necessarely enable imap_metadata for this, just having attribute dict is enough. can you rm -rf the backup and try again with doveadm -D? Aki > On 16/02/2025 23:47 EET Asai via dovecot wrote: > > > After spending several hours troubleshooting this, it seems like doveadm > backup

Re: Doveadm Backup Error

2025-02-16 Thread Asai via dovecot
After spending several hours troubleshooting this, it seems like doveadm backup is broken somehow.  At least on my system. I can't even run doveadm backup -u user maildir:/dest on an empty target director without it throwing an error. Is anyone else having this problem? Thanks, Asai On 2/15

Re: Doveadm Backup Error

2025-02-15 Thread Asai via dovecot
Here's some more debugging info in case this helps: Feb 15 18:33:44 dsync(u...@domain.tld): Debug: Mailbox INBOX: Mailbox opened Feb 15 18:33:44 dsync(u...@domain.tld): Debug: brain S: Syncing mailbox 77727820079bdd584f28773ea8bd: UIDNEXT changed: 1 -> 12170 Feb 15 18:33:44 dsync(u...@domain

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

2024-04-29 Thread Public via dovecot
On 4/27/24 16:30, Nils via dovecot wrote: I have a file backup and since that backup, new emails have been received. Also, not all of the emails were deleted - many folders weren't affected. Additionally I was able to restore a few of the deleted emails with ext4magic. So now I have three sou

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

2024-04-29 Thread Aki Tuomi via dovecot
> On 29/04/2024 12:02 EEST Nils via dovecot wrote: > > > On 4/27/24 16:30, Nils via dovecot wrote: > > I have a file backup and since that backup, new emails have been > > received. Also, not all of the emails were deleted - many folders > > weren't affected. Additionally I was able to resto

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

2024-04-29 Thread Nils via dovecot
On 4/27/24 16:30, Nils via dovecot wrote: I have a file backup and since that backup, new emails have been received. Also, not all of the emails were deleted - many folders weren't affected. Additionally I was able to restore a few of the deleted emails with ext4magic. So now I have three sou

Re: doveadm backup has problems with some accounts

2024-04-29 Thread roger.meier--- via dovecot
Because, that perhaps the version missmatch of the servers coul'd be the issue , and centos 7 eol comes in two months, i setup a complete new main mailserver, based on ubuntu 22.04 (24.04 was not out on starting to setup the stuff) so now both servers had dovecot 2.3.16. But it doesn't help, st

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 unsu

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

2024-04-27 Thread Aki Tuomi via dovecot
  On 27/04/2024 12:57 EEST Nils via dovecot wrote:     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 dovead

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 server? So the reas

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 I

Re: doveadm backup has problems with some accounts

2023-12-13 Thread roger.meier--- via dovecot
Hi Aki I wondered, why is my answere here missing in the mailing list and now see that the answer was directly to your email adress. ( i only pressed answer in thunderbird and don't looked a the recipient, so i now use the webui ) My Answer was: > I already tried to deleting of the destination

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 moment) > > For the most user a

Re: doveadm backup|sync works for every folder but INBOX

2022-11-08 Thread Ralf Becker
Hi Aki, Am 08.11.22 um 12:02 schrieb Ralf Becker: Hi Aki, Am 08.11.22 um 10:07 schrieb Aki Tuomi: I send the full log again to your private address. Ralf Seems I can reproduce this issue, we'll look into this. Aki Hi! Can you try if https://github.com/dovecot/core/compare/a485443e00a7e1b

Re: doveadm backup|sync works for every folder but INBOX

2022-11-08 Thread Ralf Becker
Hi Aki, Am 08.11.22 um 10:07 schrieb Aki Tuomi: I send the full log again to your private address. Ralf Seems I can reproduce this issue, we'll look into this. Aki Hi! Can you try if https://github.com/dovecot/core/compare/a485443e00a7e1b93ed9b7d065c89fcd2eb90865%5E..0f67c79e48fa783b658606

Re: doveadm backup|sync works for every folder but INBOX

2022-11-08 Thread Aki Tuomi
> > I send the full log again to your private address. > > > > Ralf > > > > Seems I can reproduce this issue, we'll look into this. > > Aki Hi! Can you try if https://github.com/dovecot/core/compare/a485443e00a7e1b93ed9b7d065c89fcd2eb90865%5E..0f67c79e48fa783b658606a99cf18db8daf7884e.patch

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
Am 03.11.22 um 14:29 schrieb Aki Tuomi: On 03/11/2022 13:43 EET Ralf Becker wrote: Hi Aki, Am 03.11.22 um 12:27 schrieb Aki Tuomi: On 03/11/2022 13:23 EET Aki Tuomi wrote: On 03/11/2022 13:19 EET Ralf Becker wrote: Hi Aki, Am 03.11.22 um 10:54 schrieb Aki Tuomi: On 03/11/2022 1

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
> On 03/11/2022 13:43 EET Ralf Becker wrote: > > > Hi Aki, > > Am 03.11.22 um 12:27 schrieb Aki Tuomi: > >> On 03/11/2022 13:23 EET Aki Tuomi wrote: > >>> On 03/11/2022 13:19 EET Ralf Becker wrote: > >>> > >>> > >>> Hi Aki, > >>> > >>> Am 03.11.22 um 10:54 schrieb Aki Tuomi: > > On

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
Hi Aki, Am 03.11.22 um 12:27 schrieb Aki Tuomi: On 03/11/2022 13:23 EET Aki Tuomi wrote: On 03/11/2022 13:19 EET Ralf Becker wrote: Hi Aki, Am 03.11.22 um 10:54 schrieb Aki Tuomi: On 03/11/2022 11:46 EET Ralf Becker wrote: Hi Aki, Am 03.11.22 um 10:29 schrieb Aki Tuomi: On 03/

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
> On 03/11/2022 13:23 EET Aki Tuomi wrote: > > > > On 03/11/2022 13:19 EET Ralf Becker wrote: > > > > > > Hi Aki, > > > > Am 03.11.22 um 10:54 schrieb Aki Tuomi: > > >> On 03/11/2022 11:46 EET Ralf Becker wrote: > > >> > > >> > > >> Hi Aki, > > >> > > >> Am 03.11.22 um 10:29 schrieb

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
> On 03/11/2022 13:19 EET Ralf Becker wrote: > > > Hi Aki, > > Am 03.11.22 um 10:54 schrieb Aki Tuomi: > >> On 03/11/2022 11:46 EET Ralf Becker wrote: > >> > >> > >> Hi Aki, > >> > >> Am 03.11.22 um 10:29 schrieb Aki Tuomi: > On 03/11/2022 11:27 EET Ralf Becker wrote: > >

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
Hi Aki, Am 03.11.22 um 10:54 schrieb Aki Tuomi: On 03/11/2022 11:46 EET Ralf Becker wrote: Hi Aki, Am 03.11.22 um 10:29 schrieb Aki Tuomi: On 03/11/2022 11:27 EET Ralf Becker wrote: Hi Aki, Am 03.11.22 um 09:12 schrieb Aki Tuomi: On 03/11/2022 10:09 EET Ralf Becker wrote:

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Paul Kudla
hopefully this is NOT off topic I too migrated from cyrus imap server, it was to say at least fun you need to get the dovecot server up and running and testing with making a new account and get the folder structures working dependant on your required setups, as what seems to be indicated els

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
> On 03/11/2022 11:46 EET Ralf Becker wrote: > > > Hi Aki, > > Am 03.11.22 um 10:29 schrieb Aki Tuomi: > >> On 03/11/2022 11:27 EET Ralf Becker wrote: > >> > >> > >> Hi Aki, > >> > >> Am 03.11.22 um 09:12 schrieb Aki Tuomi: > On 03/11/2022 10:09 EET Ralf Becker wrote: > >

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
Hi Aki, Am 03.11.22 um 10:29 schrieb Aki Tuomi: On 03/11/2022 11:27 EET Ralf Becker wrote: Hi Aki, Am 03.11.22 um 09:12 schrieb Aki Tuomi: On 03/11/2022 10:09 EET Ralf Becker wrote: Hi Aki, Am 03.11.22 um 08:50 schrieb Aki Tuomi: On 03/11/2022 09:46 EET Ralf Becker wrote:

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
> On 03/11/2022 11:27 EET Ralf Becker wrote: > > > Hi Aki, > > Am 03.11.22 um 09:12 schrieb Aki Tuomi: > >> On 03/11/2022 10:09 EET Ralf Becker wrote: > >> > >> > >> Hi Aki, > >> > >> Am 03.11.22 um 08:50 schrieb Aki Tuomi: > On 03/11/2022 09:46 EET Ralf Becker wrote: > >

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
Hi Aki, Am 03.11.22 um 09:12 schrieb Aki Tuomi: On 03/11/2022 10:09 EET Ralf Becker wrote: Hi Aki, Am 03.11.22 um 08:50 schrieb Aki Tuomi: On 03/11/2022 09:46 EET Ralf Becker wrote: I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using doveadm backup -R, which work

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
> On 03/11/2022 10:09 EET Ralf Becker wrote: > > > Hi Aki, > > Am 03.11.22 um 08:50 schrieb Aki Tuomi: > >> On 03/11/2022 09:46 EET Ralf Becker wrote: > >> > >> > >> I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using > >> doveadm backup -R, which works for all folders

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Ralf Becker
Hi Aki, Am 03.11.22 um 08:50 schrieb Aki Tuomi: On 03/11/2022 09:46 EET Ralf Becker wrote: I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using doveadm backup -R, which works for all folders but the INBOX itself, which always stays empty. The Cyrus side uses altnamespace:

Re: doveadm backup|sync works for every folder but INBOX

2022-11-03 Thread Aki Tuomi
> On 03/11/2022 09:46 EET Ralf Becker wrote: > > > I'm trying to migrate an old Cyrus 2.5 server to Dovecot 2.3.19 using > doveadm backup -R, which works for all folders but the INBOX itself, > which always stays empty. > > The Cyrus side uses altnamespace:no and unixhierarchysep:no, it's

Re: Doveadm backup...

2022-03-28 Thread John Stoffel
> "Sami" == Sami Ketola writes: >> On 27. Mar 2022, at 23.09, John Stoffel wrote: >> >>> "Stephane" == Stephane Magnier writes: >> >> Sorry, I deleted your most recent email post before I could reply. >> But why don't you just do 'imapsync' instead from your production >> dovecot box

Re: Doveadm backup...

2022-03-28 Thread Sami Ketola
> On 27. Mar 2022, at 23.09, John Stoffel wrote: > >> "Stephane" == Stephane Magnier writes: > > Sorry, I deleted your most recent email post before I could reply. > But why don't you just do 'imapsync' instead from your production > dovecot box to some other backup system? Otherwise I'

Re: Doveadm backup...

2022-03-27 Thread Stephane Magnier
Hi John, Thanks for sharing. Effectively, I prefer to check out and test it before running into troubles.. and discovered that I have no backup up and running :-) 1) OK thanks for the tips.. re-indexation..."doveadm index -u USERx INBOX" 2) Running : [root@mbox1 xenia]# doveadm mailbox statu

Re: Doveadm backup...

2022-03-27 Thread John Stoffel
> "Stephane" == Stephane Magnier writes: Sorry, I deleted your most recent email post before I could reply. But why don't you just do 'imapsync' instead from your production dovecot box to some other backup system? Otherwise I'd probably work to setup dovecot's own replication but only have

Re: Doveadm backup...

2022-02-28 Thread Reuben Farrelly
Hi Stephen, Does it work if you delete the Maildir/ on the destination first and then initiate the backup? I ran into this problem recently - see my post on 21 Feb.  Looks very similar if not the same root cause. On 1/03/2022 6:46 am, Stephane Magnier wrote: I've seen in a previous post,

Re: Doveadm backup...

2022-02-28 Thread Stephane Magnier
I've seen in a previous post, that the fact to do an RSYNC might break the  index.. So, I've heard that this is not recommended. that's the reason why I decided to find a way to do a "clean" backup and be able to come back online if needed. So, do you use an RSYNC and in case of restoring the

Re: Doveadm backup...

2022-02-28 Thread Ben Burk
I'm not sure what you are attempting to do here. It looks like you just ran a doveadm backup and the process completed for userx with a warning that the remote system (your nfs mount) lost a particular mailbox (possibly your indexes changed or a mailbox was deleted). From the logs you pasted it

Re: Doveadm backup...

2022-02-27 Thread Stephane Magnier
Well no ..I thought that dsync was for synchro " realtime for 2 different places ? Having no 2 machines in parallel ( Just a single machine ) , I thought that a backup at regular interval  would be enough ? So, a simple backup should be done by dsync finally ? Do you recommend finally NOT to

Re: Doveadm backup...

2022-02-27 Thread Ben Burk
Did you try running dsync? On 2/27/22 23:15, Stephane Magnier wrote: HI, Any idea ? Any clue ? On 2/25/22 21:50, Stephane Magnier wrote: Hi I've recently tried to use the Dovecadm backup to backup the emails..  with the following syntax doveadm -Dv backup -u userx maildir:/mnt/nfs-backu

Re: Doveadm backup...

2022-02-27 Thread Stephane Magnier
HI, Any idea ? Any clue ? On 2/25/22 21:50, Stephane Magnier wrote: Hi I've recently tried to use the Dovecadm backup to backup the emails..  with the following syntax doveadm -Dv backup -u userx maildir:/mnt/nfs-backup/userx Sounds to be OK with few emails... Some of them got a lot of em

Re: doveadm backup : Warning: Deleting mailbox GUID= is missing locally

2022-01-27 Thread Sami Ketola
> On 27. Jan 2022, at 19.32, Laura Smith > wrote: > > So I should not be using "-R" with "doveadm backup" then ? > > For "-R" the docs say "will instead pull messages from the remote to the > local storage." > > for "backup" the docs say "doveadm backup performs one-way synchronization" >

Re: doveadm backup : Warning: Deleting mailbox GUID= is missing locally

2022-01-27 Thread Laura Smith
Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Thursday, January 27th, 2022 at 16:12, Sami Ketola wrote: > > On 27. Jan 2022, at 16.27, Laura Smith n5d9xq3ti233xiyif...@protonmail.ch > > wrote: > > > > Hi, > > > > As per the docs (https://wiki.dovecot.org/Tools/Dovea

Re: doveadm backup : Warning: Deleting mailbox GUID= is missing locally

2022-01-27 Thread Sami Ketola
> On 27. Jan 2022, at 16.27, Laura Smith > wrote: > > Hi, > > As per the docs (https://wiki.dovecot.org/Tools/Doveadm/Sync) I'm presently > running doveadm backup multiple times with a view to eventual server > migration. > > I am seeing messages such as this: > Warning: Deleting mailbox

Re: doveadm backup only working once?

2021-01-06 Thread Aki Tuomi
No, I'm suggesting you use any other mail format than mbox, like maildir, sdbox or mdbox. sdbox or maildir is pretty safe bet. Aki > On 06/01/2021 16:53 Engelbert Torremans wrote: > > > OK. So you are suggesting that moving to mdbox could solve my problem? > > I could migrate/reconfigure my

Re: doveadm backup only working once?

2021-01-06 Thread Odhiambo Washington
I experienced some corruption with mdbox that I had to move away from it to Maildir. Anyway, that's just me, On Wed, 6 Jan 2021 at 17:54, Engelbert Torremans wrote: > OK. So you are suggesting that moving to mdbox could solve my problem? > > I could migrate/reconfigure my "server2" to mdbox whil

Re: doveadm backup only working once?

2021-01-06 Thread Engelbert Torremans
OK. So you are suggesting that moving to mdbox could solve my problem? I could migrate/reconfigure my "server2" to mdbox while keeping my "production/server1" running on mbox and backup everything from server1->server2 and switch over once everything proves to be working OK. Engelbert Op 6-1

Re: doveadm backup only working once?

2021-01-06 Thread Aki Tuomi
Hi! dsync has limited support to work with mbox format, which is mainly to get away from it. Aki > On 06/01/2021 16:37 Christian Kivalo wrote: > > > On January 6, 2021 2:14:32 PM GMT+01:00, Engelbert Torremans > wrote: > >All, > > > >Maybe a relevant piece of additional information that

Re: doveadm backup only working once?

2021-01-06 Thread Christian Kivalo
On January 6, 2021 2:14:32 PM GMT+01:00, Engelbert Torremans wrote: >All, > >Maybe a relevant piece of additional information that could help in >figurring out what is going wrong here that I forgot to add in my >previous posting. > >After the succesfull first backup execution using: >#dovea

Re: doveadm backup only working once?

2021-01-06 Thread Engelbert Torremans
All, Maybe a relevant piece of additional information that could help in figurring out what is going wrong here that I forgot to add in my previous posting. After the succesfull first backup execution using: #doveadm -D -v backup -R -f -u synctest tcp:192.168.3.1:12345 as described in detail

RE: doveadm backup -f -n inbox doing writes?

2020-12-22 Thread Marc Roos
[mailto:aki.tu...@open-xchange.com] Sent: 22 December 2020 09:52 To: Marc Roos; dovecot Subject: Re: doveadm backup -f -n inbox doing writes? > On 22/12/2020 00:12 Marc Roos wrote: > > > If I start a 'doveadm backup -f -n inbox' on the source server, why do > also disk writ

Re: doveadm backup -f -n inbox doing writes?

2020-12-22 Thread Aki Tuomi
> On 22/12/2020 00:12 Marc Roos wrote: > > > If I start a 'doveadm backup -f -n inbox' on the source server, why do > also disk writes increase on the source server (indexes mostly?) Probably because your indexes are not up to date? Aki

Re: Doveadm Backup (other) issues

2020-06-11 Thread Gingko
Hello, Sorry for the reply delay, I had to worry about something else … Here is my *doveconf -n*: # 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.4 () # OS: Linux 4.19.0-6-amd64 x86_64 Debian 10.4 # Hostname: /[my-host-name]/ auth_debug = yes auth_debug_passwords = yes

Re: Doveadm Backup (other) issues

2020-06-11 Thread Gingko
Hello, Sorry for the reply delay, I had to worry about something else … Here is my *doveconf -n*: # 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.4 () # OS: Linux 4.19.0-6-amd64 x86_64 Debian 10.4 # Hostname:/[my-host-name]/ auth_debug =

Re: Doveadm Backup (other) issues

2020-06-09 Thread Sami Ketola
> On 8. Jun 2020, at 17.39, John Stoffel wrote: > >> "Sami" == Sami Ketola > > writes: > >>> On 7. Jun 2020, at 18.20, John Stoffel wrote: >>> "Gingko" == Gingko writes: >>> > Gingko> I also have issues using Dovecot Backup. >>> > Gin

Re: Doveadm Backup (other) issues

2020-06-08 Thread John Stoffel
> "Sami" == Sami Ketola writes: >> On 7. Jun 2020, at 18.20, John Stoffel wrote: >> >>> "Gingko" == Gingko writes: >> Gingko> I also have issues using Dovecot Backup. >> Gingko> I am trying to Backup (or possibly Sync - one way) a single Gingko> user IMAP account from a remote serve

Re: Doveadm Backup (other) issues

2020-06-08 Thread Sami Ketola
> On 7. Jun 2020, at 18.20, John Stoffel wrote: > >> "Gingko" == Gingko writes: > > Gingko> I also have issues using Dovecot Backup. > > Gingko> I am trying to Backup (or possibly Sync - one way) a single > Gingko> user IMAP account from a remote server, unknown type, to my > Gingko> o

Re: Doveadm Backup (other) issues

2020-06-08 Thread Sami Ketola
> On 7. Jun 2020, at 16.13, Gingko wrote: > > Hello, > > I also have issues using Dovecot Backup. > > I am trying to Backup (or possibly Sync - one way) a single user IMAP account > from a remote server, unknown type, to my own server. > > For that purpose, I defined the following parameter

Re: Doveadm Backup (other) issues

2020-06-07 Thread John Stoffel
> "Gingko" == Gingko writes: Gingko> I also have issues using Dovecot Backup. Gingko> I am trying to Backup (or possibly Sync - one way) a single Gingko> user IMAP account from a remote server, unknown type, to my Gingko> own server. I think this is the key problem here, doveadm only talk

Re: Doveadm Backup issues

2020-06-07 Thread Bernardo Reino
On Sat, 6 Jun 2020, @lbutlr wrote: On 05 Jun 2020, at 17:09, Bernardo Reino wrote: USERS=$(cat /etc/dovecot/virtual_passwd | cut -d: -f1) Is that a standard file? It's not one I have. No, of course not! :) That's just my userdb/passdb (passwd-file). I would use (not that I have, but it s

Re: Doveadm Backup issues

2020-06-06 Thread @lbutlr
On 05 Jun 2020, at 17:09, Bernardo Reino wrote: > USERS=$(cat /etc/dovecot/virtual_passwd | cut -d: -f1) Is that a standard file? It's not one I have. I would use (not that I have, but it seem like the way to get a list of users) USERS=$( doveadm user '*' ) -- You start a conversation you

Re: Doveadm Backup issues

2020-06-05 Thread Francis Augusto Medeiros-Logeay
On 6 Jun 2020, at 01:10, Bernardo Reino wrote: > > On Fri, 5 Jun 2020, Francis Augusto Medeiros-Logeay wrote: > >> Another related question: if backing up on another location on the same >> computer, using -A doesn't seem to recreate the structure of the original >> Maildir (for example, /v

Re: Doveadm Backup issues

2020-06-05 Thread Bernardo Reino
On Fri, 5 Jun 2020, Francis Augusto Medeiros-Logeay wrote: Another related question: if backing up on another location on the same computer, using -A doesn't seem to recreate the structure of the original Maildir (for example, /var/mail/%d%n). Is there a way to do that? If I understand your

Re: Doveadm Backup issues

2020-06-05 Thread Francis Augusto Medeiros-Logeay
Hi, As said below, I am trying to use doveadm backup. I made some progress, but I think I misunderstand some of the basic principles behind the command. My main issue is: when using the -A flag, is there a way to create the backup user on the remote server if it doesn't exist there? Anothe

Re: doveadm backup : Error: Failed to access mailbox

2020-05-24 Thread Laura Smith
FYI, found the solution. It seems doveadm can't cope with brackets in mailbox names. I moved the user's mails into non-braketed, deleted the bracketed and doveadm backup worked fine after that. ‐‐‐ Original Message ‐‐‐ On Sunday, 24 May 2020 14:32, Laura Smith wrote: > Hi All, > > So

Re: doveadm backup from gmail with imapc

2020-04-10 Thread Ben Mulvihill
On Thu, 2020-04-09 at 13:48 +0300, Sami Ketola wrote: > > > > > On 31 Mar 2020, at 23.18, Ben Mulvihill > > wrote: > > > > Hello again, > > > > I am still stuck I'm afraid. > > > > I now have doveadm backup working perfectly from > > a small gmail mailbox (a few hundred messages), but > > whe

Re: doveadm backup from gmail with imapc

2020-04-09 Thread Joseph Tam
On Thu, 9 Apr 2020, Plutocrat wrote: I could never figure out how to get the dovecot indexes correct, so that when the client connected to the new server via POP, it didn't re-download all the messages. IMAP was OK though. It's been a while since I migrated from the qpopper, but I believe thi

Re: doveadm backup from gmail with imapc

2020-04-09 Thread Sami Ketola
> On 31 Mar 2020, at 23.18, Ben Mulvihill wrote: > > Hello again, > > I am still stuck I'm afraid. > > I now have doveadm backup working perfectly from > a small gmail mailbox (a few hundred messages), but > when I try the same configuration (apart from usernames > and passwords obviously) w

Re: doveadm backup from gmail with imapc

2020-04-09 Thread Sami Ketola
> On 9 Apr 2020, at 4.45, Plutocrat wrote: > > On 08/04/2020 19.14, Ben Mulvihill wrote: >> Thanks for the suggestion. I think my next step will be to investigate >> imapsync, or maybe isync, which also looks promising. > > I've recently migrated a server with imapsync with 150Gb of email and

Re: doveadm backup from gmail with imapc

2020-04-08 Thread Plutocrat
On 08/04/2020 19.14, Ben Mulvihill wrote: > Thanks for the suggestion. I think my next step will be to investigate > imapsync, or maybe isync, which also looks promising. I've recently migrated a server with imapsync with 150Gb of email and 200+ accounts. I found the trick with this was the run i

Re: doveadm backup into IMAP folder

2020-04-08 Thread Benny Pedersen
On 2020-04-08 23:36, Gionatan Danti wrote: I am migrating a number of account from an old domain to a new one. I would like to store all imported email from the old domain under a specific IMAP folder. For example, if having t...@domain.old, I would like to import all old email to t...@domain.ne

Re: doveadm backup from gmail with imapc

2020-04-08 Thread Ben Mulvihill
On Mon, 2020-04-06 at 23:25 +0530, Durga Prasad Malyala wrote: > On Wed, 1 Apr 2020 at 10:32, Ben Mulvihill > wrote: > > > >  > Hi,  Wouldn't a software like imapsync be a better tool here? > Rgds/DP Thanks for the suggestion. I think my next step will be to investigate imapsync, or maybe isync,

Re: doveadm backup from gmail with imapc

2020-04-06 Thread Durga Prasad Malyala
On Wed, 1 Apr 2020 at 10:32, Ben Mulvihill wrote: > > Hello again, > > I am still stuck I'm afraid. > > I now have doveadm backup working perfectly from > a small gmail mailbox (a few hundred messages), but > when I try the same configuration (apart from usernames > and passwords obviously) with a

Re: doveadm backup from gmail with imapc

2020-03-31 Thread Ben Mulvihill
Hello again, I am still stuck I'm afraid. I now have doveadm backup working perfectly from a small gmail mailbox (a few hundred messages), but when I try the same configuration (apart from usernames and passwords obviously) with a large gmail mailbox (around 60,000 messages), doveadm connects suc

Re: doveadm backup from gmail with imapc

2020-03-31 Thread Ben Mulvihill
On Tue, 2020-03-31 at 09:06 +0300, Aki Tuomi wrote: > > > > On 30/03/2020 22:11 Ben Mulvihill wrote: > > > >   > > I am trying to backup a gmail account (not the one I am writing > > from) > > to dovecot, using doveadm-backup and imapc, but am having ssl > > connection problems. > > > > ted@exp

Re: doveadm backup from gmail with imapc

2020-03-30 Thread Aki Tuomi
> On 30/03/2020 22:11 Ben Mulvihill wrote: > > > I am trying to backup a gmail account (not the one I am writing from) > to dovecot, using doveadm-backup and imapc, but am having ssl > connection problems. > > ted@expectation:~# doveadm backup -D -R -u ted imapc: > dsync(ted): Info: imapc(im

Re: doveadm backup -R -m -s not picking up a new message

2020-02-16 Thread Daniel Shahaf
Daniel Shahaf wrote on Fri, 07 Feb 2020 07:36 +: > Daniel Shahaf wrote on Thu, 06 Feb 2020 03:37 +: > > Good morning, > > > > I use «doveadm backup -R -m foo -s $state» to create a local mirror of > > an imapc remote folder. When I run that command, wait for it to finish, > > deliver a ne

Re: doveadm backup -R -m -s not picking up a new message

2020-02-06 Thread Daniel Shahaf
Daniel Shahaf wrote on Thu, 06 Feb 2020 03:37 +: > Good morning, > > I use «doveadm backup -R -m foo -s $state» to create a local mirror of > an imapc remote folder. When I run that command, wait for it to finish, > deliver a new message to the remote folder, and run that command again, > the

Re: doveadm backup mdbox - initial copy slow

2019-08-30 Thread Gerald Galster via dovecot
> On 30.8.2019 12.33, Gerald Galster via dovecot wrote: >> Hello, >> >> when calling doveadm backup like in the following example, it seems to flush >> every email to disk >> maxing out harddrives (iops) and resulting in very poor performance: >> >> Calling doveadm -o plugin/quota= backup -u "

Re: doveadm backup mdbox - initial copy slow

2019-08-30 Thread Aki Tuomi via dovecot
On 30.8.2019 12.33, Gerald Galster via dovecot wrote: > Hello, > > when calling doveadm backup like in the following example, it seems to flush > every email to disk > maxing out harddrives (iops) and resulting in very poor performance: > > Calling doveadm -o plugin/quota= backup -u "statusma...

Re: doveadm backup + ISO 8859-1 mailbox name

2019-04-04 Thread Sami Ketola via dovecot
> On 4 Apr 2019, at 11.03, Michael Goth via dovecot wrote: > > That too includes the byte in its output. But I've found that only a > couple of mailboxes are affected, so i just renamed the folders. > > Thanks for your help! The legacy server is then not RFC 3501 compliant. 8-bit folder na

Re: doveadm backup + ISO 8859-1 mailbox name

2019-04-04 Thread Michael Goth via dovecot
On 4/3/19 2:23 PM, Sami Ketola via dovecot wrote: On 3 Apr 2019, at 13.40, Michael Goth via dovecot wrote: Hi! I'm trying to migrate a mailbox from an old IMAP server (not Dovecot) to a new Dovecot server with 'doveadm backup'. The command fails because of an unexpected character in a

Re: doveadm backup + ISO 8859-1 mailbox name

2019-04-03 Thread Sami Ketola via dovecot
> On 3 Apr 2019, at 13.40, Michael Goth via dovecot wrote: > > Hi! > > I'm trying to migrate a mailbox from an old IMAP server (not Dovecot) to a > new Dovecot server with 'doveadm backup'. The command fails because of an > unexpected character in a mailbox name: > > > doveadm -o imapc_us

Re: doveadm backup abort in imapc-client.c

2018-10-01 Thread Timo Sirainen
> On 27 Sep 2018, at 21.52, Evan Klitzke wrote: > > I am using Dovecot 2.2.36 and I am trying to use doveadm backup to migrate > email from Gmail to Dovecot. When I run doveadm backup, it goes for a while > and then eventually hits an assertion error (I've tried this a few times now > and it

Re: doveadm backup abort in imapc-client.c

2018-09-29 Thread Evan Klitzke
Admin writes: "Reliably" means what exactly? - At progress of 66%? - after e.g. 9611 Mails? - whenever a specific Mail is touched? Reliably means "before the sync finishes", but not at a specific point. I have about 2GB of mail I'm trying to sync, and the furthest the sync has gotten i

Re: doveadm backup abort in imapc-client.c

2018-09-27 Thread Admin
"Reliably" means what exactly? - At progress of 66%? - after e.g. 9611 Mails? - whenever a specific Mail is touched? Von unterwegs gesendet > Am 27.09.2018 um 20:52 schrieb Evan Klitzke : > > I am using Dovecot 2.2.36 and I am trying to use doveadm backup to migrate > email from Gmail to Do

Re: doveadm backup -A does not create user dirs

2018-06-20 Thread Aki Tuomi
%u is not expanded on command line, if you need that, you need to use for loop. Aki On 20.06.2018 13:53, Vladimir Tiukhtin wrote: > > Hello > > doveadm backup -A mdbox:/tmp/test > > does not create per user folders, instead it tries to override same > catalog again and again > > doveadm

Re: Doveadm backup issues on dovecot 2.3.1

2018-04-02 Thread Aki Tuomi
> On 02 April 2018 at 19:19 Ricardo Machini Barbosa > wrote: > > > Hello, > > > > After update dovecot from 2.3.0.1 to 2.3.1 the doveadm backup stopped to > work. > > > > Command line: > > doveadm -D backup -u em...@dominio.com.br -R tcp:mailsrv01:9011 > > Can you provide output o

Re: Doveadm backup error.

2017-12-10 Thread Dovecot list
But on other side i have that same settings (Only on dovecot 1 ) ID and GID are that same, and on other site i dont have any info in logs... I think this is @ dovecot 2 problem, but dont know how to solve it... Best regards. 2017-12-01 8:02 GMT+01:00 Aki Tuomi : > This is probably problem on the

Re: Doveadm backup error.

2017-11-30 Thread Aki Tuomi
This is probably problem on the other end. Aki On 20.11.2017 19:36, Dovecot list wrote: > Hello. I try to migrate dovecot 1 to dovecot 2 with doveadm backup. > But when i try to set doveadm backup i get : > > mx3:/root/dsync@[23:11] # doveadm -v -c ah.temp backup -R -u a...@test.pl > imapc: > d

Re: Doveadm backup error.

2017-11-29 Thread Dovecot list
Still not solved ;/ My dovecot -n # 2.2.32 (dfbe293d4): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.4.20 (7cd71ba) # OS: FreeBSD 10.3-RELEASE-p2 amd64 auth_cache_size = 10 M default_client_limit = 2000 dict { sqlquota = pgsql:/usr/local/etc/dovecot/quota-sql.conf.ext } first_vali

Re: doveadm backup panic, dsync-ibc.c, dsync_ibc_send_mailbox_tree_node, assertion failed: (*name != NULL)

2017-09-28 Thread Robert Giles
On 09/28/2017 09:55 AM, Robert Giles wrote: server:~# doveadm -Dv -o imapc_user=username-dc -o imapc_password=password backup -R -u username -x .mailboxlist -x .procmailrc -x vacation.msg -x .bash_history -x .Xauthority -x remote_pinerc imapc: > I'll add that Lamiral's imapsync utility per

Re: doveadm backup and quota

2017-02-15 Thread florent
Sorry I didn't search enough before posting. I found this : http://www.dovecot.org/list/dovecot/2012-February/063585.html I will try the workaround.

  1   2   >