remote | local blocks in protocol settings

Timo Sirainen tss at iki.fi
Tue Jan 19 13:31:28 UTC 2016


On 19 Jan 2016, at 13:34, Nikolaos Milas <nmilas at noa.gr> wrote:
> 
> On 15/1/2016 8:02 μμ, Nikolaos Milas wrote:
> 
> Having received no reply, I tried using the above info by configuring:
> 
>   protocol imap {
>      imap_client_workarounds = "delay-newmail"
>      mail_plugins = quota imap_quota notify replication
>      mail_max_userip_connections = 30
>      remote 127.0.0.1 {
>        mail_max_userip_connections = 1000
>      }
>   }
> 
> but it didn't work:
> 
>   Fatal: Error in configuration file /etc/dovecot/dovecot.conf line
>   30: remote must not be under protocol

Change it the other way around:

remote 127.0.0.1 {
  protocol imap {
    ...
  }
}

> By the way, the command "doveadm who" shows imap connections by users, but it does not seem to show webmail connections. Any advice on this?

Webmail probably just quickly opens and closes the connections, so there aren't any connections that are visible for more than a fraction of a second.



More information about the dovecot mailing list