Hello again Andrew,
Thanks for the new patch. Sorry to hear about the family emergency. I hope it will turn out well.
After applying your second patch, I get a slightly different error message (I think this is the last line I put in into the file priv.c).
sh-3.2# /usr/local/exim/bin/exim -q
2022-09-22 14:39:42.331 [21537] RIKJJJ-0005NK-2O getdegid() 0 != 6
Best regards
Lasse
Från: Andrew C Aitchison <exim@???>
Datum: torsdag 22 september 2022 13:55
Till: <exim-users@???>, Lasse Törngren <lasse.torngren@???>
Ämne: Re: [exim] After upgrade to Exim 4.95 or 4.96: "setgroups: Invalid argument"
On Thu, 22 Sep 2022, Lasse Törngren via Exim-users wrote:
Hello Andrew,
Thank you for your feedback, your commitment and the patch. When
applying your patch, the compilation gets through without any
error. After rebooting and trying this version of Exim 4.96 I get a
new error though:
It should not be necessary to reboot; quitting all running exim processes
and restarting any daemons (server processes) will be sufficient.
sh-3.2# /usr/local/exim/bin/exim -q
Ah. If exim -q is sufficient, you may not even need to to stop
existing exim processes.
2022-09-22 12:10:08.181 [683] RIKJJJ-0005NK-2O getdegid() != 6
... ...
To get my configuration working (with spam and malware control) both
“_clamav” user and “Exim” user belongs to the group “mail” which has
the group id of 6. I have also tested to create a new specific group
for them, but that give the same error.
Do you have any ideas on the new error?
Can you try the new patch (exim-4.96.forMac.patch2) ?
I am hoping this will provide a small clue.
Sorry this is baby-steps.
I can put my hands on a Mac but it is not set up for development
and I have not used one for about five years.
Plus I have family emergency, so don't know when I will be able to
more than these baby steps.
--
Andrew C. Aitchison Kendal, UK
andrew@???