Re: Can't authenticate using ARGON2ID crypt scheme from doveadm pw w/rounds != default

2018-09-26 Thread Keith Amidon
On 9/26/18 2:42 AM, Aki Tuomi wrote: The reason it fails is because auth process runs out of memory and there is a bug in libsodium which causes it to crash in this scenario. The fix is to do service auth {   vsz_limit = 0 # or 2G at least } After testing this evening, I can confirm that

Re: Best way to move mail from one server to another

2018-09-26 Thread Admin
I used (had to) imapsync two weeks ago to move Mails from dovecote 2.1 to 2.2, as doveadm failed (different versions issue). Worked as expected. But all mails 60GB got resynced (summed up to approx. 250GB due to several accounts being used across multiple clients). Tried both - without and

Re: What causes folders to be reported as noselect?

2018-09-26 Thread Daniel Miller
On 2018-09-26 10:14, Aki Tuomi wrote: On 26 September 2018 at 18:42 Daniel Miller wrote: As the subject says.  This may be a bit open-ended - but it would really help troubleshooting some obscure folder issues. In my case, I happen to have both some "real" folders and also some "virtual"

Possible bug - otherwise a public admission of oops

2018-09-26 Thread Daniel Miller
While trying to identify possible causes of wrong mail folder creation I did something...bad. Normally, I would recognize that deleting a mail folder would naturally delete all the contained mails. However...somehow my imaginative self decided that deleting a virtual folder via IMAP would

Re: Local access to IMAP mailboxes

2018-09-26 Thread Joseph Tam
On Wed, 26 Sep 2018, Victor Sudakov wrote: However, I often read and modify the mailboxes locally with mutt (e.g. append and delete mails). Should I expect any problems wit Dovecot indexes etc? What if I even do "rm ~/Mail/some/mailbox", will Dovecot be mad at me? I do it all the time.

Re: What causes folders to be reported as noselect?

2018-09-26 Thread Aki Tuomi
> On 26 September 2018 at 18:42 Daniel Miller wrote: > > > As the subject says.  This may be a bit open-ended - but it would really > help troubleshooting some obscure folder issues. > > In my case, I happen to have both some "real" folders and also some > "virtual" folders that respond to

What causes folders to be reported as noselect?

2018-09-26 Thread Daniel Miller
As the subject says.  This may be a bit open-ended - but it would really help troubleshooting some obscure folder issues. In my case, I happen to have both some "real" folders and also some "virtual" folders that respond to IMAP LIST commands with the "\NoSelect" flag - and I don't know why. 

Re: split auth from other logging

2018-09-26 Thread Admin
This is great, thank you!! -M > Am 26.09.2018 um 15:53 schrieb Kai Schaetzl : > > This works for splitting off lmtp traffic, for instance. > > syslog_facility = uucp > > rsyslog: > > :msg, contains, "lmtp(" -/var/log/dovecot/lmtp.log > & stop > > uucp.=debug

Re: split auth from other logging

2018-09-26 Thread Kai Schaetzl
I forgot to mention that you have to change owner for the /var/log/dovecot directory before rsyslog can log. Kai

Re: Best way to move mail from one server to another

2018-09-26 Thread Tanstaafl
Never mind, should have waited and read the entire thread... On Wed Sep 26 2018 09:52:26 GMT-0400 (Eastern Standard Time), Tanstaafl wrote: > Finally have some time to review list emails... > > On Tue Sep 04 2018 03:41:50 GMT-0400 (Eastern Standard Time), Sami > Ketola wrote: >> imapsync

Re: Best way to move mail from one server to another

2018-09-26 Thread Reio Remma
On 26/09/2018 16:52, Tanstaafl wrote: Finally have some time to review list emails... On Tue Sep 04 2018 03:41:50 GMT-0400 (Eastern Standard Time), Sami Ketola wrote: imapsync always loses data. Hi Sami, Can you expand on this? I used ImapSync to migrate from Dovecot to Office365 a couple

Re: split auth from other logging

2018-09-26 Thread Kai Schaetzl
This works for splitting off lmtp traffic, for instance. syslog_facility = uucp rsyslog: :msg, contains, "lmtp(" -/var/log/dovecot/lmtp.log & stop uucp.=debug -/var/log/dovecot/debug.log uucp.=info -/var/log/dovecot/dovecot.log uucp.=warn

Re: Best way to move mail from one server to another

2018-09-26 Thread Tanstaafl
Finally have some time to review list emails... On Tue Sep 04 2018 03:41:50 GMT-0400 (Eastern Standard Time), Sami Ketola wrote: > imapsync always loses data. Hi Sami, Can you expand on this? I used ImapSync to migrate from Dovecot to Office365 a couple of years ago, and didn't notice any

Re: split auth from other logging

2018-09-26 Thread Kai Schaetzl
I'm not going to log dovecot to mail, that creates only the same mixup as before, even worse, now postfix and dovecot mixed. I had to stop/start (force-reload would also work) rsyslogd to pick up the changed config. A restart doesn't change the config as with other daemons. Now I can filter

Re: split auth from other logging

2018-09-26 Thread Kai Schaetzl
Kai Schaetzl wrote on Wed, 26 Sep 2018 12:43:28 +0200: > But it logs only to /var/log/syslog It seems that "service rsyslog restart" doesn't correctly restart rsyslogd. You have to stop and start it. Then it picks up the changed config. Kai -- Get your web at Conactive Internet Services:

Re: split auth from other logging

2018-09-26 Thread ad...@awib.it
# Logging for the mail system. Split it up so that # it is easy to write scripts to parse these files. # mail.info -/var/log/mail.info mail.warn -/var/log/mail.warn mail.err/var/log/mail.err > Am 26.09.2018 um 12:43 schrieb Kai

Re: Local access to IMAP mailboxes

2018-09-26 Thread Thomas Leuxner
* Victor Sudakov 2018.09.26 12:17: > > >> However, I often read and modify the mailboxes locally with Mutt (e.g. > > >> append and delete mails). Why not use Mutt's IMAP capabilities and keep the indexes nice and clean? Regards Thomas signature.asc Description: PGP signature

Re: split auth from other logging

2018-09-26 Thread Kai Schaetzl
I hoped I don't have to switch to syslog logging. Well, anyway. I changed 10-logging.conf: syslog_facility = uucp and commented out the other log lines. rsyslog.d/50-default.conf: uucp.debug -/var/log/dovecot/debug.log uucp.info

Re: Local access to IMAP mailboxes

2018-09-26 Thread Victor Sudakov
Sami Ketola wrote: > > On 26 Sep 2018, at 13.07, Aki Tuomi wrote: > > > >> > >> I have made mailboxes in ~/Mail available via IMAP (Dovecot 2.3.2.1), > >> that is: "mail_location = mbox:~/Mail:INBOX=/var/mail/%u" > >> > >> However, I often read and modify the mailboxes locally with Mutt (e.g.

Re: Local access to IMAP mailboxes

2018-09-26 Thread Sami Ketola
> On 26 Sep 2018, at 13.07, Aki Tuomi wrote: > > > > On 26.09.2018 12:22, Victor Sudakov wrote: >> Dear Colleagues, >> >> I have made mailboxes in ~/Mail available via IMAP (Dovecot 2.3.2.1), >> that is: "mail_location = mbox:~/Mail:INBOX=/var/mail/%u" >> >> However, I often read and

Re: Local access to IMAP mailboxes

2018-09-26 Thread Aki Tuomi
On 26.09.2018 12:22, Victor Sudakov wrote: > Dear Colleagues, > > I have made mailboxes in ~/Mail available via IMAP (Dovecot 2.3.2.1), > that is: "mail_location = mbox:~/Mail:INBOX=/var/mail/%u" > > However, I often read and modify the mailboxes locally with mutt (e.g. > append and delete

Re: Can't authenticate using ARGON2ID crypt scheme from doveadm pw w/rounds != default

2018-09-26 Thread Aki Tuomi
The reason it fails is because auth process runs out of memory and there is a bug in libsodium which causes it to crash in this scenario. The fix is to do service auth {   vsz_limit = 0 # or 2G at least } Aki On 26.09.2018 09:12, Keith Amidon wrote: > I'm using dovecot version 2.3.2.1

Local access to IMAP mailboxes

2018-09-26 Thread Victor Sudakov
Dear Colleagues, I have made mailboxes in ~/Mail available via IMAP (Dovecot 2.3.2.1), that is: "mail_location = mbox:~/Mail:INBOX=/var/mail/%u" However, I often read and modify the mailboxes locally with mutt (e.g. append and delete mails). Should I expect any problems wit Dovecot indexes etc?

Re: split auth from other logging

2018-09-26 Thread ad...@awib.it
Hi, yesterday I had something similar. I would like to skip the login & logout lines from being logged. This is something I found, but did not get it working, as I had no time fiddling with the rsyslog config yet:

split auth from other logging

2018-09-26 Thread Kai Schaetzl
Is there a way to split the auth logging (logins and failed logins) from the other logging that goes to info_log_path = /var/log/dovecot/dovecot.log ? This log gets a lot of other info as well, most notably the lmtp notifications about every filed mail (with no level stamping, btw). This makes

Re: Username aliases

2018-09-26 Thread Aki Tuomi
On 25.09.2018 16:24, Eirik Rye wrote: > Hi, > > Our organization is currently using a passwd-file user database for > our Dovecot installs. However, we now want to provide simple username > aliases. > > We currently use usernames that are -not- equal to the email address, > but due to the fact

Can't authenticate using ARGON2ID crypt scheme from doveadm pw w/rounds != default

2018-09-26 Thread Keith Amidon
I'm using dovecot version 2.3.2.1 (0719df592) and trying to use the ARGON2ID crypt scheme for authentication using the passdb passwd-file driver. My passdb config is very simple:     passdb {   driver = passwd-file   args = username_format=%u     } If I generate a password this way: