(Looks like I forgot to reply to the list last time.)
With sudo dovecot -F
, I'm now getting:
Fatal: setrlimit(RLIMIT_DATA, 2147483648): Invalid argument
The old(?) solution doesn't work for me:
default_vsz_limit = 0
It reports: doveconf: Fatal: Error in configuration file /opt/homebrew/etc/dovecot/dovecot.conf: service(log): vsz_limit is too low
On Feb 1, 2025, at 08:55, John Muccigrosso <muccigrosso@icloud.com> wrote:
On Feb 1, 2025, at 07:31, Aki Tuomi via dovecot <dovecot@dovecot.org> wrote:
You sure the default internal group isnt _dovecot as well?
I'm not sure what you're asking. Do I not have the internal group set via this line?:
default_internal_group = mail
I think I may have to dig into group memberships, if this is the issue. I'm getting conflicting result when checking. That is, when I check the group "mail" for members, _dovecot isn't in it, even though checking which groups _dovecot belongs to includes "mail". The opposite happens for the "dovecot" group. And dovecot itself can't find the _dovecot or dovecot group. Seems to be a macOS thing with group membership.
You are missing
mail_home = /Users/%{user}
Thanks. As I said, I was trying to follow the documentation where they give the two lines under Maildir, but not this third one (even though it's given in the first part of this section).
On 1. Feb 2025, at 10.27, John Muccigrosso via dovecot <dovecot@dovecot.org> wrote:
Fatal: setrlimit(RLIMIT_DATA, 2147483648): Invalid argument
The old(?) solution doesn't work for me:
default_vsz_limit = 0
It reports: doveconf: Fatal: Error in configuration file /opt/homebrew/etc/dovecot/dovecot.conf: service(log): vsz_limit is too low
Use unlimited, not 0. I guess the error message should also mention that.
Boom! That was it.
At the end of the day, then, here is my local.conf file:
dovecot_config_version = 2.4.0 dovecot_storage_version = 2.4.0
default_vsz_limit = unlimited
# Enable wanted protocols: protocols { imap = yes lmtp = yes }
mail_home = /Users/%{user} mail_driver = maildir mail_path = ~/Maildir
mail_uid = <username> mail_gid = admin
default_login_user = _dovenull default_internal_user = _dovecot default_internal_group = mail
# Setting limits. default_process_limit = 10 default_client_limit = 50
namespace inbox { inbox = yes separator = / }
passdb passwd-file { passwd_file_path = /Users/%{user}/passwd }
Thanks to Timo and Aki for the help.
On Feb 1, 2025, at 10:16, Timo Sirainen via dovecot <dovecot@dovecot.org> wrote:
On 1. Feb 2025, at 10.27, John Muccigrosso via dovecot <dovecot@dovecot.org> wrote:
Fatal: setrlimit(RLIMIT_DATA, 2147483648): Invalid argument
The old(?) solution doesn't work for me:
default_vsz_limit = 0
It reports: doveconf: Fatal: Error in configuration file /opt/homebrew/etc/dovecot/dovecot.conf: service(log): vsz_limit is too low
Use unlimited, not 0. I guess the error message should also mention that.
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Unless there is such setting somewhere in your base config, I would strongly suggest auth_username_format = %{user|lower} Aki On 01/02/2025 12:18 EET John Muccigrosso via dovecot <dovecot@dovecot.org> wrote: Boom! That was it. At the end of the day, then, here is my local.conf file: --- dovecot_config_version = 2.4.0 dovecot_storage_version = 2.4.0 default_vsz_limit = unlimited # Enable wanted protocols: protocols { imap = yes lmtp = yes } mail_home = /Users/%{user} mail_driver = maildir mail_path = ~/Maildir mail_uid = <username> mail_gid = admin default_login_user = _dovenull default_internal_user = _dovecot default_internal_group = mail # Setting limits. default_process_limit = 10 default_client_limit = 50 namespace inbox { inbox = yes separator = / } passdb passwd-file { passwd_file_path = /Users/%{user}/passwd } --- Thanks to Timo and Aki for the help. On Feb 1, 2025, at 10:16, Timo Sirainen via dovecot <dovecot@dovecot.org> wrote: On 1. Feb 2025, at 10.27, John Muccigrosso via dovecot <dovecot@dovecot.org> wrote: Fatal: setrlimit(RLIMIT_DATA, 2147483648): Invalid argument The old(?) solution doesn't work for me: default_vsz_limit = 0 It reports: doveconf: Fatal: Error in configuration file /opt/homebrew/etc/dovecot/ dovecot.conf: service(log): vsz_limit is too low Use unlimited, not 0. I guess the error message should also mention that. _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org _______________________________________________ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Done. Thanks.
J
On Feb 1, 2025, at 11:51, Aki Tuomi <aki.tuomi@open-xchange.com> wrote:
Unless there is such setting somewhere in your base config, I would strongly suggest
auth_username_format = %{user|lower}
Aki
On 01/02/2025 12:18 EET John Muccigrosso via dovecot <dovecot@dovecot.org <mailto:dovecot@dovecot.org>> wrote:
Boom! That was it.
At the end of the day, then, here is my local.conf file:
dovecot_config_version = 2.4.0 dovecot_storage_version = 2.4.0
default_vsz_limit = unlimited
# Enable wanted protocols: protocols { imap = yes lmtp = yes }
mail_home = /Users/%{user} mail_driver = maildir mail_path = ~/Maildir
mail_uid = <username> mail_gid = admin
default_login_user = _dovenull default_internal_user = _dovecot default_internal_group = mail
# Setting limits. default_process_limit = 10 default_client_limit = 50
namespace inbox { inbox = yes separator = / }
passdb passwd-file { passwd_file_path = /Users/%{user}/passwd }
Thanks to Timo and Aki for the help.
On Feb 1, 2025, at 10:16, Timo Sirainen via dovecot <dovecot@dovecot.org <mailto:dovecot@dovecot.org>> wrote:
On 1. Feb 2025, at 10.27, John Muccigrosso via dovecot <dovecot@dovecot.org <mailto:dovecot@dovecot.org>> wrote:
Fatal: setrlimit(RLIMIT_DATA, 2147483648): Invalid argument
The old(?) solution doesn't work for me:
default_vsz_limit = 0
It reports: doveconf: Fatal: Error in configuration file /opt/homebrew/etc/dovecot/dovecot.conf: service(log): vsz_limit is too low Use unlimited, not 0. I guess the error message should also mention that.
dovecot mailing list -- dovecot@dovecot.org <mailto:dovecot@dovecot.org> To unsubscribe send an email to dovecot-leave@dovecot.org <mailto:dovecot-leave@dovecot.org>_______________________________________________ dovecot mailing list -- dovecot@dovecot.org <mailto:dovecot@dovecot.org> To unsubscribe send an email to dovecot-leave@dovecot.org <mailto:dovecot-leave@dovecot.org>
participants (3)
-
Aki Tuomi
-
John Muccigrosso
-
Timo Sirainen