good options for Multiple users on a common email account
Pat G
patgsiosisr at gmail.com
Mon Jun 28 22:42:52 EEST 2021
Hi,
it wasn't enough, then i added the default_process_limit and it was good. No more error
Regards
Le mercredi 23 juin 2021 à 21:13:32 (-0400), John Stoffel a écrit :
> >>>>> "Pat" == Pat G <patgsiosisr at gmail.com> writes:
>
>
> Pat> i ve a mail server to manage with some email accounts but with
> Pat> multiples users (+50) using a common email. it indicates
> Pat> sometimes that it can't connect cause too many connections.
>
> Can you post some log messages from around when this happens? It
> should be easy enough to generate loadby running abunch of fetchmail
> processes or other imap CLI tools against those shared accounts.
>
> Pat> what are the good options to allow a lot of users for a specific
> Pat> account ?
>
> I'm honestly not sure, but it shouldn't care whether it's one account
> logged in multiple time, or a whole bunch of accounts all accessing
> their own mailboxes.
>
> Pat> i modifyied these options :
> Pat> auth_worker_max_count = 60
> Pat> mail_max_userip_connections = 60
>
> Pat> is it sufficient ?
>
> Pat> dovecot -n :
>
> Pat> auth_worker_max_count = 60
> Pat> mail_location = maildir:/home/%u/Maildir
> Pat> namespace inbox {
> Pat> inbox = yes
> Pat> location =
> Pat> mailbox Drafts {
> Pat> special_use = \Drafts
> Pat> }
> Pat> mailbox Junk {
> Pat> special_use = \Junk
> Pat> }
> Pat> mailbox Sent {
> Pat> special_use = \Sent
> Pat> }
> Pat> mailbox "Sent Messages" {
> Pat> special_use = \Sent
> Pat> }
> Pat> mailbox Trash {
> Pat> special_use = \Trash
> Pat> }
> Pat> prefix =
> Pat> }
> Pat> passdb {
> Pat> driver = pam
> Pat> }
> Pat> protocols = " imap"
> Pat> service imap-login {
> Pat> inet_listener imaps {
> Pat> port = 993
> Pat> ssl = yes
> Pat> }
> Pat> }
> Pat> ssl_cert = </etc/ssl/certs/dovecot.pem
> Pat> ssl_key = # hidden, use -P to show it
> Pat> userdb {
> Pat> driver = passwd
> Pat> }
> Pat> protocol imap {
> Pat> mail_max_userip_connections = 60
> Pat> }
>
> I would just bump those two numbers up and load test with an IMAP
> client you can script out. Shouldn't be too hard to do.
>
> John
--
_______________________________________
/ La paix est le temps où les fils \
| enterrent leurs péres ; la guerre est |
| le temps où les péres enterrent leurs |
\ fils. Herodote. /
---------------------------------------
\
\
.::!!!!!!!:.
.!!!!!:. .:!!!!!!!!!!!!
~~~~!!!!!!. .:!!!!!!!!!UWWW$$$
:$$NWX!!: .:!!!!!!XUWW$$$$$$$$$P
$$$$$##WX!: .<!!!!UW$$$$" $$$$$$$$#
$$$$$ $$$UX :!!UW$$$$$$$$$ 4$$$$$*
^$$$B $$$$\ $$$$$$$$$$$$ d$$R"
"*$bd$$$$ '*$$$$$$$$$$$o+#"
"""" """""""
More information about the dovecot
mailing list