0

In previous Mac OS X versions (to El Capitan), you could administrate mail server settings in the app called Server Admin. In El Capitan, all I have access to is the Server.app. In there are only very limited settings for the email server.

We are now in the process of leaving this in-house email server for Office365 and Exchange. In order to migrate all user emails from our server to the cloud servers in Exchange, we need to increase the maximum number of IMAP connections allowed.

I can't seem to find where to do this? Server Admin could do this but that won't work in El Capitan. Any ideas?

1

You should be able to increase the number directly in the respective config file:

  • Stop the server:

    sudo serveradmin stop mail
    
  • Modify the file /Library/Server/Mail/Config/dovecot/conf.d/20-imap.conf and increase the number of mail_max_userip_connections right at the end of the file:

    ...
    protocol imap {
      # Space separated list of plugins to load (default is global mail_plugins).
      # stats (in global mail_plugins) and imap_stats (here) are also available
      mail_plugins = $mail_plugins imap_acl imap_quota imap_zlib
    
      # Maximum number of IMAP connections allowed for a user from each IP address.
      # NOTE: The username is compared case-sensitively.
      mail_max_userip_connections = 20
    }
    
  • Start the server:

    sudo serveradmin start mail
    

Other (Linux) sources recommend to add a similar entry in the global section of the same file or in /Library/Server/Mail/Config/dovecot/dovecot.conf.

  • Ok, thx a lot! Will try this. Just as an aside - is it not possible to operate the mail server using a GUI anymore? What happened to Server Admin? Server.app doesn't quite cut it. – tbfnd Dec 9 '16 at 9:54
  • @TommySvensson Server.app > Services > Mail is the only available GUI. – klanomath Dec 9 '16 at 9:59
  • @TommySvensson Did it work? – klanomath Dec 14 '16 at 12:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .