Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37869525
en ru br
Репозитории ALT
S:0.2.5-alt8.20040310
5.1: 0.2.5-alt7.20040310
4.1: 0.2.5-alt5.20040310
4.0: 0.2.5-alt6.20040310
3.0:
+backports:0.2.5-alt0.M30.2.20040310
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: spam_check

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: spam_check-0.2.5-alt-sendmail.patch
Скачать


--- spam_check-0.2.5/spam_check.pl.orig	2006-08-01 14:49:28 +0600
+++ spam_check-0.2.5/spam_check.pl	2006-08-01 15:02:51 +0600
@@ -168,6 +168,13 @@
     use File::Tail;
 }
 
+my $sendmail_format;
+if ($cfg_log_format == 1) {
+    $sendmail_format='ERROR:';
+} else {
+    $sendmail_format='';
+}
+
 my %chk_cache;
 my $db_obj;
 
@@ -515,7 +522,7 @@
 	print BLOCKLIST "$cur_ip:127.0.0.2:$block_info\n";
     } else {
         # "Access file" формат
-        print BLOCKLIST "$cur_ip\t550 $block_info\n";
+        print BLOCKLIST "$cur_ip\t $sendmail_format 550 $block_info\n";
     }
     close(BLOCKLIST);
     return 0;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin