Re: Maintaining table quota2

2019-02-12 Thread Aki Tuomi via dovecot
On 13.2.2019 2.02, Robert Moskowitz via dovecot wrote: > > > On 2/12/19 1:57 PM, Aki Tuomi wrote: >> >>> On 12 February 2019 at 20:52 Robert Moskowitz via dovecot < >>> dovecot@dovecot.org > wrote: >>> >>> >>> >>> >>> On 2/12/19 1:03 PM, Aki Tuomi via dovecot wrote:

Re: Using SHA256/512 for SQL based password

2019-02-12 Thread Matthias Fechner via dovecot
Am 13. Februar 2019 00:34:15 schrieb Robert Moskowitz : On 2/12/19 6:03 PM, Matthias Fechner via dovecot wrote: Am 12.02.2019 um 17:05 schrieb Robert Moskowitz via dovecot: I have trying to find how to set the dovecot-sql.conf for using SHA256/512. I am going to start clean with the

Re: Using SHA256/512 for SQL based password

2019-02-12 Thread Robert Moskowitz via dovecot
On 2/12/19 7:16 PM, Michael Slusarz via dovecot wrote: On February 12, 2019 at 4:33 PM Robert Moskowitz via dovecot wrote: On 2/12/19 6:03 PM, Matthias Fechner via dovecot wrote: Am 12.02.2019 um 17:05 schrieb Robert Moskowitz via dovecot: I have trying to find how to set the

Re: Using SHA256/512 for SQL based password

2019-02-12 Thread Michael Slusarz via dovecot
> On February 12, 2019 at 4:33 PM Robert Moskowitz via dovecot > wrote: > > On 2/12/19 6:03 PM, Matthias Fechner via dovecot wrote: > > Am 12.02.2019 um 17:05 schrieb Robert Moskowitz via dovecot: > >> I have trying to find how to set the dovecot-sql.conf for using > >> SHA256/512.  I am going

Re: Maintaining table quota2

2019-02-12 Thread Robert Moskowitz via dovecot
On 2/12/19 1:57 PM, Aki Tuomi wrote: On 12 February 2019 at 20:52 Robert Moskowitz via dovecot < dovecot@dovecot.org > wrote: On 2/12/19 1:03 PM, Aki Tuomi via dovecot wrote: Dovecot keeps the quota current, although dict quota has been known to be bit bad

Re: Using SHA256/512 for SQL based password

2019-02-12 Thread Robert Moskowitz via dovecot
On 2/12/19 6:03 PM, Matthias Fechner via dovecot wrote: Am 12.02.2019 um 17:05 schrieb Robert Moskowitz via dovecot: I have trying to find how to set the dovecot-sql.conf for using SHA256/512.  I am going to start clean with the stronger format, not migrate from the old MD5.  It seems all I

Re: Using SHA256/512 for SQL based password

2019-02-12 Thread Matthias Fechner via dovecot
Am 12.02.2019 um 17:05 schrieb Robert Moskowitz via dovecot: > I have trying to find how to set the dovecot-sql.conf for using > SHA256/512.  I am going to start clean with the stronger format, not > migrate from the old MD5.  It seems all I need is: you maybe would like to have a look to the

Re: smtp_address_cmp does not ignore case of localpart

2019-02-12 Thread John Fawcett via dovecot
On 12/02/2019 21:41, Andreas Jobs via dovecot wrote: > On Tue, Feb 12, 2019 at 08:12:43AM +0100, John Fawcett via dovecot wrote: >> On 11/02/2019 22:43, Andreas Jobs via dovecot wrote: >> In practice if you convert the username part to lower case in the MTA >> then you will accept mail with mixed

Re: smtp_address_cmp does not ignore case of localpart

2019-02-12 Thread Andreas Jobs via dovecot
On Tue, Feb 12, 2019 at 08:12:43AM +0100, John Fawcett via dovecot wrote: On 11/02/2019 22:43, Andreas Jobs via dovecot wrote: In practice if you convert the username part to lower case in the MTA then you will accept mail with mixed case but only have to deal with lowercase in Dovecot. Yes,

Re: Can't sync mailbox XXX: Mailbox isn't selectable

2019-02-12 Thread Joseph Tam via dovecot
On Sat, 9 Feb 2019, Tamas Hegedus wrote: I have users with file system folders, which contain mbox files and dovecot indexes, in the ~/mail directory. If I run dsync, I have an error message and the sync can not be completed: Can't sync mailbox FOLDER_NAME: Mailbox isn't selectable I could

Re: Maintaining table quota2

2019-02-12 Thread Aki Tuomi via dovecot
On 12 February 2019 at 20:52 Robert Moskowitz via dovecot < dovecot@dovecot.org> wrote: On 2/12/19 1:03 PM, Aki Tuomi via dovecot wrote: >> On 12 February 2019 at 19:55 Robert Moskowitz via

Re: Maintaining table quota2

2019-02-12 Thread Robert Moskowitz via dovecot
On 2/12/19 1:03 PM, Aki Tuomi via dovecot wrote: On 12 February 2019 at 19:55 Robert Moskowitz via dovecot wrote: On 2/12/19 12:38 PM, Aki Tuomi via dovecot wrote: On 12 February 2019 at 18:23 Robert Moskowitz via dovecot wrote: Does dovecot compute that values for quota2 with each

Re: doveadm import with subfolder oddity

2019-02-12 Thread Mark Moseley via dovecot
On Mon, Feb 4, 2019 at 1:59 PM Mark Moseley wrote: > This has got to be something weird in my config. And the standard > disclaimer of '"happy to post doveconf -n, but wanted to see if this is > normal first" :) > > Background: Ubuntu Xenial, running 2.2.36. Mailbox type is mdbox and I've > got

Re: Doveadm service as non-root user

2019-02-12 Thread Mark Moseley via dovecot
On Mon, Feb 4, 2019 at 12:04 PM Mark Moseley wrote: > > On Fri, Feb 1, 2019 at 11:37 PM Aki Tuomi > wrote: > >> >> On 01 February 2019 at 23:16 Mark Moseley < moseleym...@gmail.com> >> wrote: >> >> >> Running: Ubuntu xenial, dovecot 2.2.36 >> >> I've been working on moving our user base from

Re: Maintaining table quota2

2019-02-12 Thread Aki Tuomi via dovecot
> On 12 February 2019 at 19:55 Robert Moskowitz via dovecot > wrote: > > > > > On 2/12/19 12:38 PM, Aki Tuomi via dovecot wrote: > >> On 12 February 2019 at 18:23 Robert Moskowitz via dovecot > >> wrote: > >> > >> > >> Does dovecot compute that values for quota2 with each email it

Re: Maintaining table quota2

2019-02-12 Thread Robert Moskowitz via dovecot
On 2/12/19 12:38 PM, Aki Tuomi via dovecot wrote: On 12 February 2019 at 18:23 Robert Moskowitz via dovecot wrote: Does dovecot compute that values for quota2 with each email it updates for the user?  Or only an incremental change? I ask because I am looking at migrating all the user

Re: Maintaining table quota2

2019-02-12 Thread Aki Tuomi via dovecot
> On 12 February 2019 at 18:23 Robert Moskowitz via dovecot > wrote: > > > Does dovecot compute that values for quota2 with each email it updates > for the user?  Or only an incremental change? > > I ask because I am looking at migrating all the user mail from the old > server to the new

Re: Using SHA256/512 for SQL based password

2019-02-12 Thread Aki Tuomi via dovecot
> On 12 February 2019 at 19:24 Leonardo Rodrigues via dovecot > wrote: > > > >     Here i have SSHA256 working with: > > default_pass_scheme = PLAIN > >     and my database scheme just received the hashed password prefixed > by the SSHA indicator, just like: > > mysql> select * from

Re: Using SHA256/512 for SQL based password

2019-02-12 Thread Leonardo Rodrigues via dovecot
    Here i have SSHA256 working with: default_pass_scheme = PLAIN     and my database scheme just received the hashed password prefixed by the SSHA indicator, just like: mysql> select * from emails where endereco = 'solutti@X'\G *** 1. row

Maintaining table quota2

2019-02-12 Thread Robert Moskowitz via dovecot
Does dovecot compute that values for quota2 with each email it updates for the user?  Or only an incremental change? I ask because I am looking at migrating all the user mail from the old server to the new and building a new sql database.  All I see is: dovecot-dict-sql.conf.ext: connect =

Using SHA256/512 for SQL based password

2019-02-12 Thread Robert Moskowitz via dovecot
I have trying to find how to set the dovecot-sql.conf for using SHA256/512.  I am going to start clean with the stronger format, not migrate from the old MD5.  It seems all I need is: driver = mysql connect = host=/var/lib/mysql/mysql.sock dbname=postfix user=postfix

Re: [ext] Re: expunge not removing attachments?

2019-02-12 Thread Ralf Hildebrandt via dovecot
* @lbutlr via dovecot : > I had problems with this a few years ago, and resorted to simply using find > to remove the files from the file system > > /usr/bin/find /usr/local/virtual/*/.Junk*/{cur,new} -type f -mtime +7 -name > “*=*" -delete 2> /dev/null > /usr/bin/find

Re: expunge not removing attachments?

2019-02-12 Thread @lbutlr via dovecot
On 12 Feb 2019, at 03:45, Ralf Hildebrandt via dovecot wrote: > 201629 of 301900 (66.7%) files are modified (mtime) more than 5 days ago, > although I just purged everything older than 4 days? I had problems with this a few years ago, and resorted to simply using find to remove the files from

Re: [ext] expunge not removing attachments?

2019-02-12 Thread Ralf Hildebrandt via dovecot
* Ralf Hildebrandt : > I have a large mail backup folder backup@backup.invalid; I'm cleaning > up daily like this: > > infimum=`date -d "-4 day" +"%Y-%m-%d"` > doveadm expunge -u backup@backup.invalid mailbox INBOX SAVEDBEFORE $infimum > doveadm purge -u backup@backup.invalid > > yet I see

APPEND Error in dovecot.log

2019-02-12 Thread Alessandro Battaglini via dovecot
Hi dovecot --version => 2.2.22 (fe789d2) Scenario: Sometimes imap client send email correctly but there's is any message stored in sent mail folder in that scenario I have found an error in my dovecot.log : 2019-02-11 09:04:52 imap(-@): Info: Disconnected in APPEND (1 msgs, 125