$ grep dove /etc/passwd /etc/group /etc/passwd:_dovecot:*:214:6:Dovecot Administrator:/var/empty:/usr/bin/false /etc/passwd:_dovenull:*:227:227:Dovecot Authentication:/var/empty:/usr/bin/false /etc/group:certusers:*:29:root,_jabber,_postfix,_cyrus,_calendar,_dovecot /etc/group:_dovenull:*:227: I'm trying to build on osx so I can try to do some debugging. The INSTALL.md says to do: $ more INSTALL.md Build Instructions ================= For most people, the usual: ``` ./configure make sudo make install ``` But there is no configure file. How would I generate the configure file? Is it generated? Been a long time since I've done open source C code.. Thanks Mike On 8/10/18 11:04, Aki Tuomi wrote:> Is the user member of mail group? > > > > --- > Aki Tuomi > Dovecot oy > > -------- Original message -------- > From: Mike Makuch <1mikemakuch at gmail.com> > Date: 10/08/2018 19:02 (GMT+02:00) > To: Aki Tuomi <aki.tuomi at dovecot.fi> > Cc: dovecot at dovecot.org > Subject: Re: dying on osx > > Maybe an old problem that has resurfaced??? > > https://bugzilla.samba.org/show_bug.cgi?id=8773 > > Mike > > > > On 8/10/18 10:54, Aki Tuomi wrote: >> I have to see if this is reproducible outside mac. >> >> >> >> --- >> Aki Tuomi >> Dovecot oy >> >> -------- Original message -------- >> From: Mike Makuch <1mikemakuch at gmail.com> >> Date: 10/08/2018 18:46 (GMT+02:00) >> To: Aki Tuomi <aki.tuomi at dovecot.fi> >> Subject: Re: dying on osx >> >> I did find that page and tried a few things there. My config has all of >> the settings there except 3: >> >> mail_access_groups = mail >> mbox_read_locks = fcntl >> mbox_write_locks = fcntl >> >> I add them to my config, restart and get the same abort >> >> 20180810-103849 imap(mkm)<79213><MkA5ihZzmdh/AAAB>: Fatal: >> setgroups(mail,505) failed: Too many extra groups >> >> I've tried numerous other settings as well. >> >> Thanks for any further advice >> >> Mike >> >> >> On 8/10/18 08:45, Aki Tuomi wrote: >> > Can you try this config and report back? >> > >> > >> https://superuser.com/questions/957272/dotlock-permissions-problems-with-dovecot-and-os-x-10-10-3 >> > >> > Aki >> > >> >> On 10 August 2018 at 16:39 Mike Makuch <1mikemakuch at gmail.com> wrote: >> >> >> >> >> >> OSX 10.13.6 High Sierra, dovecot 2.3.2.1 >> >> >> >> dovecot starts up and runs but dies as soon as my mail client makes a >> >> request with log and config below. >> >> >> >> And advice appreciated. >> >> >> >> Thanks >> >> >> >> Mike >> >> >> >> >> >> >> >> 20180810-083730 auth: Debug: auth client connected (pid=77432) >> >> >> >> 20180810-083730 auth: Debug: client in: AUTH??? 1 PLAIN >> >> service=imap??? secured??? session=xo1p2BRzZNd/AAAB lip=127.0.0.1 >> >> rip=127.0.0.1??? lport=143??? rport=55140 >> >> 20180810-083730 auth: Debug: client passdb out: CONT 1 >> >> 20180810-083730 auth: Debug: client in: CONT??? 1 AG1rbQBta20xMjM>> >> (previous base64 data may contain sensitive data) >> >> 20180810-083730 auth: Debug: static(mkm,127.0.0.1,<xo1p2BRzZNd/AAAB>): >> >> lookup >> >> 20180810-083730 auth: Debug: client passdb out: OK??? 1 user=mkm >> >> host=localhost??? nopasswd=y >> >> 20180810-083730 auth: Debug: master in: REQUEST 4201906177 77432 >> >> 1??? b8126b4b71be2959fc7716888eccc566 session_pid=77433 >> >> request_auth_token >> >> 20180810-083730 auth-worker(77426): Debug: >> >> passwd(mkm,127.0.0.1,<xo1p2BRzZNd/AAAB>): lookup >> >> 20180810-083730 auth: Debug: master userdb out: USER 4201906177 >> >> mkm??? system_groups_user=mkm??? uid=503 gid=20 home=/Users/mkm >> >> auth_token=4d2bb44168df3d63e4e1bb352e59de632bc7da49 >> >> 20180810-083730 imap-login: Info: Login: user=<mkm>, method=PLAIN, >> >> rip=127.0.0.1, lip=127.0.0.1, mpid=77433, secured, >> >> session=<xo1p2BRzZNd/AAAB> >> >> 20180810-083730 imap(mkm)<77433><xo1p2BRzZNd/AAAB>: Fatal: >> >> setgroups(505) failed: Too many extra groups >> >> >> >> # doveconf -n >> >> # 2.3.2.1 (0719df592): /usr/local/etc/dovecot/dovecot.conf >> >> # OS: Darwin 17.7.0 x86_64 >> >> # Hostname: pine >> >> auth_debug = yes >> >> auth_debug_passwords = yes >> >> default_internal_user = _dovecot >> >> default_login_user = _dovenull >> >> disable_plaintext_auth = no >> >> listen = 127.0.0.1 >> >> log_path = /var/log/dovecot >> >> log_timestamp = "%Y%m%d-%H%M%S " >> >> mail_debug = yes >> >> mail_gid = staff >> >> mail_location = mbox:~/Mail:INBOX=/var/mail/%u >> >> mail_privileged_group = mail >> >> mail_uid = _dovecot >> >> passdb { >> >>?? ? args = password=*** host=localhost nopasswd=y >> >>?? ? driver = static >> >> } >> >> passdb { >> >>?? ? args = login >> >>?? ? driver = pam >> >> } >> >> protocols = imap >> >> service auth { >> >>?? ? user = root >> >> } >> >> service imap-login { >> >>?? ? inet_listener imap { >> >>?? ??? address = * >> >>?? ??? port = 143 >> >>?? ? } >> >> } >> >> ssl = no >> >> userdb { >> >>?? ? driver = passwd >> >> } >> >> >> >> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180810/df54a468/attachment-0001.html>
I've cloned https://github.com/dovecot/core and tried running autogen.sh but it fails: $ bash autogen.sh /Users/mkm/src/dovecot/doc --2018-08-10 11:10:26-- https://www.dovecot.org/tmp/wiki2-export.tar.gz Resolving www.dovecot.org... 94.237.25.159 Connecting to www.dovecot.org|94.237.25.159|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 427414 (417K) [application/x-gzip] Saving to: ?wiki2-export.tar.gz? wiki2-export.tar.gz 100%[===================================================================================================================>] 417.40K?? 432KB/s??? in 1.0s 2018-08-10 11:10:28 (432 KB/s) - ?wiki2-export.tar.gz? saved [427414/427414] /Users/mkm/src/dovecot/doc/wiki glibtoolize: putting auxiliary files in '.'. glibtoolize: copying file './ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. glibtoolize: copying file 'm4/libtool.m4' glibtoolize: copying file 'm4/ltoptions.m4' glibtoolize: copying file 'm4/ltsugar.m4' glibtoolize: copying file 'm4/ltversion.m4' glibtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:293: installing './compile' configure.ac:299: installing './config.guess' configure.ac:300: error: required file './config.rpath' not found configure.ac:299: installing './config.sub' configure.ac:11: installing './install-sh' configure.ac:11: installing './missing' src/anvil/Makefile.am: installing './depcomp' autoreconf: automake failed with exit status: 1 Any suggestions on how to build on osx? Thanks Mike On 8/10/18 11:08, Mike Makuch wrote:> > > $ grep dove /etc/passwd /etc/group > /etc/passwd:_dovecot:*:214:6:Dovecot > Administrator:/var/empty:/usr/bin/false > /etc/passwd:_dovenull:*:227:227:Dovecot > Authentication:/var/empty:/usr/bin/false > /etc/group:certusers:*:29:root,_jabber,_postfix,_cyrus,_calendar,_dovecot > /etc/group:_dovenull:*:227: > > > I'm trying to build on osx so I can try to do some debugging. The > INSTALL.md says to do: > > > $ more INSTALL.md > Build Instructions > =================> > For most people, the usual: > > ``` > ./configure > make > sudo make install > ``` > > But there is no configure file. How would I generate the configure > file? Is it generated? Been a long time since I've done open source C > code.. > > Thanks > > Mike > > > On 8/10/18 11:04, Aki Tuomi wrote: >> Is the user member of mail group? >> >> >> >> --- >> Aki Tuomi >> Dovecot oy >> >> -------- Original message -------- >> From: Mike Makuch <1mikemakuch at gmail.com> >> Date: 10/08/2018 19:02 (GMT+02:00) >> To: Aki Tuomi <aki.tuomi at dovecot.fi> >> Cc: dovecot at dovecot.org >> Subject: Re: dying on osx >> >> Maybe an old problem that has resurfaced??? >> >> https://bugzilla.samba.org/show_bug.cgi?id=8773 >> >> Mike >> >> >> >> On 8/10/18 10:54, Aki Tuomi wrote: >>> I have to see if this is reproducible outside mac. >>> >>> >>> >>> --- >>> Aki Tuomi >>> Dovecot oy >>> >>> -------- Original message -------- >>> From: Mike Makuch <1mikemakuch at gmail.com> >>> Date: 10/08/2018 18:46 (GMT+02:00) >>> To: Aki Tuomi <aki.tuomi at dovecot.fi> >>> Subject: Re: dying on osx >>> >>> I did find that page and tried a few things there. My config has all of >>> the settings there except 3: >>> >>> mail_access_groups = mail >>> mbox_read_locks = fcntl >>> mbox_write_locks = fcntl >>> >>> I add them to my config, restart and get the same abort >>> >>> 20180810-103849 imap(mkm)<79213><MkA5ihZzmdh/AAAB>: Fatal: >>> setgroups(mail,505) failed: Too many extra groups >>> >>> I've tried numerous other settings as well. >>> >>> Thanks for any further advice >>> >>> Mike >>> >>> >>> On 8/10/18 08:45, Aki Tuomi wrote: >>> > Can you try this config and report back? >>> > >>> > >>> https://superuser.com/questions/957272/dotlock-permissions-problems-with-dovecot-and-os-x-10-10-3 >>> > >>> > Aki >>> > >>> >> On 10 August 2018 at 16:39 Mike Makuch <1mikemakuch at gmail.com> wrote: >>> >> >>> >> >>> >> OSX 10.13.6 High Sierra, dovecot 2.3.2.1 >>> >> >>> >> dovecot starts up and runs but dies as soon as my mail client makes a >>> >> request with log and config below. >>> >> >>> >> And advice appreciated. >>> >> >>> >> Thanks >>> >> >>> >> Mike >>> >> >>> >> >>> >> >>> >> 20180810-083730 auth: Debug: auth client connected (pid=77432) >>> >> >>> >> 20180810-083730 auth: Debug: client in: AUTH??? 1 PLAIN >>> >> service=imap??? secured??? session=xo1p2BRzZNd/AAAB lip=127.0.0.1 >>> >> rip=127.0.0.1??? lport=143??? rport=55140 >>> >> 20180810-083730 auth: Debug: client passdb out: CONT??? 1 >>> >> 20180810-083730 auth: Debug: client in: CONT??? 1 AG1rbQBta20xMjM>>> >> (previous base64 data may contain sensitive data) >>> >> 20180810-083730 auth: Debug: >>> static(mkm,127.0.0.1,<xo1p2BRzZNd/AAAB>): >>> >> lookup >>> >> 20180810-083730 auth: Debug: client passdb out: OK 1 user=mkm >>> >> host=localhost??? nopasswd=y >>> >> 20180810-083730 auth: Debug: master in: REQUEST 4201906177 77432 >>> >> 1??? b8126b4b71be2959fc7716888eccc566 session_pid=77433 >>> >> request_auth_token >>> >> 20180810-083730 auth-worker(77426): Debug: >>> >> passwd(mkm,127.0.0.1,<xo1p2BRzZNd/AAAB>): lookup >>> >> 20180810-083730 auth: Debug: master userdb out: USER 4201906177 >>> >> mkm??? system_groups_user=mkm??? uid=503 gid=20 home=/Users/mkm >>> >> auth_token=4d2bb44168df3d63e4e1bb352e59de632bc7da49 >>> >> 20180810-083730 imap-login: Info: Login: user=<mkm>, method=PLAIN, >>> >> rip=127.0.0.1, lip=127.0.0.1, mpid=77433, secured, >>> >> session=<xo1p2BRzZNd/AAAB> >>> >> 20180810-083730 imap(mkm)<77433><xo1p2BRzZNd/AAAB>: Fatal: >>> >> setgroups(505) failed: Too many extra groups >>> >> >>> >> # doveconf -n >>> >> # 2.3.2.1 (0719df592): /usr/local/etc/dovecot/dovecot.conf >>> >> # OS: Darwin 17.7.0 x86_64 >>> >> # Hostname: pine >>> >> auth_debug = yes >>> >> auth_debug_passwords = yes >>> >> default_internal_user = _dovecot >>> >> default_login_user = _dovenull >>> >> disable_plaintext_auth = no >>> >> listen = 127.0.0.1 >>> >> log_path = /var/log/dovecot >>> >> log_timestamp = "%Y%m%d-%H%M%S " >>> >> mail_debug = yes >>> >> mail_gid = staff >>> >> mail_location = mbox:~/Mail:INBOX=/var/mail/%u >>> >> mail_privileged_group = mail >>> >> mail_uid = _dovecot >>> >> passdb { >>> >>?? ? args = password=*** host=localhost nopasswd=y >>> >>?? ? driver = static >>> >> } >>> >> passdb { >>> >>?? ? args = login >>> >>?? ? driver = pam >>> >> } >>> >> protocols = imap >>> >> service auth { >>> >>?? ? user = root >>> >> } >>> >> service imap-login { >>> >>?? ? inet_listener imap { >>> >>?? ??? address = * >>> >>?? ??? port = 143 >>> >>?? ? } >>> >> } >>> >> ssl = no >>> >> userdb { >>> >>?? ? driver = passwd >>> >> } >>> >> >>> >> >>> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180810/6badea30/attachment.html>
Ok I added the two users _dovecot & _dovenull to mail group, still get same error "Too many extra groups" # grep mail /etc/group /usr/local/etc/dovecot/dovecot.conf /etc/group:mail:*:6:_teamsserver,_dovecot,_dovenull /etc/group:_mailman:*:78: /usr/local/etc/dovecot/dovecot.conf:mail_debug = yes /usr/local/etc/dovecot/dovecot.conf:mail_gid = mail /usr/local/etc/dovecot/dovecot.conf:mail_location = mbox:~/Mail:INBOX=/var/mail/%u /usr/local/etc/dovecot/dovecot.conf:mail_privileged_group = mail /usr/local/etc/dovecot/dovecot.conf:mail_access_groups = mail /usr/local/etc/dovecot/dovecot.conf:mail_uid = _dovecot 20180810-113132 imap(mkm)<68466></AfJRhdzHNt/AAAB>: Fatal: setgroups(mail,505) failed: Too many extra groups Thanks Mike On 8/10/18 11:08, Mike Makuch wrote:> > > $ grep dove /etc/passwd /etc/group > /etc/passwd:_dovecot:*:214:6:Dovecot > Administrator:/var/empty:/usr/bin/false > /etc/passwd:_dovenull:*:227:227:Dovecot > Authentication:/var/empty:/usr/bin/false > /etc/group:certusers:*:29:root,_jabber,_postfix,_cyrus,_calendar,_dovecot > /etc/group:_dovenull:*:227: > > > I'm trying to build on osx so I can try to do some debugging. The > INSTALL.md says to do: > > > $ more INSTALL.md > Build Instructions > =================> > For most people, the usual: > > ``` > ./configure > make > sudo make install > ``` > > But there is no configure file. How would I generate the configure > file? Is it generated? Been a long time since I've done open source C > code.. > > Thanks > > Mike > > > On 8/10/18 11:04, Aki Tuomi wrote: >> Is the user member of mail group? >> >> >> >> --- >> Aki Tuomi >> Dovecot oy >> >> -------- Original message -------- >> From: Mike Makuch <1mikemakuch at gmail.com> >> Date: 10/08/2018 19:02 (GMT+02:00) >> To: Aki Tuomi <aki.tuomi at dovecot.fi> >> Cc: dovecot at dovecot.org >> Subject: Re: dying on osx >> >> Maybe an old problem that has resurfaced??? >> >> https://bugzilla.samba.org/show_bug.cgi?id=8773 >> >> Mike >> >> >> >> On 8/10/18 10:54, Aki Tuomi wrote: >>> I have to see if this is reproducible outside mac. >>> >>> >>> >>> --- >>> Aki Tuomi >>> Dovecot oy >>> >>> -------- Original message -------- >>> From: Mike Makuch <1mikemakuch at gmail.com> >>> Date: 10/08/2018 18:46 (GMT+02:00) >>> To: Aki Tuomi <aki.tuomi at dovecot.fi> >>> Subject: Re: dying on osx >>> >>> I did find that page and tried a few things there. My config has all of >>> the settings there except 3: >>> >>> mail_access_groups = mail >>> mbox_read_locks = fcntl >>> mbox_write_locks = fcntl >>> >>> I add them to my config, restart and get the same abort >>> >>> 20180810-103849 imap(mkm)<79213><MkA5ihZzmdh/AAAB>: Fatal: >>> setgroups(mail,505) failed: Too many extra groups >>> >>> I've tried numerous other settings as well. >>> >>> Thanks for any further advice >>> >>> Mike >>> >>> >>> On 8/10/18 08:45, Aki Tuomi wrote: >>> > Can you try this config and report back? >>> > >>> > >>> https://superuser.com/questions/957272/dotlock-permissions-problems-with-dovecot-and-os-x-10-10-3 >>> > >>> > Aki >>> > >>> >> On 10 August 2018 at 16:39 Mike Makuch <1mikemakuch at gmail.com> wrote: >>> >> >>> >> >>> >> OSX 10.13.6 High Sierra, dovecot 2.3.2.1 >>> >> >>> >> dovecot starts up and runs but dies as soon as my mail client makes a >>> >> request with log and config below. >>> >> >>> >> And advice appreciated. >>> >> >>> >> Thanks >>> >> >>> >> Mike >>> >> >>> >> >>> >> >>> >> 20180810-083730 auth: Debug: auth client connected (pid=77432) >>> >> >>> >> 20180810-083730 auth: Debug: client in: AUTH??? 1 PLAIN >>> >> service=imap??? secured??? session=xo1p2BRzZNd/AAAB lip=127.0.0.1 >>> >> rip=127.0.0.1??? lport=143??? rport=55140 >>> >> 20180810-083730 auth: Debug: client passdb out: CONT??? 1 >>> >> 20180810-083730 auth: Debug: client in: CONT??? 1 AG1rbQBta20xMjM>>> >> (previous base64 data may contain sensitive data) >>> >> 20180810-083730 auth: Debug: >>> static(mkm,127.0.0.1,<xo1p2BRzZNd/AAAB>): >>> >> lookup >>> >> 20180810-083730 auth: Debug: client passdb out: OK 1 user=mkm >>> >> host=localhost??? nopasswd=y >>> >> 20180810-083730 auth: Debug: master in: REQUEST 4201906177 77432 >>> >> 1??? b8126b4b71be2959fc7716888eccc566 session_pid=77433 >>> >> request_auth_token >>> >> 20180810-083730 auth-worker(77426): Debug: >>> >> passwd(mkm,127.0.0.1,<xo1p2BRzZNd/AAAB>): lookup >>> >> 20180810-083730 auth: Debug: master userdb out: USER 4201906177 >>> >> mkm??? system_groups_user=mkm??? uid=503 gid=20 home=/Users/mkm >>> >> auth_token=4d2bb44168df3d63e4e1bb352e59de632bc7da49 >>> >> 20180810-083730 imap-login: Info: Login: user=<mkm>, method=PLAIN, >>> >> rip=127.0.0.1, lip=127.0.0.1, mpid=77433, secured, >>> >> session=<xo1p2BRzZNd/AAAB> >>> >> 20180810-083730 imap(mkm)<77433><xo1p2BRzZNd/AAAB>: Fatal: >>> >> setgroups(505) failed: Too many extra groups >>> >> >>> >> # doveconf -n >>> >> # 2.3.2.1 (0719df592): /usr/local/etc/dovecot/dovecot.conf >>> >> # OS: Darwin 17.7.0 x86_64 >>> >> # Hostname: pine >>> >> auth_debug = yes >>> >> auth_debug_passwords = yes >>> >> default_internal_user = _dovecot >>> >> default_login_user = _dovenull >>> >> disable_plaintext_auth = no >>> >> listen = 127.0.0.1 >>> >> log_path = /var/log/dovecot >>> >> log_timestamp = "%Y%m%d-%H%M%S " >>> >> mail_debug = yes >>> >> mail_gid = staff >>> >> mail_location = mbox:~/Mail:INBOX=/var/mail/%u >>> >> mail_privileged_group = mail >>> >> mail_uid = _dovecot >>> >> passdb { >>> >>?? ? args = password=*** host=localhost nopasswd=y >>> >>?? ? driver = static >>> >> } >>> >> passdb { >>> >>?? ? args = login >>> >>?? ? driver = pam >>> >> } >>> >> protocols = imap >>> >> service auth { >>> >>?? ? user = root >>> >> } >>> >> service imap-login { >>> >>?? ? inet_listener imap { >>> >>?? ??? address = * >>> >>?? ??? port = 143 >>> >>?? ? } >>> >> } >>> >> ssl = no >>> >> userdb { >>> >>?? ? driver = passwd >>> >> } >>> >> >>> >> >>> >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180810/07684816/attachment-0001.html>