Re: [Courier-imap] Hanging authorization on imap server

2021-01-26 Thread Ángel
On 2021-01-26 at 15:58 +0300, Alexey Vlasov wrote: > maildirwatch.c > @@ -29,6 +29,14 @@ > "Timeout initializing the FAM library. Your FAM > library > is broken.\n"; > > write(2, msg, sizeof(msg)-1); > + > +uid_t uid; > +char cmd[255]; > + > +uid = getuid(); >

Re: [Courier-imap] Hanging authorization on imap server

2021-01-26 Thread Sam Varshavchik
Jakob Bohm via Courier-imap writes: On 2021-01-26 14:39, Sam Varshavchik wrote: PICCORO McKAY Lenz writes: This kind of a hacksaw solution to fork off "pkill" is fine for a custom, local hack. But this is not a practical, general solution for a number of reasons. The correct solution is

Re: [Courier-imap] Hanging authorization on imap server

2021-01-26 Thread PICCORO McKAY Lenz
El mar, 26 de ene. de 2021 a la(s) 10:42, Jakob Bohm via Courier-imap (courier-imap@lists.sourceforge.net) escribió: > > On 2021-01-26 14:39, Sam Varshavchik wrote: > > a number of reasons. The correct solution is to determine what's > > broken with gam_server, and fix it. > > > And how is anyone

Re: [Courier-imap] Hanging authorization on imap server

2021-01-26 Thread Jakob Bohm via Courier-imap
On 2021-01-26 14:39, Sam Varshavchik wrote: PICCORO McKAY Lenz writes: El mar, 26 de ene. de 2021 a la(s) 09:00, Alexey Vlasov (m...@renton.name) escribió: > > On Thu, Jan 14, 2021 at 10:52:51PM +0100, Ángel wrote: > > On 2021-01-12 at 18:02 -0500, Sam Varshavchik wrote: > > > It's

Re: [Courier-imap] Hanging authorization on imap server

2021-01-26 Thread Sam Varshavchik
PICCORO McKAY Lenz writes: El mar, 26 de ene. de 2021 a la(s) 09:00, Alexey Vlasov (m...@renton.name) escribió: > > On Thu, Jan 14, 2021 at 10:52:51PM +0100, Ángel wrote: > > On 2021-01-12 at 18:02 -0500, Sam Varshavchik wrote: > > > It's theoretically possible to run "ps" in a subprocess and

Re: [Courier-imap] Hanging authorization on imap server

2021-01-26 Thread PICCORO McKAY Lenz
El mar, 26 de ene. de 2021 a la(s) 09:00, Alexey Vlasov (m...@renton.name) escribió: > > On Thu, Jan 14, 2021 at 10:52:51PM +0100, Ángel wrote: > > On 2021-01-12 at 18:02 -0500, Sam Varshavchik wrote: > > > It's theoretically possible to run "ps" in a subprocess and kill > > > the gam_server

Re: [Courier-imap] Hanging authorization on imap server

2021-01-26 Thread Alexey Vlasov
On Thu, Jan 14, 2021 at 10:52:51PM +0100, Ángel wrote: > On 2021-01-12 at 18:02 -0500, Sam Varshavchik wrote: > > It's theoretically possible to run "ps" in a subprocess and kill > > the gam_server process. That will result in a failed socket > > connection. But that's not going to be reliable,