Re: rsync /old/server new/server ?

2019-03-13 Thread @lbutlr via dovecot
On 13 Mar 2019, at 13:25, Shawn Heisey via dovecot wrote: > * Shut down postfix and dovecot on both old and new servers. > * Updated DNS records to point to new address. > * Ran one final rsync of maildirs from old server to new server. > * Waited 30 minutes with services on both servers still

Re: dovecot-keywords are not preserved any more when moving mails between folders

2019-03-13 Thread Dan Christensen via dovecot
On Mar 13, 2019, Dan Christensen via dovecot wrote: > Just to clarify: I think the patch is supposed to fix the problem I > reported about dsync. Or maybe I'm wrong. I just tested the patch, and it doesn't fix the problem I reported about dsync. Dan

Re: flags not synced correctly with dovecot sync (dsync)

2019-03-13 Thread Dan Christensen via dovecot
On Mar 12, 2019, Dan Christensen via dovecot wrote: > In another thread, Timo wrote: > > On Mar 12, 2019, Timo Sirainen via dovecot wrote: > >> That bug is fixed with attached patch. > > I'll report back once I've tested it. I applied 2656.patch to version 2.3.5 as found at

Re: rsync /old/server new/server ?

2019-03-13 Thread Shawn Heisey via dovecot
On 3/8/2019 4:44 AM, Voytek Eymont via dovecot wrote: I have Centos 7 with dovecot/postfix/mysql Maildir I want to bring in a new server, new server will have same hostname as current, but, different IP I was intending to rsync -avzhe ssh vmail@oldserver:/var/vmail/vmail1 /var/vmail/vmail1

Re: dovecot-keywords are not preserved any more when moving mails between folders

2019-03-13 Thread Dan Christensen via dovecot
On Mar 13, 2019, Piper Andreas via dovecot wrote: >> That bug is fixed with attached patch. > > I assume, this patch is not included in dovecot-2.3.5? > > Because I still observe the same problem (dovecot-keywords set by > thunderbird are lost when moving mail between folders) on my >

Re: Regression ACL & namespace prefix

2019-03-13 Thread Michal Hlavinka via dovecot
On 3/12/19 10:18 PM, Timo Sirainen via dovecot wrote: On 18 Sep 2018, at 17.10, Michal Hlavinka > wrote: Seems that for Global ACL directory, namespace prefix is not part of the path, when looking for acl file. Is there a reason you're using ACL directory instead

Re: Unable to set quota-fs plugin

2019-03-13 Thread Eric Grammatico via dovecot
Thanks Aki, Please find attached strace for imap and quota-status which report an error at the end. Regards, - Eric Grammatico _/) 13 mars 2019 12:23 "Aki Tuomi" a écrit: > The doveadm command seems to have worked. Can you retry with imap? > > strace /usr/lib/dovecot/imap -u victim > >

Re: recipient bcc and dovecot

2019-03-13 Thread Aki Tuomi via dovecot
On 13.3.2019 14.19, @lbutlr via dovecot wrote: > On 13 Mar 2019, at 01:42, Aki Tuomi via dovecot wrote: >> Add mail_location setting or return 'mail' from userdb. > userdb { > args = /usr/local/etc/dovecot/dovecot-sql.conf.ext > default_fields = uid=vpopmail gid=vchkpw >

Re: recipient bcc and dovecot

2019-03-13 Thread @lbutlr via dovecot
On 13 Mar 2019, at 01:42, Aki Tuomi via dovecot wrote: > Add mail_location setting or return 'mail' from userdb. userdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext default_fields = uid=vpopmail gid=vchkpw mail_location=/usr/local/virtual/%u mail=maildir:/usr/local/virtual/%u

Double quota calulation when special folder is present

2019-03-13 Thread Bernd Wurst via dovecot
Hello, we're operating dovecot on a small server. Some years ago, we migrated from courier IMAP to dovecot. Therefore, we defined our default Namespace "inbox" with prefix "INBOX." to have this compatible. I found this in some migration docs those days. Generally, everything worked as expected.

Re: Unable to set quota-fs plugin

2019-03-13 Thread Aki Tuomi via dovecot
The doveadm command seems to have worked. Can you retry with imap? strace /usr/lib/dovecot/imap -u victim Aki On 13.3.2019 12.58, Eric Grammatico via dovecot wrote: > Here is attached. > > > - > Eric Grammatico _/) > > > 13 mars 2019 11:29 "Aki Tuomi" a écrit: >> Can you try >> >> strace

Re: Unable to set quota-fs plugin

2019-03-13 Thread Eric Grammatico via dovecot
Here is attached. - Eric Grammatico _/) 13 mars 2019 11:29 "Aki Tuomi" a écrit: > Can you try > > strace doveadm quota get -u victim > > and post the output of this? > > Aki > > On 13.3.2019 12.11, Eric Grammatico via dovecot wrote: > >> Looks working. >> >> [root@mail ~]# ls -lh / >>

Re: Unable to set quota-fs plugin

2019-03-13 Thread Aki Tuomi via dovecot
Can you try strace doveadm quota get -u victim and post the output of this? Aki On 13.3.2019 12.11, Eric Grammatico via dovecot wrote: > Looks working. > > [root@mail ~]# ls -lh / > total 72K > -rw---1 root root 8.0K Mar 13 09:56 aquota.group > -rw---1 root root 7.0K Mar 13

Re: Unable to set quota-fs plugin

2019-03-13 Thread Eric Grammatico via dovecot
Looks working. [root@mail ~]# ls -lh / total 72K -rw---1 root root 8.0K Mar 13 09:56 aquota.group -rw---1 root root 7.0K Mar 13 09:56 aquota.user [root@mail ~]# repquota -a *** Report for user quotas on device /dev/vda1 Block grace time: 7days; Inode grace time: 7days

Re: Unable to set quota-fs plugin

2019-03-13 Thread Aki Tuomi via dovecot
Can you ensure that quota actually works on your system? Do the aquota files exist? Aki > On 13 March 2019 at 11:41 Eric Grammatico via dovecot > wrote: > > > Thanks Yassine, > > My / is mounted from /dev/vda1 with the following options: > [root@mail ~]# cat /etc/mtab |grep "vda1 " >

Re: Unable to set quota-fs plugin

2019-03-13 Thread Eric Grammatico via dovecot
Thanks Yassine, My / is mounted from /dev/vda1 with the following options: [root@mail ~]# cat /etc/mtab |grep "vda1 " /dev/vda1 / ext4 rw,relatime,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group 0 0 Regards, - Eric Grammatico _/) 13 mars 2019 10:31 "Yassine Chaouche via dovecot" a

Re: Unable to set quota-fs plugin

2019-03-13 Thread Yassine Chaouche via dovecot
On 3/13/19 10:14 AM, Eric Grammatico via dovecot wrote: [...] Mar 11 17:56:20 mail.xxx.xx dovecot[4923]: imap()<4939>: Error: Failed to get quota resource STORAGE: quota-fs: quotactl(Q_GETQUOTA, /dev/vda1) failed: No such file or directory That's odd, I usually see s*da (not *v*da)

Re: Unable to set quota-fs plugin

2019-03-13 Thread Eric Grammatico via dovecot
To complete, I am on Fedora 28, kernel 4.20.14-100.fc28.x86_64 Thanks and regards, - Eric Grammatico _/) 13 mars 2019 10:14 "Eric Grammatico" a écrit: Hello There, I am try desperatly to setup quota-fs plugin in Dovecot. I have the following configuration in place:

Unable to set quota-fs plugin

2019-03-13 Thread Eric Grammatico via dovecot
Hello There, I am try desperatly to setup quota-fs plugin in Dovecot. I have the following configuration in place: /etc/dovecot/conf.d/10-mail.conf:mail_plugins = $mail_plugins quota zlib /etc/dovecot/conf.d/20-imap.conf: mail_plugins = $mail_plugins imap_quota

Re: sieve vacation to an alias group

2019-03-13 Thread Odhiambo Washington via dovecot
On Wed, 13 Mar 2019 at 11:16, Monis Monther via dovecot wrote: > Hi, > > Is there a solution for this? Not necessarily with vacation , even with > another tool. It feels like this should be a normal use case, but no one > has a solution to it. Any help would be appreciated. > > Thanks > Monis >

Re: sieve vacation to an alias group

2019-03-13 Thread Monis Monther via dovecot
Hi, Is there a solution for this? Not necessarily with vacation , even with another tool. It feels like this should be a normal use case, but no one has a solution to it. Any help would be appreciated. Thanks Monis On Sun, Mar 10, 2019 at 3:18 PM Yassine Chaouche via dovecot <

Re: recipient bcc and dovecot

2019-03-13 Thread Aki Tuomi via dovecot
Add mail_location setting or return 'mail' from userdb. Aki On 13.3.2019 5.53, @lbutlr via dovecot wrote: > I have a recipient_bcc_maps which contains a bcc map that is updated everyday: > > rbcc.pcre: > if !/backup.*@/ > /^([^+_]*).*@([^.]*)/ backup+071.${1}-${2}@adomain.tld > endif > > the

Re: Delayed flags changes over IDLE

2019-03-13 Thread Kostya Vasilyev via dovecot
Timo, On Wed, Mar 13, 2019, at 9:36 AM, Kostya Vasilyev wrote: > Timo, > > On Wed, Mar 13, 2019, at 12:39 AM, Timo Sirainen wrote: >> On 12 Mar 2019, at 10.21, Kostya Vasilyev via dovecot >> wrote: >>> >>> It makes no difference if the IDLE connection does SELECT or SELECT >>> (CONDSTORE)

Re: Delayed flags changes over IDLE

2019-03-13 Thread Kostya Vasilyev via dovecot
Timo, On Wed, Mar 13, 2019, at 12:39 AM, Timo Sirainen wrote: > On 12 Mar 2019, at 10.21, Kostya Vasilyev via dovecot > wrote: >> >> It makes no difference if the IDLE connection does SELECT or SELECT >> (CONDSTORE) prior to going IDLE. >> >> But then as far as I know (?) - in Dovecot, once