pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: IMAP server options in pkgsrc



I installed dovecot fresh.  The config file is not so big but it
includes a lot of subfiles.  Almost all of them seem almost all
comments.  It does get to 1940 lines (total).

I have modified my config to just not include them, so that I have less
to think about.

  --- /usr/pkg/share/examples/dovecot/dovecot.conf        2025-03-17 21:58:23.000000000 -0400
  +++ dovecot.conf        2024-01-26 11:05:39.297059861 -0500
  @@ -20,3 +20,3 @@
   # Protocols we want to be serving.
  -protocols = imap pop3 lmtp submission
  +protocols = imap

  @@ -93,3 +93,3 @@
   # in filenames are intended to make it easier to understand the ordering.
  -!include conf.d/*.conf
  +#!include conf.d/*.conf

I am not sure if what is truly needed from conf.d is default.   I have
the following, to use different passwords for mail and actual login.

  userdb {
    driver = passwd
  }
  passdb {
    args = /etc/passwd-dovecot
    driver = passwd-file
  }

and

  service imap-login {
    inet_listener imap {
      port = 0
    }
    process_limit = 64
  }
  service imap {
    process_limit = 64
  }
  protocol imap {
    mail_max_userip_connections = 32
    imap_idle_notify_interval = 29 mins
  }


Home | Main Index | Thread Index | Old Index