On Fri, Jan 27, 2017 at 11:46:26AM +0100, Michael Meskes wrote:
> On Wed, Jan 25, 2017 at 10:48:43PM +0100, Mathieu Parent wrote:
> The patch does not seem to work. I just installed
> lua-socket_3.0~rc1+git+ac3201d-3_amd64.deb manually, re-started
> prosody and got 'luasocket was not compiled with UNIX sockets support'
> again.

Could you please confirm you are on lua 5.2?

I've the impression that line 29 of sasl_dovecott is 5.1 only, i.e.
is expects `pcall(require, "socket.unix");` to inject socket.unix into
the global namespace.

IMO such line should be replaced by

  local _, unix = pcall(require, "socket.unix");
  socket.unix = unix;

Best,
-- 
Enrico Tassi

Reply via email to