search for: luarock

Displaying 7 results from an estimated 7 matches for "luarock".

Did you mean: larock
2019 May 14
2
weakforced and GeoIP lookups
...n Ubuntu for example. Neil >> Hi list >> >> hope it's okay to ask weakforced questions here as well, but I could not >> find a dedicated mailinglist for wforce. >> >> I want to enable GeoIP lookups in my wforce daemon. In a first step I >> installed luarocks and lua-compat53 to install mmdblua module. >> Then I added >> >> newGeoIP2DB("country", "/usr/local/share/GeoIP/GeoLite2-Country.mmdb") >> local mygeodb = getGeoIP2DB("country") >> if(mygeodb:lookupCountry(lt.remote) == 'XX') &g...
2019 May 14
2
weakforced and GeoIP lookups
...t;>>> >>>> hope it's okay to ask weakforced questions here as well, but I could not >>>> find a dedicated mailinglist for wforce. >>>> >>>> I want to enable GeoIP lookups in my wforce daemon. In a first step I >>>> installed luarocks and lua-compat53 to install mmdblua module. >>>> Then I added >>>> >>>> newGeoIP2DB("country", "/usr/local/share/GeoIP/GeoLite2-Country.mmdb") >>>> local mygeodb = getGeoIP2DB("country") >>>> if(mygeodb:look...
2019 May 14
0
weakforced and GeoIP lookups
Hi list hope it's okay to ask weakforced questions here as well, but I could not find a dedicated mailinglist for wforce. I want to enable GeoIP lookups in my wforce daemon. In a first step I installed luarocks and lua-compat53 to install mmdblua module. Then I added newGeoIP2DB("country", "/usr/local/share/GeoIP/GeoLite2-Country.mmdb") local mygeodb = getGeoIP2DB("country") if(mygeodb:lookupCountry(lt.remote) == 'XX') then return -1, "country blocked",...
2019 May 14
0
weakforced and GeoIP lookups
...; >>> Hi list >>> >>> hope it's okay to ask weakforced questions here as well, but I could not >>> find a dedicated mailinglist for wforce. >>> >>> I want to enable GeoIP lookups in my wforce daemon. In a first step I >>> installed luarocks and lua-compat53 to install mmdblua module. >>> Then I added >>> >>> newGeoIP2DB("country", "/usr/local/share/GeoIP/GeoLite2-Country.mmdb") >>> local mygeodb = getGeoIP2DB("country") >>> if(mygeodb:lookupCountry(lt.remote)...
2020 Aug 03
3
How to access mailbox metadata in Lua push driver
...dovecot-push.lua -- push_lua_url = http://push.notification.server/handler -- } -- -- server is sent a PUT message with JSON body like push_notification_driver = ox:url=<push_lua_url> user_from_metadata -- local http = require "socket.http" local ltn12 = require "ltn12" -- luarocks install json-lua local json = require "JSON" function table_get(t, k, d) return t[k] or d end function script_init() return 0 end function dovecot_lua_notify_begin_txn(user) local meta = user:metadata_get("/private/vendor/vendor.dovecot/http-notify") return {user=us...
2020 Aug 03
2
How to access mailbox metadata in Lua push driver
Thanks Aki, I'll check it out :) Am 03.08.20 um 11:40 schrieb Aki Tuomi: >> On 03/08/2020 12:31 Ralf Becker <rb at egroupware.org> wrote: >> >> >> We're currently using the OX push driver, which is straight forward >> (simple web hook) and allows to store (multiple) push tokens of our >> webmailer direct in mailbox metadata. >> >>
2013 Apr 18
0
Processed: adding new jessie tag to sid-tagged bugs
...86053 to the same tags previously set > tags 701447 + jessie Bug #701447 [src:zfs-fuse] zfs-fuse: ftbfs with eglibc-2.17 Added tag(s) jessie. > tags 701176 + jessie Bug #701176 [linbox] linbox: FTBFS: GIVARO >= 3.2.10... not found Added tag(s) jessie. > tags 605786 + jessie Bug #605786 [luarocks] luarocks: problems when upgrade to squeeze Added tag(s) jessie. > tags 701377 + jessie Bug #701377 [src:boost1.49] boost1.49: ftbfs with GCC-4.8 Bug #703980 [src:boost1.49] /usr/include/time.h: defining TIME_UTC conflicts with boost/thread/xtime.hpp enum Ignoring request to alter tags of bug #...