Mailing List Archive

setgroups
4.95 and newer versions are compiling just fine and running smoothly,
but there is no delivery taking place mostly because of permission on
mail folder issue.

Main log show arrival but panic log is another thing.

"2024-01-02 03:36:46 S6M8QQ-000ORR-04 setgroups: Invalid argument"

All mail is stuck in spool folder. I believe this is a Mac issue only.

49323 ---- End of tree ----
49323 recipients_count=1
49323 **** SPOOL_IN - No additional fields
49323 body_linecount=1 message_linecount=38
49323 DSN: set orcpt: flags: 0x0
49323 Delivery address list:
49323 george@---------.com
49323 LOG: PANIC DIE
49323 setgroups: Invalid argument
49323 search_tidyup called


It's beyond my ability to troubleshoot the source at this point.
I would really appreciate if someone with the talent and a mac (intel)
would come to the rescue. I've been using Exim for 10 yrs exclusively on
Macs and I really don't want to end with another MTA.

Thanks very much.



These are the installed versions (4.96)

Compiler: CLang [15.0.0 (clang-1500.1.0.2.5)]
Library version: BDB: Compile: Berkeley DB 4.8.30: (April 9, 2010)
Runtime: Berkeley DB 4.8.30: (April 9, 2010)
Library version: OpenSSL: Compile: OpenSSL 3.2.0 23 Nov 2023
Runtime: OpenSSL 3.2.0 23 Nov 2023
: built on: Thu Nov 23 13:20:19 2023 UTC
Library version: PCRE2: Compile: 10.42
Runtime: 10.42 2022-12-11
Total 10 lookups
Library version: MySQL: Compile: 80200 8.2.0 [mysqld-8.2]
Runtime: 80200 8.2.0

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: setgroups [ In reply to ]
On 1/2/24 16:52, list2--- via Exim-users wrote:
> 4.95 and newer versions are compiling just fine and running smoothly, but there is no delivery taking place mostly because of permission on mail folder issue.
>
> Main log show arrival but panic log is another thing.
>
>     "2024-01-02 03:36:46 S6M8QQ-000ORR-04 setgroups: Invalid argument"

> I would really appreciate if someone with the talent and a mac (intel) would come to the rescue.

We don't have testing coverage on Mac, mainly because none of the developers use one.
Any volunteers would be welcome. Note however that the OS-specific Mac support
(for some, presumably historical reason named "Darwin") was moved to the "unsupported"
directory some time ago.
--
Cheers,
Jeremy


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: setgroups [ In reply to ]
Am 02.01.24 um 17:52 schrieb list2--- via Exim-users:
> 4.95 and newer versions are compiling just fine and running smoothly,
> but there is no delivery taking place mostly because of permission on
> mail folder issue.
>
> Main log show arrival but panic log is another thing.
>
>     "2024-01-02 03:36:46 S6M8QQ-000ORR-04 setgroups: Invalid argument"

Someone had the same issue ~1 year ago:

https://lists.exim.org/lurker/message/20220920.024400.456dd02a.gl.html

you need to follow up the chain to the root topic or just search for

'After upgrade to Exim 4.95 or 4.96: "setgroups: Invalid argument"'

with your favorite searchengine.

In the end a user suggested this a workaround that "may" help:

I use this since at least Mac OS X 10.11, probably longer. Maybe it works also on Snow Leopard:



dscl . -create /Users/exim

dscl . -create /Users/exim UniqueID 90

dscl . -create /Users/exim RealName "Exim user"

dscl . -create /Users/exim PrimaryGroupID 6

dscl . -create /Users/exim PASSWORD "*"



As Jeremy pointed out, there is no active MAC support. A user commented
this with: Apple does more and more to sabotage macos as a server os.

A question came to my mind, if it's not easier to run a normal server
linux in a container to get rid of unsupported code on an unsupported
os. It would stay local on your computer, if thats the idea behind using
a desktop os.

best regards,
Marius


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: setgroups [ In reply to ]
On 2024-01-02 08:52, list2@captainnet.net wrote:
> 4.95 and newer versions are compiling just fine and running smoothly,
> but there is no delivery taking place mostly because of permission on
> mail folder issue.
>
> Main log show arrival but panic log is another thing.
>
> "2024-01-02 03:36:46 S6M8QQ-000ORR-04 setgroups: Invalid argument"
>
> All mail is stuck in spool folder. I believe this is a Mac issue only.
>

After a long time the fix is in... It was permission on the binaries
rather than the mail folder that resulted in no delivery to mail folder.

==> Fixing /usr/local/exim/bin/exicyclog permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exigrep permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exim-4.97.1-2 permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exim_checkaccess permissions from 755 to
555
==> Fixing /usr/local/exim/bin/exim_ctl permissions from 644 to 555
==> Fixing /usr/local/exim/bin/exim_dbmbuild permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exim_dumpdb permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exim_fixdb permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exim_id_update permissions from 755 to
555
==> Fixing /usr/local/exim/bin/exim_lock permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exim_msgdate permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exim_tidydb permissions from 755 to 555
==> Fixing /usr/local/exim/bin/eximstats permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exinext permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exipick permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exiqgrep permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exiqsumm permissions from 755 to 555
==> Fixing /usr/local/exim/bin/exiwhat permissions from 755 to 555

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/