This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local rspamd_ip = require "rspamd_ip" | |
local rspamd_logger = require "rspamd_logger" | |
local fun = require 'fun' | |
rspamd_config:register_symbol{ | |
name = 'FWD_FETCHMAIL', | |
type = 'prefilter', | |
weight = 0.0, | |
callback = function(task) | |
-- Fetchmails runs on localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
echo "Checking github.com for most recent Gitea release..." | |
GITHUB=$(curl -s -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/go-gitea/gitea/releases/latest) | |
GITEA_DIR=/opt/gitea | |
TAG_NAME=$(echo $GITHUB | jq -r '[.tag_name] | first') | |
VERSION=${TAG_NAME:1} |