Understanding doveadm rebuild

2020-03-26 Thread Patrick Ben Koetter
Greetings, I'm trying to understand if the doveadm rebuild command is suited to fix a problem we have on a customers platform. The customer uses sdbox in combination with SIS and for $REASONS dovecot cannot find the attachements anymore. They are there, but the references to them in the messages

Help with migration to Dovecot from raw files

2020-03-26 Thread Stefano Antonelli
Hello list, I recently migrated to Dovecot from a very old version of IceWarp running on failing hardware running Windows XP. I had a lot of issues downloading mail through imap. What I have instead are the email files directly off the harddrive from IceWarp's mail store. I rearranged the

Re: Help with migration to Dovecot from raw files

2020-03-26 Thread Aki Tuomi
You could try something simple like just for n in *; do cat $n | doveadm save -u targetuser; done or if the IceWarp has IMAP interface, you could try doveadm -o imapc_host=hostname -o imapc_user=username -o imapc_password=password sync -1R targetuser imapc: Aki > On 26/03/2020 12:11 Stefano A

Re: Not able to start dovecot

2020-03-26 Thread Olaf Hopp
On 3/20/20 4:43 PM, Alexander Dalloz wrote: Use a proper systemd unit file instead of the initd script. Alexander Use e.g. the following for getting started: # This file is part of Dovecot # # DO NOT CUSTOMIZE THIS FILE, INSTEAD # create the file: # `/etc/systemd/system/dovecot.servi

Re: Not able to start dovecot

2020-03-26 Thread Sami Ketola
> On 18 Mar 2020, at 19.55, Adam Raszkiewicz wrote: > > Freshly compiled dovecot 2.3.9.3 on Centos 7 for some reason not able to start > > sudo systemctl status dovecot.service > ● dovecot.service - LSB: Starts the Dovecot POP3/IMAP service >Loaded: loaded (/etc/rc.d/init.d/dovecot; bad;

doveadm rebuild: Failed to add attachment keywords

2020-03-26 Thread Patrick Ben Koetter
Greetings, I'm using the current dovecot release 2.3.10 and I try to rebuild mailboxes with broken attachment paths. When I run this command: doveadm rebuild attachments -u u...@example.com ALL I runs fine for 6199 of 6223 messages and fails then at message 6200 with this message: doveadm(u...

Re: Help with migration to Dovecot from raw files

2020-03-26 Thread Stefano Antonelli
On 2020-03-26 03:37, Aki Tuomi wrote: You could try something simple like just for n in *; do cat $n | doveadm save -u targetuser; done Thank you. This "works" in that it renames the files for me. However, 1. the filename timestamps are all similar (ie. time of import) 2. the emails showed