Репозитории ALT
S: | 0.103.8-alt1 |
5.1: | 0.98.1-alt0.M51.1 |
4.1: | 0.97.8-alt0.M41.1 |
+updates: | 0.94.1-alt0.M41.1 |
4.0: | 0.97.8-alt0.M40.1 |
+updates: | 0.91.2-alt1 |
3.0: | 0.86.2-alt1 |
+updates: | 0.91.1-alt0.M30.1 |
+backports: | 0.93.3-alt0.M30.1 |
Другие репозитории
Upstream: | 0.93rc1 |
Группа :: Работа с файлами
Пакет: clamav
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: clamav-milter-20041206-ip-to-log.patch
Скачать
Скачать
--- clamav-milter/clamav-milter.c.orig 2004-12-06 16:50:35 +0400
+++ clamav-milter/clamav-milter.c 2004-12-06 16:53:11 +0400
@@ -2944,7 +2944,10 @@
(void)strcpy(ptr, "\n");
/* Include the sendmail queue ID in the log */
- syslog(LOG_NOTICE, "%s: %s %s", sendmailId, mess, err);
+ if((ptr = smfi_getsymval(ctx, "{_}")) != NULL)
+ syslog(LOG_NOTICE, "%s: clamfi_eom: %s %s %s", sendmailId, mess, ptr, err);
+ else
+ syslog(LOG_NOTICE, "%s: clamfi_eom: %s %s", sendmailId, mess, err);
#ifdef CL_DEBUG
cli_dbgmsg("%s", err);
#endif