This file contains hidden or 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/sh | |
USER="[email protected]" | |
FOLDER_PREFIX="train_" | |
FOLDER_HAM="${FOLDER_PREFIX}ham" | |
FOLDER_PROB="${FOLDER_PREFIX}prob" | |
FOLDER_SPAM="${FOLDER_PREFIX}spam" | |
DOVEADM="/usr/local/bin/doveadm" | |
RSPAMADM="/usr/local/bin/rspamadm" | |
RSPAMC_CONNECT="-h localhost:11334" # rspamc (--connect|-h) option |
This file contains hidden or 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
<!--Rspamd filter stats graph--> | |
<RRD::GRAPH | |
<RRD::GETVAR TITLE_PREFIX>_<RRD::GETVAR TITLE_SUFFIX>.png | |
--font DEFAULT:0:Vera | |
--font-render-mode mono | |
--start <RRD::GETVAR START> --end now | |
--title="Rspamd throughput by <RRD::GETVAR TITLE_SUFFIX>, msg/min" | |
--height=120 | |
--width=720 |
This file contains hidden or 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
#!/usr/local/bin/perl -w | |
#============================================================= -*-perl-*- | |
# courier-imap_postfix_last-login.pl | |
#======================================================================== | |
# Version 0.0.1, 2015-06-04 | |
#======================================================================== | |
# Parsing is possible only for one year at time due to syslog date/time format limitation. | |
# The current year is hardcoded in the script. |
This file contains hidden or 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
--- ./lib/BackupPC/CGI/Lib.pm.orig 2015-04-30 16:04:21.000000000 +0300 | |
+++ ./lib/BackupPC/CGI/Lib.pm 2015-04-30 17:04:54.000000000 +0300 | |
@@ -289,7 +289,12 @@ | |
Trailer(); | |
} else { | |
my $content = eval("qq{$Lang->{Error____head}}"); | |
- Header(eval("qq{$Lang->{Error}}"), $content); | |
+ Header( | |
+ eval("qq{$Lang->{Error}}"), | |
+ $content, |
This file contains hidden or 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
#!/usr/bin/perl | |
#============================================================= -*-perl-*- | |
# Simple test of BackupPC_dump subroutines: | |
# BackupExpire and BackupFullExpire. | |
#======================================================================== | |
# | |
# AUTHOR | |
# Alexander Moisseev <[email protected]> | |
# | |
# COPYRIGHT |
NewerOlder