Re: ulimit -n vs client_limit vs process_limit

2020-12-16 Thread Aki Tuomi
You need to adjust LimitNOFiles (or ulimit -n). Dovecot needs more file descriptors than just the ones used by imap-login process, so it is a good idea to consider setting it to at least 3x time the value. Aki > On 17/12/2020 04:57 Joseph Tam wrote: > > > As many of my users are accessing t

ulimit -n vs client_limit vs process_limit

2020-12-16 Thread Joseph Tam
As many of my users are accessing their mail remotely, I've seen service loads increase and came across this log messages which I haven't seen before imap-login: Error: socketpair() failed: Too many open files: user=<*>, ... I gather I have to increase file descriptor limits, which is

migration from 2.0.16

2020-12-16 Thread Barbara M.
I have an old server with CentOS 6.x and dovecot 2.0.16 (postfix-2.6.6 and roundcube), that was an update from a 1.x many years ago ... Users in /etc/passwd Mailbox format mbox some filtering via procmail About 5.000 users, 1 TB data (/var/mail + /home/users) Obviously I am searching for a sm

Re: Disallow acces via imap, but keep lmtp running

2020-12-16 Thread Joseph Tam
On Wed, 16 Dec 2020, Plutocrat wrote: On 16/12/2020 06.16, Julian Kippels wrote: what is the best way to temporarily disable access to a mailbox via imap, but keep it possible to deliver to the mailbox via lmtp? Block IMAP ports on the firewall? passdb with "deny=yes"? Or if IMAP is the on

Re: Outlook with Dovecot

2020-12-16 Thread Michael Schumacher
Hallo Elise, Wednesday, December 16, 2020, 8:49:54 PM, you wrote > Adding an account in Outlook (2019 in my case) one must provide an email > adddress. Example: el...@cloudzeeland.nl So that would be the username (and > not simply elise). Dovecot does not understand that and respose with a 'non

Re: Outlook with Dovecot

2020-12-16 Thread Elise
Op 15-12-20 om 22:01 schreef Christian Schmidt: Good old "Control Panel" -> "Mail" offers some more detailed configuration options. Just use this way to set up mail accounts instead of doing it with Outlook. Always thought that Mail is another MS mailclient, not an Outlook client? Let me che

Re: Outlook with Dovecot

2020-12-16 Thread Elise
Op 13-12-20 om 19:14 schreef Michael Schumacher: I am not sure I understand your problem. Who exactly is converting the username? Is it Outlook or dovecot or your BSD usermanager? I am aware of a problem where Outlook tries to guess the username from the provided e-mail address and its AS aka

Re: Disallow acces via imap, but keep lmtp running

2020-12-16 Thread Jens Urban
Hi Julian, For migration solution in production I wrote a big Script that, the main steps (in this mail without error handling): 1.) Copy the complete user account to the new box by rsync (rysnc is faster than doveadm backup). 2.) Update new destination in a loop (min=2, max=10, retry on error